Public-key cryptography (encryption is a misnomer) is the process of creating two keys during the encryption of plain text, one private and one public.

learn more… | top users | synonyms

1
vote
1answer
37 views

Why am I prompted for a password when using SSH to connect to another server?

I installed a fresh copy of CentOS 6.4 on two boxes, and Im trying to setup password-less SSH from server1 to server2. On server 1, I generated a key with ssh-keygen, transferred it to server2, put ...
2
votes
1answer
38 views

Setting up sshd_config in cygwin for AES encrypted file transfer

I'm a bit newer to cygwin and sshd, and I want to configure sshd to allow encrypted SFTP file transferring. From what I understand, I need to find some sort of sshd_config example (which for some ...
0
votes
1answer
28 views

Can I change the filename of my ssh public/private key pair?

I created a public/private key pair: ssh-keygen -t rsa -C "me@example.com" I gave a different key file name than id_rsa since I wanted to create a new separate key from my normal identity. I gave ...
0
votes
0answers
59 views

How do you configure the Bitvise ssh server to require certificate authentication?

I'm running the latest version of the Bitvise SSH server and would like to require certificate authentication for all connecting clients. I generated certificates on the client-side and have imported ...
0
votes
2answers
37 views

GPG4WIN Keys and Transferring them

I have installed www.gpg4win.org and have generated a keys that will allow me to both sign and encrypt files. On windows it uses the (KDE) / Kleopatra Certificate Manager - Version 2.1.0. What is the ...
6
votes
2answers
239 views

Isn't it dangerous to use SSH keys to login to an unknown/compromised server?

Say I provide someone with my public SSH key, the id_rsa.pub and he/she installs it on a server that is compromised, and I am asked to login. Does the login process involve sending my private key to ...
1
vote
0answers
38 views

How can I allow a user to connect to my OpenVPN by knowing their public key?

Given the public key of a remote user, I would like to run OpenVPN and allow that user to connect to my network. I only need to be connected to one remote machine at a time. The options outlined in ...
1
vote
1answer
56 views

SSH rsa key works with external IP not internal IP

I am using rackspace cloud hosting. I have 2 servers behind a load balancer. Each server has an external IP and an internal IP. I want to setup a sync job that uses SSH to transfer files. I made ...
0
votes
1answer
65 views

Does the right half of the rsa public key matter?

In a public key file "id_rsa.pub" generated by ssh-keygen, does the part after the == matter? I ask because when I changed "root@somedomain.com" to "root", it seems to still work. More generally, I ...
0
votes
1answer
404 views

gpg: import failure key xxxxxxxx: no valid user IDs

i am getting this error while importing a public key on gpg (GnuPG) 1.4.2 gpg: armor header: Version: GnuPG v2.0.14 (GNU/Linux) gpg: pub xxxxx/xxxxxxxx 2012-05-25 abcd xyz <email@address.com> ...
2
votes
2answers
55 views

how to verify the trust path to a gpg key?

I want to check whether the gpg key used by Julien Danjou for his emacs snapshot repository can be trusted. There are many trust paths from my key to Juliens key. But I can't believe that there ...
0
votes
1answer
89 views

How to embed an ASCII logo into an ASCII-armored RSA key?

The cryptoparty site publishes an RSA key with an ASCII art logo embedded in it. Is there a way to put arbitrary characters in an ASCII-armored RSA key? From https://github.com/cryptoparty/handbook ...
20
votes
4answers
7k views

How can I use encryption with Gmail?

I'm currently reading Cory Doctorow's novel Little Brother which includes a part about encrypted messaging, and even wrapping messages first in my private key and then your public key. I'd like to ...
0
votes
0answers
50 views

ECDH in OpenVPN

Does any one know if it is possible to use ECDH in OpenVPN? If yes, how? Or just how to create ECDH keys without writing C code in linux?
3
votes
2answers
192 views

Is it possible/good practice to use same private key for two servers for passwordless login from the same workstation/localserver?

I have two websites one is clone of the other. When I checked the sshd_config file in both the sites they are exactly similar, except one uses authorized_keys as the identification and the other uses ...
0
votes
1answer
443 views

Using Windows 7, is there any way to create a self-signed public/private key pair for email?

Is there any way for me to create my own certificate pair? I don't see why I would need a trusted CA for email purposes. I'd rather a cert than using GPG or something of the like.
0
votes
2answers
79 views

Is there a user friendly desktop software that encrypts given text using PGP or GPG? [closed]

I was searching for a simple software that encrypts given text using either PGP or GPG. The alternatives I have found so far are very complicated and hard to operate. Are there any encryption ...
0
votes
1answer
52 views

setup ssh private/public keys

I have done the following: ssh-keygen Then put the contents of the id_rsa.pub into the remote ~/.ssh/authorized_keys file. I thought that should do it. But it still prompts for a password. Not the ...
15
votes
4answers
4k views

How does SSH encryption work?

I've read about generating 2 keys (private and public) on client host and copying the public key to the server host. As I understand it, (correct me if i'm wrong): The server encrypts data with the ...
3
votes
1answer
2k views

How to setup ssh, key-based (“password-less”) logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients?

How does one setup ssh, key-based ("password-less") client logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients? [Seeking both basic, conceptual understanding of key-based, ...
2
votes
1answer
79 views

Does Key based authentication replace or rather supplement password authentication?

Is SSH key based authentication something that happens to replace password authentication or does it supplement password authentication?
1
vote
1answer
869 views

How does gpg handle multiple keys in a keypair?

As I understand it, keypairs used with gpg generally have more than one associated key: one for signing and one for encryption. How are these multiple keys managed when using gpg (to push to a ...
3
votes
1answer
89 views

When I encrypt a message with my public key, can I read it with the same public key?

On a process that is using asymmetric encryption(such as ssh), when I want to send a message to someone using my public key, can I decrypt and read this message with my public key (the same that I ...
3
votes
2answers
5k views

sftp and public keys

I am trying to sftp into an a server hosted by someone else. To make sure this worked I did the standard sftp user@sftp.xxxxxx.com i was promted with the password and that worked fine. I am setting ...
11
votes
2answers
1k views

How, if at all, do SSH keys differ from asymmetric keys used for other purposes?

How, if at all, do SSH keys differ from asymmetric keys used for other purposes, e.g. email signing? I'm prompted to ask this, in part, because on OS X, there are apps available to manage SSH keys ...
0
votes
1answer
293 views

Encrypt tar file asymmetrically

I want to achieve something like tar -c directory | openssl foo > encrypted_tarfile.dat I need the openssl tool to use public key encryption. I found an earlier question about symmetric ...
1
vote
1answer
59 views

Creating encrypted database for work

My boss posed this problem to me: Encrypted: We need an encrypted database for miscellanious passwords we use at work that are currently only in people's head. Easily accessable: Someone needs to be ...
4
votes
2answers
177 views

How can I get a new / non-technical user to verify my GnuPG / PGP signed email?

I'm looking for a web front-end or some easy way to get a user who's never been exposed to cryptography / digital signatures etc. to simply copy/paste my GPG signed (not encrypted) email and specify ...
4
votes
5answers
3k views

How to generate a public/private key (UNIX)

Can some one please tell me, for using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?