How PGP works:
The following is my PGP public key, which can be used to encrypt messages intended for me.
Only I can decipher encoded messages using my PGP private key, messages which you’ve encrypted and sent to me using this public key.
By keeping my private key as a closely-held secret, I know that only I can read messages you send to me.
To anyone else encrypted messages look like gibberish and are intractable to decode.
How to use:
The block below contains two keys:
matthew@kusanagi:~$ gpg --fingerprint
/home/bobjoe/.gnupg/pubring.kbx
-------------------------------
pub rsa3072 2020-05-02 [SC] [expires: 2022-05-02]
866D 7032 E0B3 447D BFFA 3D95 5913 9C2B C8C7 2FCA # <---- Fingerprint 1
uid [ultimate] Matthew Krupczak <matthew@krupczak.org>
sub rsa3072 2020-05-02 [E] [expires: 2022-05-02]
pub rsa4096 2020-05-02 [SC] [expires: 2024-05-01]
4831 0C82 468B F4BE 4D87 7960 29BD 4741 B687 AD42 # <---- Fingerprint 2
uid [ultimate] Matthew Krupczak (foobarbat.me) <matthew@krupczak.org>
Please use the second key to encode messages (if possible), and verify the fingerprint is correct.
2. Use a PGP program to encrypt a message for me using my public key. You can email the message to me, post it on Twitter, whatever. Only I will be able to decipher it.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBF6tgysBDADhV50oBPAjT4GIdeB7fFw/5TIaEwOKp6zovq3gktuvaQPNrDCc
sO9ywfIJSaGpgSq/6WZiduG5lePXyem4+n7q8L59bMSqKOBT3COgMU8EcTKdpPiP
W168EXpisOF1m8MwHFNC3m3FPqPjAU40RFNL5c8hVnHQElhU5RtNjdk3puCpWOek
Xr2K1egW05MwMMQKP3Fqs/5GUDMSbnARPtKZ8ZFxwYmlBVZw3kGfZNtNL8YfTjCH
2ssLcTExRYgwFTb6nhjt2laWx6thMJwlnwfjADHq1MNg/oE6zVPQZ1YoM8i9ZoFo
7Ng05PHI36rj/zkhMKq4t540IDcY9x63lwjoOeHqd88dvUOF/VVGauxMUHcLUWYi
EjnTTcZGEMx9IYfjr/JNdCe6ZHDaACpTRYncxf/2xkZAPdkfw46dNGQVSnHevgR5
fl+OTaFNpFyAJLbpApk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