The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
43 views

Why do I need a certificate to create my own other self-signed certificate

In the last few days I was trying to understand the story of certificates, and I understood the main principle of them, but I didn't understand that step when we create a CA cert to sign my own server ...
1
vote
1answer
17 views

Can I use the same key for SSH from different clients with the same username?

Situation: One server with SSH daemon. Multiple clients with the user myUser which should connect to the server via SSH. With password based authentication everything is fine. Now I would like to ...
2
votes
1answer
26 views

How to extract public key from attestation certificate to use it for signature verification?

I want to extract the public key from a certificate to verify a given signature (to answer my own question in relation to the registration part). I've tried openssl x509 -in certificate.pem -pubkey ...
1
vote
1answer
22 views

Can I use GnuPG connect to PGP public key servers?

I use gpg 1.4.19 on Windows. Can I communicate with the server directly from the command line? I tried this many things, but nothing worked: Tried: >gpg --keyserver hkp://pgp.mit.edu ...
0
votes
0answers
23 views

SSH asks for passphrase for some keys despite being added to agent

I have two servers where I connect using SSH public key authentication, with different keys. The configuration looks like this: Host server1 IdentityFile /path/to/key IdentitiesOnly yes Host ...
0
votes
0answers
43 views

How to verify downloads by GPG4Win

In particular, I am installing Gentoo Linux following this manual up to this point: Verifying the downloaded files Through the .DIGESTS and .DIGESTS.asc files, the validity of the ISO file ...
1
vote
1answer
120 views

Generate RSA2 key in OpenSSH format [duplicate]

I have to generate a key, RSA v2 in OpenSSH format. I am a bit confused. I am trying to generate it using Putty Key Generator. There I see an option SSH2-RSA, SSH1-RSA. So is SSH2-RSA the RSA2 key or ...
0
votes
2answers
34 views

How to import OpenPGP key given the key ID in GnuPG?

I'm having a heck of a time installing a Debian Chroot for PPC64. The problem is not debootstrap, rather, its getting GnuPG to locate and install the key I need. The man pages for gpg are fairly ...
0
votes
1answer
44 views

Outlook 2013 - Get own public key

I'm using Microsoft Outlook 2013 and have set up encryption/signing correctly. Unfortunately I've lost my public key and would like to know how I can get it again using outlook (Note: I still have my ...
2
votes
1answer
100 views

How GPG generates an MD5 fingerprint given a public key?

I have the following GPG public key stored inside a file called publickey.pub and encoded in ASCII Armor (Radix-64): -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia ...
0
votes
1answer
21 views

openssl smime message signing: why do I need a -certfile key?

Here is how one should sign a message with openssl smime? according to the docs openssl smime -sign -in in.txt -text -out mail.msg -signer mycert.pem \ -inkey mykey.pem -certfile mycerts.pem But ...
0
votes
1answer
22 views

What key will ssh client use if there is no .ssh/id_rsa* in my home folder?

When connecting to a host that expects key authentication, which key (if any) will be tried if there is no key found under the path ~/.ssh/id_rsa* when using ssh client from commandline in linux?
0
votes
0answers
24 views

How can I install cryptoverif on Win7?

I want to use cryptoverif software and downloaded it from http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/cryptoverifbin.html but I can't install on my system (Windows 7 – 64 bit). How ...
1
vote
0answers
37 views

Launchpad says I don't have an SSH key, but I do

I keep trying to push to launchpad (or even connect via SSH), I keep getting an error: Launchpad user 'tay' doesn't have a registered SSH key Permission denied (publickey). Thing is, I DO have a ...
0
votes
0answers
73 views

ssh connection with only public key on ubuntu

I'm trying to connect on ssh with only public_key on my localhost session. But that's return: Permission denied (publickey). ssh -v user@127.0.0.1 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar ...
2
votes
2answers
46 views

Receiving a key from a keyserver in gnupg

How does one receive a key from a keyserver in gnupg? I have tried typing $ gnupg rec-keys "the key" Error given was, usage: gpg [options] [filename] I have also entered just rec-keys "the key" Error ...
1
vote
1answer
1k views

There is no public key available for the following key IDs: 7638D0442B90D010

I try to add the debian sid source on ubuntu 12.04 LTS. I have already installed debian-keyring debian-archive-keyring. $ apt-cache search keyring | grep debian debian-archive-keyring - GnuPG archive ...
0
votes
0answers
30 views

Best practise using ssh: Multiple Public Keys or sharing a private key (solved) [duplicate]

I just thought I get your opinion on the security aspect of it. I want to access different server via ssh. Nothing really important, just a hobby, but I do have multiple computers. Now, about the ssh ...
1
vote
2answers
6k views

Permission denied (publickey,password)

I am trying to connect to local ip via SSH from terminal. Command is ssh -v user@192.168.0.2 But it is not connecting. Keeps giving me the error "Permission denied (publickey,password)." I have ...
1
vote
1answer
661 views

FileZilla public key not working (Successfully loaded 0 key pairs from file)

I currently have troubles logging in with a public key using FileZilla. Neither the root user, not an other user accept the key. Now the strange thing is when using putty it is working without any ...
0
votes
0answers
63 views

libssh2 library's method libssh2_userauth_publickey_fromfile() returns -18

I am using libssh2 library. To ssh with key to my server I am using key (RSA) authentication. But libssh2_userauth_publickey_fromfile(session, username, publickey, \ privatekey, passphrase) Above ...
3
votes
1answer
44 views

How to generate the revocation certificate after being made a revoker with GnuPG

I read the "How should GnuPG's `--desig-revoke` command be used?" question/answer, so now I know when to use the --desig-revoke. So, I have two different private keys -- one at work (WORKWORK), ...
0
votes
0answers
364 views

SSH Keys with Codeanywhere and Bitbucket

Maybe I am understanding the concept wrong, but I am not able to find an answer on google, or the respective websites from the question. I have a multiple private git repositories that are hosted on ...
3
votes
2answers
10k views

No supported authentication methods available in FileZilla

I'm using FileZilla to connect to my SFTP server. But when I'm trying to connect, it gives me this error Error: Disconnected: No supported authentication methods available (server sent: ...
0
votes
1answer
1k views

LFTP: SSH with private and public keys

I'm using LFTP in order to mirror SFTP server folder with local folder. But currently I'd be glad to correctly connect to SFTP server and list contents... I'm using Windows 7, and I've downloaded ...
0
votes
1answer
24 views

Is is possible to use ssh-copy-id without server password logging enabled

I wish to add a new public key to my servers authorized_keys file. Is it possible to add a new public key without enabling password authentication for ssh-copy-id?
1
vote
0answers
830 views

SSH authentication fails when trying to access Bitbucket from Jenkins

I'm trying to currently set up a Jenkins CI-server in Azure that pulls the project from Bitbucket and runs the tests. CI-server is running Ubuntu 14.10. I got the server running, and I generated ...
0
votes
1answer
167 views

Verify signed file using GPG by passing in signature hosted online rather than stored locally (i.e. in keyring)?

Is it possible to pass the URL of a GnuPG signature when executing a verify query against a signed file? For example, instead of: gpg --verify file.txt Is there a variation of something like: gpg ...
2
votes
2answers
142 views

How should GnuPG's `--desig-revoke` command be used?

How should the GnuPG command --desig-revoke be used, and in which cases should you use it? According to the manual: --desig-revoke name Generate a designated revocation certificate for a key. ...
2
votes
1answer
394 views

GnuPG / OpenGPG: Recovering public key from private key

I know that the public SSH key can be recovered from the private using ssh-keygen -y. How can a (deleted) public key be recovered from the private key in GPG (preferably in a way that is OpenGPG ...
0
votes
1answer
185 views

Unable to use “transient-key” when generating a batch GPG key

I'm generating a few test keys, but I can't seem to use the %no-protection and %transient-key flags. I get the following message: $ cat dwight | gpg --homedir "dwight-keys" --gen-key --batch gpg: ...
0
votes
1answer
317 views

PGP Public Key expiration GPG

I'm in the process of importing a public key from a business partner. We have always use GPG and never had a problem. I’m importing this key using: gpg --import "FileName.asc" gpg: key AC260214: ...
0
votes
1answer
91 views

How to update PGP public key after new uid is added?

I have a PGP keypair to which I just added a new uid. Is the previously exported public key and private key still valid? If I export a new public key with armor, it does look different and longer ...
0
votes
1answer
33 views

ssh get old public key from backed up private key

I backed up and encrypted my private key but nothing else. I am trying to get my public key out of it but don't know how. I am trying ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub but it says ...
2
votes
2answers
140 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
2
votes
1answer
178 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
2
votes
1answer
1k views

How to ASCII-armor my public key without installing GPG?

I would like to upload my public key to a key server, but I already have my key infrastructure in place without GPG and I don't want to install extra software I don't need. Is there an easy way to ...
2
votes
1answer
184 views

SSL failure fallback

I've successfully configured my Apache webserver to make use of public certificates as an authentication method, using following configuration: SSLVerifyClient require SSLVerifyDepth 1 ...
0
votes
2answers
4k views

Login with SSH public key doesn't work

So I have my home computer, and my server. I'm trying to login to my server with my private key. On my server say I have the user serveruser, to which I login from my home computer using ssh -Y ...
6
votes
4answers
9k views

Can't import public key into OSX Keychain

I created a couple of self-signed S/MIME certificates (using OSX Keychain & OpenSSL) and then exported these into 3 files: Certificate (.cer) Private Key (.p12) Public Key (.pem) When ...
1
vote
2answers
6k views

How to Debug Public Key SSH Authentication Failure

I'm trying to setup password-less SSH login, and I can't seem to make it work. Here is what I have done so far: Used ssh-keygen -t rsa to generate a pair of keys Created ~/.ssh/authorized_keys on ...
10
votes
3answers
1k views

Human-readable dump of gpg public key

Is there some tool to write out the actual content of a GnuPG public key in a way a human can unserstand? I mean not only ascii-armor which a human can read and type, but something which really breaks ...
0
votes
1answer
256 views

Can port number get masked like IP?

I have one IP address which looks like this 10.0.0.1:9095 and as far as I know HTTP can only use port 80. How is this masked URL working?
0
votes
2answers
180 views

SSH ignores -i switch

When I try to connect to my hosting company through SSH, using a non-default identity file, it successfully connects, but uses the default key. Here is the command I use: ssh -vvv -i ~/.ssh/backup ...
2
votes
2answers
279 views

SSH auth by public key not working for one user on a system

I can't setup public key authentication for one particular user on a system. I checked user home and .ssh directories permissions, and it's good (drwx------. both, the same as for other users that can ...
1
vote
1answer
34 views

How do I get the 16-byte representation of my GitHub public key from my .pub file?

In my GitHub settings, it lists my public keys as 16-byte hexadecimal: 01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF Sadly, GitHub for Windows is buggy and keeps making me new ...
7
votes
4answers
21k views

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 command returns error

I'm trying to install Mongodb on Ubuntu 12 but when I run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 This returned the error below: keyserver.ubuntu.com host ...
1
vote
2answers
438 views

Copying files over ssh without password

My supervisor has given me remote access to his computer by logging in through ssh on my local computer. Although I am connected (and can view any files I wish through vi, emacs), how can I copy ...
0
votes
1answer
252 views

Restoring OpenPGP Keys from an Ubuntu Backup

My computer with Ubuntu broke and have a backup from that (Déjá Dup). Now i want to restore my public and private keys to a Thunderbird installation in Windows 8. There's this .ssh folder inside the ...
4
votes
2answers
2k views

SSH: known host with dynamic address

I need to connect to a host with a dynamic IP address. Every time its IP changes, SSH prompts me the fingerprint validation thing: The authenticity of host '...' can't be established. RSA key ...