The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
13 views

Using OpenSSL library to convert .key encoded to .pem

I created a C program that takes in an encrypted file (encrypted.key) file and a public key to decrypt the private encrypted encrypted.key. However, my program only works when taking in two files that ...
0
votes
0answers
10 views

Getting “rpm: -–import: unknown option” when tryihng to import public key on Amazon Linux

I’m tryhing to install Google Chrome on Amazon Linux using this site — , and one of the steps is [davea@mydevbox ~]$ sudo rpm -–import linux_signing_key.pub Unfortunately, when I try this, I get ...
0
votes
0answers
14 views

public key authentication not working with “ssh/sftp Daemon” on android

I can sftp to my android device using password. However i can not set up this using public key auth. $ ssh -vvv root@192.168.1.10 SSHD Server debug1: Authentications that can continue: ...
0
votes
3answers
47 views

Who generates the keys?

I think I know the answer, but I'll ask anyway... I'm being given access to a remote server with SSH access. Who should generate the private/public key pair? My understanding is that I should ...
1
vote
1answer
36 views

How does Pageant work when it has multiple keys loaded?

I'm trying to be organized with my work with servers and so with ssh keys but it seems to be impossible. So I'm thinking to move from Pageant to Serveauditor which is used by the CERN too. But before ...
0
votes
1answer
10 views

Best way to signal no longer used (lost) key

I have an old PGP key for which I don't have the secret anymore, nor the revocation certificate, and when I created the key I did it without expiration date. So I know, I have to move on, and so I ...
1
vote
2answers
28 views

Can PGP messages be verified with just the fingerprint of the public key?

What is the difference between sharing a public key and sharing just its 40-digit fingerprint? The public key is very long, so if I wanted someone to be able to verify my messages, could I just mail ...
0
votes
1answer
67 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
25 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
100 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
39 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
29 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
74 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
366 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
58 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
79 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
186 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
33 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
24 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
26 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
52 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
93 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
65 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 ...
2
votes
1answer
2k 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
32 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
10k 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
820 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 ...
3
votes
1answer
62 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), ...
3
votes
2answers
13k 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
2k 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
25 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
967 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
238 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
165 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
2answers
560 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
209 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
398 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
106 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
34 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
146 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
184 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 ...
3
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
211 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 ...
8
votes
4answers
11k 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
7k 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 ...
11
votes
3answers
2k 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
283 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
200 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
302 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 ...