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

0
votes
0answers
9 views

Can I use my SSH key pair instead of GPG for Thunderbird and Enigmail? [duplicate]

Is it possible to use the same key pair I use with Putty for SSH to AWS and all my other servers? I’m trying to setup Enigmail on Thunderbird right now. The guides tell me to use GPG, but I can’t ...
0
votes
0answers
50 views

How to sniff passwords remembered by applications?

Suppose someone forgets their password for a web application such as gmail, facebook or some other application installed on the system such as skype, but the web browser or skype still remembers the ...
0
votes
1answer
9 views

After Updating to SHA2, private and public doesn't match

I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key. Public key has changed after updating and it doesn't match to previous private key. ...
0
votes
0answers
4 views

Is it safe to use the same RSA key pair at the sender and the recipient?

Most questions on the internet are about using the same certificate on multiple clients, what about using the same certificate between two servers communicating with each other for example? Would that ...
0
votes
2answers
37 views

How to get GPG working with Outlook 2013?

My OS is Windows 8.1 Update 1 x64. I have Outlook 2013 and just installed GPG4Win (latest, 2.2.2, full version). When I now launch Outlook 2013, I still don't see any UI/options to setup certificates ...
0
votes
1answer
15 views

Import public key (plain text) into Outlook 2010

I have a public key: -----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK----- Is there any possibility to use this public key in Outlook 2010, without any add-ins? I know about ...
0
votes
1answer
69 views

Can you extend the expiration date of an already expired GPG key?

Lets say I add an expiration date to a GPG/PGP key, then for some reason am unable to extend the expiration date of the key before its time is up. Assuming I still have access to the private key (and ...
0
votes
2answers
100 views

Can a client server host multiple private ssh key for same profile?

I have a client who is using Tectia Client to connect to our UAT. They created a ssh pair and imported the private key to the profile they are using to connect,and passed us the public key. Now we ...
5
votes
1answer
231 views

Is uploading your openssh public key to ~/.ssh/ for a given user safe?

I like to upload my public key (eg: ~/.ssh/id_rsa.pub) to various servers that I connect to on various networks for work. I use this same public key on Github. If I am on a shared user account and I ...
2
votes
0answers
76 views

Is there a tool like dm-crypt/luks using RSA encryption?

Is there a library/tool available for linux, similar to dm-crypt/LUKS using RSA encryption instead of symmetric ciphers? I want the "public side" to only be able to create these volumes, and the ...
0
votes
2answers
86 views

Is there a way to revoke a GPG encryption key?

OK, so as I understand it, the key revocation mechanism is used to revoke a signing key in your web of trust: so you say to other GPG users that your previously-used identity has been compromised, and ...
0
votes
1answer
362 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 ...
0
votes
1answer
216 views

Errors generating gpg keypair

I posted this originally on stackoverflow, but was told that it was offtopic and this would be the better place to post it, so I am reposting it here and deleting my original topic. I have a rather ...
0
votes
0answers
59 views

why does public key used to authenticate ssh seem to expire after a while?

I want to ssh from client to server without a password, so I append client's public key to server's authorized_keys. While previously I needed a password, immediately after I do the above, I don't ...
0
votes
1answer
442 views

What is the role of cakey.pem and cacert.pem in addition to .key and .crt based encryption

I have .key file which holds the private key data, .crt file which would be certificate with public key and, to my knowledge, that's it for public key encryption, right? Not exactly. In order to ...
1
vote
1answer
36 views

OpenSSH client refuses to use a new key file

After generating a new ssh private key (id_rsa) on one server and distributing it across a server network, one server is failing to use the new key, and falls back to password authentication instead. ...
1
vote
2answers
1k views

Configuring Public Key Authentication with SSHD under Cygwin

I am trying to configure SSHD to allow public key authentication under Cygwin on Windows Server 2012. Currently my problem is access being denied. I have confirmed that my public key is saved as a ...
1
vote
2answers
180 views

How do you create an AES XTS key?

I am interested in hacking around with Gluster cloud FS whose most recent beta uses AES with XTS only. It also requires openssl >= 1.0.1. The 1.0.1f Jan 2014 openssl (with 64 bit lib) install for my ...
0
votes
1answer
39 views

Why would one want to tag the computer where a key pair was made in a public key?

While trying to give an host a bit more of security, i decided to switch to SSH key's authentication. To do so i followed this guide, but something makes no sense in my mind. While the host is the ...
7
votes
3answers
325 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 ...
2
votes
0answers
137 views

How to decrypt a message sent via Pidgin-Encryption?

A friend sent me an offline Google Talk message that was encrypted via Pidgin-Encryption. It didn't appear in my Pidgin logs because I wasn't logged in when it was sent, but I do have the encrypted ...
1
vote
1answer
52 views

Finding sshd log file

I'm experiencing some problems with SSHD on my server. I'm trying to set up passwordless (pub/pv keys) authentication. It worked for my other servers, but not for this one. The SSHD agent adds my ...
0
votes
0answers
62 views

SSH keys cached remotely?

I wanted to install a new public key on a remote server. I created a keypair using ssh-keygen -t rsa on my Macbook, then added its public key to authorized_keys on the remote server. It is the only ...
2
votes
2answers
372 views

SSH Using Wrong ID

I am trying to establish password-less ssh to myself on a CentOS6 system. I go through the following steps: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ...
7
votes
3answers
2k views

Why does GPG/PGP by default use different keys for signing/encryption?

If you create a new GPG key, you'll by default get a signing-only master key pair and an encryption-only sub-key pair. pub 2048R/XXXXXXXX created: 2013-02-09 expires: 2014-02-09 usage: SC sec ...
0
votes
1answer
199 views

How to show (for copy&paste) a secret GPG/PGP key without creating a file

I need to access my secret GPG/PGP key to copy/paste it into another application. How do I show my secret key without generating too much traces of it? I only know of the export command to gpg (or ...
1
vote
1answer
267 views

Signature Verification using OpenSSL

I have been experimenting with OpenSSL and OpenSSH and I have been unable to sign and verify using RSA key pairs. I did the following Generated key pairs: $ ssh-genkey -b 2048 -t rsa ...
5
votes
1answer
1k views

How can I use GnuPG with ECDSA keys?

I'd like to generate an ECDSA (rather than RSA, DSA, or ElGamal) key using GnuPG, and use it as I might otherwise use an OpenPGP-compatible master key. I've read that gpg2has support for ECDSA keys, ...
2
votes
1answer
130 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 ...
3
votes
1answer
932 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 ...
4
votes
1answer
2k 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
2answers
431 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 ...
7
votes
2answers
766 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 ...
2
votes
0answers
67 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
153 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 ...
3
votes
1answer
3k 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 ...
1
vote
1answer
854 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
558 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
243 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 ...
84
votes
7answers
50k 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
1answer
863 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
225 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
73 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 ...
27
votes
5answers
17k 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 ...
4
votes
1answer
4k 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
96 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
2k 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 ...
4
votes
1answer
163 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
11k 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 ...
12
votes
2answers
2k 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 ...