PGP (Pretty Good Privacy) is a computer program for encryption and decryption of data that provides cryptographic privacy and authentication for data communication.
Questions tagged [pgp]
317 questions
127
votes
4 answers
Where to upload PGP public key? Are KeyServers still surviving?
I want to upload my PGP public key on a public server. Till the time PGP was an independent organization, I heard a lot about KeyServers, but after Symantec acquired PGP, what is the future of these servers?
Is there any other alternative way to…
RPK
- 2,733
21
votes
3 answers
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. There's no validation of the user
name or email…
desbest
- 918
12
votes
2 answers
Why do people share their PGP Keys and how to use it?
I just learned how to generate PGP keys on Ubuntu (using Terminal or Seahorse).
I have 2 very basic questions.
Why do people share their PGP Keys? example
How can we sent an authenticated mail using a PGP Key? For example, from a newbies point of…
zengr
- 1,364
11
votes
2 answers
pgp: **key revoked** [NOT verified]
I revoked my key today, and uploaded it to the server. However, When looking at the server web page, I saw it says **key revoked** [NOT verified]. How do I verify this?
I am using gpg.
xuhdev
- 1,781
5
votes
1 answer
How can I fix a corrupted PGP file?
I've encrypted a file with PGP but for "security reasons" I thought it would be good to damage the header and add some extra bytes so that even if someone finds it it won't know for sure it's a PGP file as the decryption check would fail.
The issue…
Anthony Hunt
- 211
5
votes
1 answer
When I've signed a key with GPG, how do I send this information to a keyserver?
I just signed a friend's public key using gpg --sign-key. How can I send the signed key back to the key server, so that other people can see that I've signed it?
Nadja
5
votes
1 answer
How to make use of pubring.gpg and secring.gpg
I just found my pubring.gpg and secring.gpg files, which I created for experimenting purposes years ago. I also know, in ascii, my public key. Because I can't remember how I generated my keys and what program I used, I actually don't know how to…
kolistivra
- 357
5
votes
1 answer
What is the cryptographic purpose of the gpg "--enarmor" command?
The gpg command "--enarmor" or "--enarmour"
gpg2 --enarmor /home/none/testing.asc
creates a file with a .gpg extension such as:
-----BEGIN PGP ARMORED FILE-----
Comment: Use "gpg --dearmor" for…
user916311
3
votes
1 answer
Can one get gpg's s2k functions to work fully?
According to RFC 4880,
String-to-key (S2K) specifiers are used to convert passphrase strings
into symmetric-key encryption/decryption keys. They are used in two
places, currently: to encrypt the secret part of private keys in the
private keyring,…
user916311
2
votes
3 answers
Moving PGP Keys
I am using gpg and generated, imported and signed keys.
How can I take all of the work that I have done and export all of my keys then import them into another machine?
Daniel
- 1,445
2
votes
0 answers
PGP - encrypt file passing only file and public key as parameters
Security noob here..
We need to encrypt a file before sending it to vendor.
They gave us their public key .asc file.
I want to encrypt using just minimum required parameters as pseudocode below :
pgp --encrypt "inputFile.txt" --publickey…
d-_-b
- 127
1
vote
1 answer
Supress password prompt in GPG
Using GnuPG one can symmetrically encrypt a file using:
gpg -c --cipher-algo TWOFISH --digest-algo SHA512 secret.txt
and decrypt using:
gpg -d -o secret.txt secret.txt.gpg
After running these commands a window pops up and asks for the password.…
Stein
- 113
1
vote
0 answers
Which PGP key does thunderbird 78 choose for encryption?
In our project, we use thunderbird 78 and PGP for encrypted mailing. On my computer, there are two PGP keys valid for the same email-address, both not expired and marked as trusted absolutely. One was created in 2018, the other in 2021.
How does…
kinnla
- 161
1
vote
1 answer
How can I tell what version of PGP a public key uses?
Let's say I have various keys, some adhering to PGP 5, others to PGP 2, and maybe some were made with the original PGP. How should I go about discerning this?
Alex V
- 111
1
vote
1 answer
Do I need a key pair to encrypt with gpg if there is no recipient?
I want to encrypt a file and be able to decrypt/encrypt it again only for me to use that file.
If I use a key pair to encrypt the file, then I need to move the key files around to new devices if I want to decrypt it there. But that is not very…
Grass
- 23