Pretty Good Privacy

From Dave-Wiki
(Redirected from PGP)

Summary

PGP (Pretty Good Privacy) is a widely used encryption program that provides cryptographic privacy and authentication for secure communication. It was developed in 1991 by Phil Zimmermann and is now a standard in secure email and file encryption. PGP uses a combination of encryption techniques to ensure the confidentiality, integrity, and authenticity of messages and data.

List All Keys

gpg --list-keys

Export Private Key to ASCII

gpg --export-secret-keys --armor > filename.gpg.key

Export Public Key to ASCII

gpg --export --armor > filename.gpg.pub

Import a Public Key

gpg --import filename.gpg.pub

Show Fingerprint for a Public Key

gpg --fingerprint