Questions tagged [pgp]

PGP (Pretty Good Privacy) is a computer program for encryption and decryption of data that provides cryptographic privacy and authentication for data communication.

Filter by
Sorted by
Tagged with
56 votes
1 answer
32k 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 "[email protected]" to "root", it seems to still work. More generally, I ...
merlin2011's user avatar
  • 2,015
57 votes
1 answer
7k views

Short, easy to understand explanation of GPG/PGP for nontechnical people?

Does anyone have a link to a good, but short (1-2 paragraphs) explanation of the benefits of using GPG/PGP signing and encryption for Email focused at non-technical readers? That is, why would someone ...
jtimberman's user avatar
  • 21.7k
137 votes
4 answers
98k 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 ...
IQAndreas's user avatar
  • 3,997
106 votes
3 answers
40k views

One GnuPG/PGP key pair, two emails?

I have two emails I use frequently, for both of which I'd like to use PGP keys generated/managed by GnuPG. I'd like to avoid creating a different key pair for each email, if possible, as that's ...
Computist's user avatar
  • 2,967
23 votes
1 answer
17k views

PGP encrypt single message for multiple recipients

Is it possible to encrypt a message using PGP so that multiple recipients (each with their own public private keypair) can decrypt it? I'd like to email one message which can be decrypted by each ...
ztnewman's user avatar
  • 293
18 votes
1 answer
12k views

gpg2 asking for passphrase when importing secret keys

I am trying to transfer my gpg secret keyring from gpg1 (1.4.21) to gpg2 (2.1.15) using gpg2 --import ~/.gnupg/secring.gpg gpg2 is asking for the passphrases of all the secret keys in the keyring. ...
0range's user avatar
  • 810
10 votes
3 answers
72k views

what is PGP public key block?

There's PGP public key block posted on some websites (eg. http://phrack.org/index.html). It's not hex code. it uses much more alphabet characters. What is it? Why is this information posted? how can ...
DrStrangeLove's user avatar
1 vote
1 answer
177 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 ...
James Ash's user avatar
-3 votes
1 answer
2k views

Remove unnecessary under-the-hood GPG public key cryptography

Background: Some existing programs, such as git-annex (git-annex encryption) and pass, delegate cryptography to GPG, "a complete and free implementation of the OpenPGP standard". More ...
Matei David's user avatar
23 votes
2 answers
10k views

How can you un-revoke PGP key in GPG?

Whilst playing with GPG (and trying to figure out a safe way to store my revocation cert so nobody else could use it), I accidentally revoked my PGP key. The revocation was only local; not sent to a ...
Caesar's user avatar
  • 608
21 votes
3 answers
63k views

How do I verify a PGP signature?

What GUI (no command line) software or websites can I use to verify a PGP signature? If I have a message like this -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Because anyone can claim to be me. ...
desbest's user avatar
  • 918
16 votes
3 answers
35k views

Public/Private key locations with Enigmail and Thunderbird on Windows

Sorry if this is a simple answered question, I just cannot find what I'm looking for. I'd like to find the location of my public/private key combinations on my Windows machine that I made through ...
Chiggins's user avatar
  • 399
15 votes
1 answer
4k views

How to migrate my old PGP key to a more secure algorithm?

I have an old PGP using old GnuPG algorithm defaults. According to Best encryption and signing algorithm for GnuPG: RSA/RSA or DSA/Elgamal?, those algorithm settings are no longer sufficient, so I ...
Hongli's user avatar
  • 253
12 votes
2 answers
6k views

How do I manage multiple e-mail addresses with GnuPG?

I feel like this is a question that should have plenty of coverage, yet I found nothing that explained this to me in a way that I understood. It may be (and feels like it) that I misunderstood ...
Angelo Fuchs's user avatar
12 votes
2 answers
13k views

PGP (GnuPG) - what was the original filename?

John wants to send 1.txt to Paul. He encrypts it. Now the file is named myFile.pgp, and he sends it to Paul. Paul gets the file. How (if possible) can Paul know what the original file name (1.txt) ...
Royi Namir's user avatar
  • 5,758
11 votes
2 answers
17k views

How to use gpg and SSH together? [duplicate]

Possible Duplicate: Are GPG and SSH keys interchangable? How to use gpg and SSH together? I know the basic procedures of 1) using gpg to encrypt and decrypt text files and 2) generating and ...
qazwsx's user avatar
  • 8,889
8 votes
1 answer
3k views

How to use GnuPG to get the smallest possible output (symmetric encryption)?

I'm trying to produce very small OpenPGP-encrypted files that can be embedded into QR codes. However, in comparison to for example OpenSSL, GnuPG seems to produce very large results for a simple ...
Daan Bakker's user avatar
8 votes
2 answers
4k views

How do I display the usage flags for my encryption keys in a less hackish way?

I am trying to educate myself on the use of encryption keys and I've been experimenting with this old Linus Torvalds’ key that I found 956EB7BF449FA3AB. I am interested to display the usage flags but ...
Eric Fail's user avatar
  • 263
7 votes
2 answers
4k views

What is the relationship between an OpenPGP key and its subkey?

I'm coming from using plain old RSA with OpenSSL for all my asymmetric encryption needs, which I learned fairly well, but I'm having a bit of a hard time wrapping my head around the OpenPGP protocol. ...
user13129's user avatar
  • 111
6 votes
2 answers
2k views

if one doesn't care about protecting a gpg secret key, is it still as secure as using gpg --symmetric?

Each of Alice and Bob is using gpg just to protect his/her own personal files and not using it as a way to send encrypted text to others. Alice has generated a key (gpg --gen-key) that she uses to ...
Jisang Yoo's user avatar
4 votes
2 answers
1k 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. ...
IQAndreas's user avatar
  • 3,997
4 votes
1 answer
2k 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), ...
PeterCJ's user avatar
  • 660
4 votes
2 answers
2k views

How can you let mutt encrypt mails in the sent-mail folder?

When i sent an encrypted mail, i was surprised that the copy in sent-mail was not encrypted. Checking with a testmail, the mail is sent encrypted, but the copy in the sent-mail folder is plain text, ...
allo's user avatar
  • 1,118
3 votes
2 answers
9k views

How can I perform PGP encryption and decryption method using openssl commands

I have a PGP public key of B. Now A wants to send an encrypted message to B using his PGP Public key by using PGP method. How can I do this with OpenSSL? Edit I have seen wiki page for PGP method ...
nandan's user avatar
  • 33
2 votes
1 answer
3k views

How to convert gpg4win's binary to ascii, with Notepad++

I can reliably convert gpg4win's ascii to binary using Notepad++ option "Base64 Decode" (credit: James K Polk). Works every time. But when I attempt the reverse, i.e. convert binary to ascii, it ...
get_going's user avatar
  • 115
2 votes
1 answer
531 views

How to make thunderbird automatically encrypt emails if possible?

When I start to compose a new email in Thunderbird, I want it to automatically enable the Encrypt button after I type a recipient's email address into the To field, if I have that recipient's PGP key ...
Michael Altfield's user avatar
2 votes
4 answers
2k views

GPG public key created with GnuPG is rejected by MS Outlook 2010, why?

I created a GPG keypair with GnuPG on the CentOS 7 command line and I have exported the public key into a .asc file and successfully used that public key to encrypt emails sent from another email ...
CodeMed's user avatar
  • 354