Zimmermann, Philip (1995). PGP Source Code and Internals. MIT Press. ISBN 0-262-24039-4.
OpenPGP-compatible
No proprietary algorithms
If you could eavesdrop on everything, which messages would interest you most?
4513F798
909F 5042 991A 3A32 7BE1 0F7C 4DA5 9C93 4513 F798
gpg --gen-key
Not enough random bytes available. Please do some
other work to give the OS a chance to collect
more entropy!
gpg --list-keys
gpg --edit-key ABCD1234
gpg> list
usage: E
means "editing this key"
gpg> expire
gpg> 1y
gpg --keyserver pgp.mit.edu --send-keys ABCD1234
gpg -o revoke.asc --gen-revoke <key specifier>
Please select the reason for the revocation:
0 = No reason specified
1 = Key has been compromised
2 = Key is superseded
3 = Key is no longer used
Q = Cancel
(Probably you want to select 1 here)
~/.gnupg
gpg --export <key identifier>
for binary
gpg --armor --export <key identifier>
for ascii
gpg --import thing.gpg
gpg --edit-key <key identifier>
gpg> sign
gpg> check
gpg --clearsign doc.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[...]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.7 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjdYCQoACgkQJ9S6ULt1dqz6IwCfQ7wP6i/i8HhbcOSKF4ELyQB1
oCoAoOuqpRqEzr4kOkQqHRLE/b8/Rw2k
=y6kj
-----END PGP SIGNATURE-----
gpg --verify doc.txt
gpg --output file.gpg --encrypt
--recipient <key identifier> file
gpg --decrypt thing.gpg
--output unencrypted.txt
rm unencrypted.txt
extundelete
What does a signature (on a message) tell you?
What does encryption tell you?
What does encryption tell everyone else?
What does a signature (on a key) tell you?
What does a key's ID tell you?
What could go wrong?
ls -al ~/.gnupg
Do you trust the keyservers?
Links cryptographic identity to online communities
https://wiki.debian.org/Subkeys
gpg --edit-key <key identifier>
gpg> addkey
gfshare