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
0answers
14 views

When adding a gpg key with homedir parameter error

When adding a key using the cmd Gpg2 –-homedir . –-gen-key And Im getting the error Can’t connect to the agent: Invalid value passed to IPC This is something to do with the homedir parameter ...
0
votes
3answers
510 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 ...
5
votes
3answers
135 views

How does public/private key cryptography work, who generates the key pair?

I have a requirement to encrypt a file, get it to an external partner who will then decrypt the file using a key. My "basic" understanding is that I can generate the public and private keys, encode ...
0
votes
1answer
33 views

GPG2 Encryption - No public key error

When I generate my keys using gpg2 --gen-key and then I try to try to encrypt the file using gpg2 --batch --yes -r myemail@test.com --always-trust --homedir . -e test.text I get an error "...
4
votes
2answers
228 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 ...
0
votes
1answer
22 views

gpg does not ask for passphrase on one encrypted file

I have a test encrypted file on my computer that when I run gpg(2) --verify message.txt.asc I get: gpg: Signature made Tue Mar 3 21:16:41 2015 PST using RSA key ID ******* gpg: Good signature ...
7
votes
2answers
2k 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
0answers
47 views

Duplicati uses symmetric encryption despite giving the recipient ID_key

I have a question regarding decrypt using gpg asymmetrically. I use duplicity encrypt copies asymmetrically. E.g: `Duplicati.CommandLine.exe backup s3://testduplicatigpg3 C:\Users\test\Desktop\tt --...
1
vote
1answer
4k views

How to recover files from infected. Vvv extention [duplicate]

Can any one help for how can remove this virus. Our all computer's files infected from this (.vvv) virus. We are using windows 7 Plz give me strong methods. If you need remote screen i will provide ...
3
votes
2answers
70 views

Why does PGP encrypt differently when piping into a file instead of printing the result?

I'll use the following PGP key stored in pub.pem: -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> ...
0
votes
0answers
103 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
3answers
3k 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
173 views

Why does duplicity require the GnuPG passphrase when rotating backups?

I am using duplicity 0.7.05 to periodically backup a directory that resides on a Linux system, using a GnuPG key pair with an encrypted private key. Since the public key is not encrypted, the ...
1
vote
1answer
804 views

Outlook missing “Publish to GAL”

Unable to encrypt emails with valid certificates in exchange environment. I just thought of publishing the public keys to GAL but Publish to GAL option is missing Things i've tried : Re-download ...
0
votes
1answer
41 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 ...
11
votes
2answers
832 views

How are public keys “sent” to servers, and how are private keys “used” for SSH?

There are two Linux machines, A and B. Scripts running on A need to be able to SSH into B. So A generates a public key (probably an ssh-keygen-generated id_rsa.pub), and then uses its respective ...
3
votes
1answer
48 views

Should my OpenPGP key used for storing documents in the cloud expire?

I plan on doing a mass migration of all my local files to various cloud services since space is pretty cheap these days. I figure I should probably encrypt my data before I upload it, which is better ...
0
votes
1answer
80 views

GPG 2 decrypt from STDIN via pasting inconsistency

Does anyone know why in some cases you can do this: gpg2 -d And paste your GPG message into the terminal, type ctrl+D, get prompted for your passphrase and get the results to STDOUT? But in other ...
102
votes
6answers
67k 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
169 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
35 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
1answer
390 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 ...
2
votes
1answer
2k 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 ...
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 ...
30
votes
5answers
24k 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 ...
0
votes
2answers
287 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
251 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 ...
3
votes
0answers
219 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 ...
1
vote
2answers
412 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 ...
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 ...
0
votes
1answer
457 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 ...
12
votes
3answers
4k 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
0answers
552 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 ...
1
vote
1answer
2k 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
2answers
4k 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
1answer
84 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. ...
0
votes
1answer
303 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 ...
0
votes
1answer
92 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 ...
0
votes
1answer
51 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 ...
1
vote
0answers
220 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 ...
3
votes
0answers
485 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 ...
2
votes
4answers
873 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
125 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 ...
13
votes
2answers
3k 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 (...
1
vote
1answer
787 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 <key-name&...
2
votes
2answers
643 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 >> ~/.ssh/...
2
votes
1answer
168 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 ...
4
votes
1answer
3k 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 ...
8
votes
1answer
5k 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
1k 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 ...