PGP practice thread

If you’d like to use this thread to practice encryption/decryption of PGP messages, feel free to shoot me your PGP-encrypted message and I’ll reply an ACK if everything went all right, else let you know if something failed in the process.

Do try to use a paste service to keep replies short! Any paste service of your choice will do; the simpler, the merrier for the OP! :wink:

For tutorials, I could point to a couple, but feel free to peruse any and all resources you stumble upon after a regular lookup on the search engine of your preference.

Clients: Kleopatra on desktop; OpenKeyChain on Android (F-Droid would work just fine!)

[//] - OpenKeyChain tutorial.
[//] - Kleopatra (GUI) tutorial. soon^™
[//] - PGP general information & CLI tutorial (for MacOS); GNU/Linux CLI cheatsheet.

Note: I do not have one for Kleopatra at hand; if you do, please share it so I can edit OP for whoever takes up the offer.

PGP public key. Also available at rottenhouse.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Let's have some pri(FUN)vacy, shall we?
-----BEGIN PGP SIGNATURE-----

iQI+BAEBCAAoIRxyb3R0ZW53aGVlbCA8aGlAcm90dGVud2hlZWwuY29tPgUCZyRo
8gAKCRAfrXhmnehd6Ak6D/9DltbqTXV4nW5MdaFR3laPk5KhGMfh8BsCsJQ6bURZ
hNP+piDZQrM778OJw83T31VPdiIGP1SkWZb7vETlNPew9FM5qVDQfRhyZNFMG0Am
RiE7kTbpIVhebxPoxkolwTMwEA697qR3tRj51F1x0qUj1PKx+Nsxhe1EskSXK+Vl
DPaKBfi5H7g0gIwLKRD2k+pxNEPJRK6eby91JN9iI+Eg8Yo8SveYNOmhKgi2zSVP
UM55bQad0kvj9s4ZjtJJjcsD86t4VItcMwEd35OOvPYtvebamIloRCeJKkPItTp3
E3Qs/sPq5ytfiSm2kGN2vgM4oO/v/vUJbFkzGIw3V/fSkxCDZrwKVNHYccSc/2Rp
b08dU+wpZ2TJidjo3eAJc5bqJccx6Y4prYTqJkJf7x0NmF52sOad0wtGS8aXvR3E
xh32u/DTOhD+o4HBORkTzWexaS2PdO3x2y2Mg+xVdeimXWXT8tPwaAn7jgQInvuF
hgZCIm6eTUDwvmKa0VgxVcu0fQvVTLimk2kU3oT3d/1GTyDsK5wBgb+HQxZxBd+C
hQhzaWslcS2JQCiNicrR6vTkVtlEqYuNA8/pq1s2bSvUUfh7tog8VmZk6oRj/xQq
lXwc05+Apju5sQHJvKv1PmR/RVw6nC8V1+GWEPgmvxkuZ2L9JHbDwDdNzJqYg5CF
WQ==
=T3Rt
-----END PGP SIGNATURE-----
4 Likes

Hey! This is a fun thread!

I wanted to use this occasion to share the (relatively) new “Stateless OpenPGP CLI (SOP)” https://datatracker.ietf.org/doc/draft-dkg-openpgp-stateless-cli/ approach to OpenPGP.

SOP is a specification for a simple CLI interface for OpenPGP operations. It is implemented based on very many OpenPGP libraries, including GopenPGP, OpenPGP.JS, PGPainless, rPGP, Sequoia.

The goal of SOP is to have simple tools that are easy to use, including in shell scripts, and easy to make sense of, for humans. Additionally, SOP is inherently anti-vendor-lockin, since all implementations are implementing the same CLI API, and it is easy to drop in another implementation.

I’ll use the rsop implementation (based on rPGP) here, to demonstrate how SOP can be used. But any other SOP implementation will work just the same, and will produce the same outputs.

First, I pull your public key (certificate):

$ wget https://github.com/rottenwheel.gpg

After pasting the cleartext signed message from the original post into signed.msg, I can verify that it indeed contains a valid cryptographic signature by you:

$ cat signed.msg | rsop inline-verify rottenwheel.gpg
Let's have some pri(FUN)vacy, shall we?

This command outputs the signed text, if and only if it has been validly signed by the public key in rottenwheel.gpg.

Finally, I’ll encrypt a message to you, like this:

$ echo "[[REDACTED]]" | rsop encrypt rottenwheel.gpg > encrypted.msg

For content of encrypted.msg, see https://pastebin.com/BM9cqLax

(Note that I didn’t need to have or use an OpenPGP key of my own for any of these operations.)

1 Like

Very nice! Can’t encrypt a response to you in this message, but can confirm it worked just fine. Thanks for participating and sharing your tool, resources. Cheers.

1 Like

This is a cool idea. I don’t really need practice per se but I always like PGP messaging! I spun up a key just for the purposes of communicating with members of the forum if anyone would like to message me or whatever.

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGcm5ZUBEADGwXewPlkxAbaoVllEh0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arJ6lmloPOQ
Kv6XBEPgJ6yud84qzBMZO+SimoV8Bv9uNXHobjODABEBAAGJAjYEGAEIACAWIQQI
9oboT8pVlnXlL+avgeR5/UY95AUCZybllQIbDAAKCRCvgeR5/UY95AUZD/9zE7uB
2V5bBl2bKiEld0IKx0Rt5sR2SViCDep0asC4giY0lIb8t4mPyleyOr5ZWF8YVb96
w5WwmqmMu77xpAZfWwOuMAOeVLXEBsa1zHCccPo32rcwbX4yRxI6wgP1iTK5mLVL
MoTzVnyJe5E27M9ibete0bERznDlyrAzHnvH6uNHLBp6kiHmfkNlGjQVbAGNiaFR
ta/5r9bumZMFDOtPl5ljfpbrhlurjuWBBG8yFIuwqrtO8km1E3hH1EbW7+idPYZO
oKCvpGfTwlrQ1lX3gyY7mlOP+XwRhTaQF6inLYZET5fOcM1AT5infHmppXs54fIg
VUopp5ks2rAUEZPVEjU+bb1Cqj6ffPUuDQb6EDitgQZPlyDHBisznP4K6rjD7Zlh
jpK75z+loY9Kr64yisJukIoBfJTi7StEOJgPaK+T2CNeD0a/YZHr4SoOxNdEVius
zwLIvx4l4fi1zQSrX3RiI1jjdI+W/4A/YjFREMlctloqxjhjnSdhOgRHJS/MDd93
RZUQ3PR/IhRp7hFvuPbqMMPgaa/BGZ2ZJoay4nBrURRkKYGX+1515SlMElGZ+MwV
HGDaCkz1sJP1KxEbLzF7QwoCWYGQyhpS5DHncJqb/a/jFe1sVU76aWFVedT7NlO7
Jl7ebJ1Db7GHJaphz2YFI6AjrLdXttiwxPwjfQ==
=oSny
-----END PGP PUBLIC KEY BLOCK-----
2 Likes

https://paste.debian.net/plainh/3c026e4c

Hi, can decrypt fine. Could only find expired keys online for that ID, though their email address did match with the little you shared in there. Odd. :thinking:

Well this looks fun!

-----BEGIN PGP MESSAGE-----

hQILA5iLe4AQ/eU1AQ/3UaBvn+Fur03Tn4YVhsHqkOcfWCv5gDJC93ri0+qNmTY+
da53gUmMCuVaRS1MlCpnLEKreYzTWOfCcgU29HhalKLL1j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TNfHVSwyNg7e6gRHp5PFnOeVhb5BNX57fFLl+8V4VBgtp
M+Z1+2VV0Te6qBimWmK8mBI9QWAYxBUmQjLI6FqTTfFtL65kDxCCC5dNvkBt3wja
UjwO3128S1xb8FlAFbdT79a2qzbcb2awd7RUg+o5SNVeAGtg6ljkOzmA6NXue2aG
fWIgHZebEl49rdue3n+cgEvup3BlRmsvZ36IwcS1KI2LF9yZzuOPJSIIZL4dbXDa
C0LkJ7MiVoRMZ8jxDz0adClTUldyzu2EJdzGSnM+tLI104U0bmjWIon3SHnZzkjH
Dt/xhDfeT3NOMBelg6jOfR9K6QGLnulCBKAz2IS5STcSgMgt0FdIO8GhtKgwmmIB
zMr84cA9djZOkDw8OYp3fGc78MjxR8bAL+vrO4npR7X1/2KLYO7e1SwyIapLmyKN
DA==
=8Lis
-----END PGP MESSAGE-----

1 Like

TL;DR: Encryption is fun! :wink:

Thx to the GNU/Linux CLI cheatsheet mentioned above, using gpg in the command line:

  • One can create their private key gpg --full-generate-key and follow instructions
    I had my keys already on github.com/sdkaaa.gpg but mentioning it for the record
  • If one wants others to find their public key, one can send it to them or also upload it to the key server: gpg --send-keys 4678D7E98691F23ACF78A8B2CE358171BA9EBDE5 or simply the last 16 gpg --send-keys CE358171BA9EBDE5
  • Check that the key is on the key server: gpg --receive-keys CE358171BA9EBDE5
  • Get rottenwheel public key: wget https://github.com/rottenwheel.gpg
--2024-12-06 11:27:55--  https://github.com/rottenwheel.gpg
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3056 (3.0K) [text/plain]
Saving to: ‘rottenwheel.gpg’
rottenwheel.gpg              100%[==============================================>]   2.98K  --.-KB/s    in 0.007s  
2024-12-06 11:27:55 (412 KB/s) - ‘rottenwheel.gpg’ saved [3056/3056]
  • Import the public key: gpg --import rottenwheel.gpg
gpg: key 1FAD78669DE85DE8: public key "rottenwheel <hi@rottenwheel.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
  • Verify that the key has been imported gpg -k
pub   rsa4096 2022-05-19 [SC]
      080F330AD043CC0A449A27D71FAD78669DE85DE8
uid           [ unknown] rottenwheel <hi@rottenwheel.com>
sub   rsa4096 2022-05-19 [E]
  • Copy the signed msg above and put it in a txt file msg_from_rottenwheel.gpg
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Let's have some pri(FUN)vacy, shall we?
-----BEGIN PGP SIGNATURE-----

iQI+BAEBCAAoIRxyb3R0ZW53aGVlbCA8aGlAcm90dGVud2hlZWwuY29tPgUCZyRo
8gAKCRAfrXhmnehd6Ak6D/9DltbqTXV4nW5MdaFR3laPk5KhGMfh8BsCsJQ6bURZ
hNP+piDZQrM778OJw83T31VPdiIGP1SkWZb7vETlNPew9FM5qVDQfRhyZNFMG0Am
RiE7kTbpIVhebxPoxkolwTMwEA697qR3tRj51F1x0qUj1PKx+Nsxhe1EskSXK+Vl
DPaKBfi5H7g0gIwLKRD2k+pxNEPJRK6eby91JN9iI+Eg8Yo8SveYNOmhKgi2zSVP
UM55bQad0kvj9s4ZjtJJjcsD86t4VItcMwEd35OOvPYtvebamIloRCeJKkPItTp3
E3Qs/sPq5ytfiSm2kGN2vgM4oO/v/vUJbFkzGIw3V/fSkxCDZrwKVNHYccSc/2Rp
b08dU+wpZ2TJidjo3eAJc5bqJccx6Y4prYTqJkJf7x0NmF52sOad0wtGS8aXvR3E
xh32u/DTOhD+o4HBORkTzWexaS2PdO3x2y2Mg+xVdeimXWXT8tPwaAn7jgQInvuF
hgZCIm6eTUDwvmKa0VgxVcu0fQvVTLimk2kU3oT3d/1GTyDsK5wBgb+HQxZxBd+C
hQhzaWslcS2JQCiNicrR6vTkVtlEqYuNA8/pq1s2bSvUUfh7tog8VmZk6oRj/xQq
lXwc05+Apju5sQHJvKv1PmR/RVw6nC8V1+GWEPgmvxkuZ2L9JHbDwDdNzJqYg5CF
WQ==
=T3Rt
-----END PGP SIGNATURE-----
  • View the content and verify the signature of the signed file: gpg -d signed_msg_from_rottenwheel.gpg
Let's have some pri(FUN)vacy, shall we?
gpg: Signature made Fri 01 Nov 2024 06:36:50 AM CET
gpg:                using RSA key 1FAD78669DE85DE8
gpg:                issuer "hi@rottenwheel.com"
gpg: Good signature from "rottenwheel <hi@rottenwheel.com>" [unknown]
gpg: WARNING: The key's User ID is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 080F 330A D043 CC0A 449A  27D7 1FAD 7866 9DE8 5DE8
  • Create a file with a message to rottenwheel: echo "Thx for creating this thread!" >> msg_to_rottenwheel.txt
  • Sign the file: gpg -o signed_msg_to_rottenwheel.txt.gpg --clearsign -s msg_to_rottenwheel.txt
    The resulting file would look like this:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Thx for creating this thread!
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERnjX6YaR8jrPeKiyzjWBcbqeveUFAmdS1tsACgkQzjWBcbqe
veWXPg/7BbCursBPRdFb/7UIMyhCdlIU8k1VgrZXKwaue5y5q0dXMd8X18orM8qU
an5PQotGRvfxVsBxe3kioxFeLIz/12X4O5n4o/ZNoJa9mt35sDDvmG5ClInZvctW
o7EL4RrK06/u6q6GWYJGFRJCojgFqummVQ6Y1stsl1WlKPRhE8SABB5+/tvpKbAB
n/8rS+UmZcXRAeksc8QLAX6qxxXeeEFSrBFCs9fnIsYgCwh4WLZcxvygRAAmHC/u
elCmUFbbJ8Z7vrB+7UCmlIHAnMauc7ceRUBe2LyzoKuou0H+vpZAyJBsaFuEi7IL
9ugCGGgmUv5oFzngBsJSz84/grayxeWLizVeMFuSd4ln4/+LpP0lLNcK9YC1DqDP
OIV8JShVEyhHW8MLHX3u9UOfE2jaiYVStrDsgaiw0r705j+8LOkwjlxpO6BU1D0t
QcoX/JoBWQbqB7Y7Xl1rviFfRoPFqZ4GfYgSVxkTpl+SZt+oASsFy8pHf2c505a+
lsOtprv3svKRSbu5Xugwp8Dn1Lur0JzBN9ot9E1o78iWUN1DtDBIsUhDHDudy9MW
o5yWWTPxU0TyrzcMN+pSl92mYetB8lJspLfrmyvhmgeuBiqrDDCle6+1iNGMl4T2
Uw9JwpxXHWWxKwTlY4+XChpcH4Si/14erELh5J72PCmcasL2/EQ=
=x4R8
-----END PGP SIGNATURE-----

One shouldn’t forget the --clearsign option in order to be able to read the text otherwise the message would look like similar to:

��~��
�5�q�����:bsigned_msg_to_rottenwheel.txtgQ�▒Thx for creating this thread!
�3
!Fx�醑�:�x���5�q����gQ�▒
        �5�q��������!�����G��ؖh��+;�Ϙ6k�n��▒�$��;K▒�5|�D���K����t�4�M6��W��s0y]�rՊ�E���rYD
���b6`����FNE� �D��%a�[�2����PT�^�y�yW�4/�p���  ޲�v��ኖ��g_��
klY�r#Ւ��2N^�X�.ٴ��k��MrV�D4�1
f
 N�T�ْ
S���M�\ş��\�>�����q
                   �৿G�53j
                          �Ǎ�!�R��9�.�M�
�%X▒�Y]�al�8�J���{#Ʌi�U)��Y�C#m_"+���ңѱ/���1�צ�\�K��|����R���
�^8��*���[A��HE)0�C ����v0e�i�� '�
  • Encrypt the file using: gpg -e -o secret_msg_to_rottenwheel.txt.gpg --armor -r rottenwheel msg_to_rottenwheel.txt
    while not forgetting to use the --armor (ASCII-armored format) for similar reason to --clearsign
-----BEGIN PGP MESSAGE-----

hQIMA5iLe4AQ/eU1AQ/6Am8BbO8CwwgLgLjXV54MmgeJ/NkPlTd3db8Ja3PI6B4z
K8Y7OEE9pNUnqSDtTPfy6SCfTPI438USdShW1w18yxe1z4o+vzgln5Syqf+ee35B
gBI6hiYb43RUsrlre7nIaVW9hPcesFhFKMpdS1chP3C/PWDlSQxCAu6xZLmKUlgK
xI/zn7hM3yTSegh8jYFk2Rz8wNrd8tYPsv8dKiqwha2KSYEK/ShVWffwDob/zpO2
8v4RUW192VK783P5uxCG+sbo9kmJ5C+cpeL+LygSfRKrH8lECsiq0lZgTVNsPQ+B
gfj3CMgYz0kLFgqgqP28xu1Fpgf7BQfsApYP6IZUGcRjlVkCqlbZuxcf9ts15oGz
MGGpHgfjVheaVYG/lqk5zW1nX7Di5hagG8O+5SXrmyWbHvwgXbFuRSqeF1QtkJTq
dJiX9RMIR4jxeVY1/w9BH2tgK9AFWjv4spoh9RrayzYfw4rCOLTqW76oY3mMkj7J
a6Lt/IZ2C9Q//3k+P3qnLP6U0wK5GQe007VqL8iPUnB5U3dlevWHlYIsH/c2sqED
9B4Bb9fxfVwDvomSRl2+wWRbuh9hsgHSwUNPTuEo3KbpeRNNMwlpJzX7Eo2jiPXh
JS8Ewy1vRfaaUQnHoXy5KgR2opMHja9B8x58zyIFGE4/jhwBmLnTjRphaTa8jLbS
ZgF3VIremEAXYMcLoz8oSYC6VqZnXN4Xl0ugyrUbqipeAckV00b2tY40h72BmeY/
TbURdvmwSmDJDOVsyd1OqplCeEvLgAIi5CaiZb/IM5zQIXKPi5j9Vk/yyasKngk1
Bu6Z7/RYfA==
=Kces
-----END PGP MESSAGE-----
1 Like

so for PGP we need to start with a public key right?

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v4.10.10
Comment: https://openpgpjs.org

xsBNBGdUd34BCACs0kI9EKPmn5CKpreEIVI+1nAqQAOdMrA4hqBA8bLBUfSv
j4Be1WALkRTrOk7P/8dpndvtDIr+wu36OEpkpIXJRV99+SKe3QTIWJBjbfsn
v4eiEPtr+J8JDEuGjs+5ArBKd2A+1illJibjWs8MPoW29HDGeUg8FsDjvlG3
xQp7Cy1UkDORVPDDWfCvqnZKP/VFK0SVE9wlDAkmMJ1uZ5EDO4yDUJkj9PnL
K3MotAAPnwbwBFupjO4l9kLfbgw/BWMcvOUEFVzMosgZqCTtaZTw2eh6do1o
xvnvuS5ZR20yNUN/CeRJ7DmcOS0/78P+NjRbY1y/peKZyUVQevsMcc4hABEB
AAHNIEdvcnVqbyA8Z29ydXB1YmxpY0Bnb3J1am9rdW4uY3k+wsCNBBABCAAg
BQJnVHd+BgsJ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ghyc/lVwJ3RbcjTrf
hIBRfokXfS5iFFLaRPdgZA5/d7nLJIOBLzPOiFmVJPvHv14NI6nyTzuIVk5C
0k6HVM61P3Qnmm45i3fwb9ZrZUyv3+fecZXMYs8CHEN8JMopEV773u4EuVrd
LeOFSfSIz4y4koDa
=RX+0
-----END PGP PUBLIC KEY BLOCK------

Encrypt a message using it and it will get started for me or perhaps here’s the public key text file:

publicKey.txt (1.8 KB)

edit: if you didn’t know you can just use the online one, since it’s for practice I don’t think there’s any need to worry https://onlinepgp.com/

Public Key: https://keys.openpgp.org/vks/v1/by-fingerprint/660171F221603E6A57978B83AD8412576461AD7F

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- -----BEGIN PGP MESSAGE-----

hQIMA69cDtzikAyXARAAs8scZAKsb3Tsw+aLFrzVkTNwoMl4J4KhBNjrTpF46WHZ
R0Mv3an0gWvcJzGQ8/AqYrWCUMtddM7+5iU55R8ZDUwMQyx2vgSZgpWYkTIymNVb
Xr0nW6sIw4RjH/d821D/2Oh/1kz/5NzWcfPZItlfFBIPJA+tEdsGLSQoi3/EA5cd
dH3BAk7Jmo4pgCm1l5ep9hLahroqvAy8MKIe8GurujftdTYHa4kHqQzEtDYuAkK9
KlM0zbUqZnyeGZ5bfcR+AKw/kTV2b97oPS2k11iVPByDun9VXi9v1sOXcsk0uIhX
7Q3f3lAr7aqkuh3DMSU6Q1ySFJz/5Z1KpI+cIPK6YAWuzGba6byIgd3HGt+PixIS
IGFBrpLYpfWnaaAVZM/AA/EM5aTKNex2RPQRS5W8YcaiJb3ooCI4d0nEUhxBlt+b
NVrEYXyaan48T4Il7UdtMRxGQN3ar+m6kbiTnELK896ZrLpiQ79siugnZ5lNxqnr
ZMRkV4mAep7fuVhplcoTQYtK2BhFWv2awU/B0dvYLWXgW17fuKGCsm9gNbTqNGjE
kfGUA7wR0jPwAmHA7AgmFb6DmClYLh4+ZAIP9v8DNE64wrqppvuxeMnuSv6zkJYM
c1xWTdfz9LhHI7p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ombft1EVC3
ZMifHpvpNQf+OclypZM/7YsuxcMKSkeK2cEJJ2YRtMzTC5SfFgrD3fo3iiMz
ayZuyPM0eoQ5geuRuJ3F1bNn2JGyKD+IzMN1IzhZE6hT8qvZH6xp3rclKEJ1
+9KQ4EA3YPomzKXgFNa9V5grCxbWKNrjxLRG5qnbFP1u0owm4f9vmRItV14O
Haf3oHc9p3lN1EXCy2nUUrZgUcM787a2E5NeoSNR6lRwnL3Nu691uPjqONuX
COIWWaCLekvOXLL7lkjyH9EPJBJG65qhwLmK8/G+hpm3SO7S188riPOmNdHp
ZU4Y5a4l+MBwO4Mhs0c87uij0FVcSn2xeG8jNsJ7CmYB0VwuBE9m8A==
=ophw
-----END PGP SIGNATURE-----

:+1:
Slowly learning this thing, bear with me, now signature is valid ;-;

1 Like

When I copy and paste your PGP public key block on OpenKeychain, it doesn’t recognize it as a key; sorry but something must be off. You could give it another go and I’ll let you know once it works fine!

Jusr to be clear, this one didn’t import successfully for me either. Huh…

Maybe openkeychain needed the version and comment? Have edited that in
Have you tried the file instead?
the key works to be clear

Edit: I tested OpenKeyChain, It was able to import and encrypt a message so yeah

Here’s my public key. It’s made with kleopatra.

Could someone encrypt me a message so I can practice?

It worked, Thanks!!

1 Like
-----BEGIN PGP MESSAGE-----

wV4DpWm37S/Ur78SAQdAfWTYt3LFM/1PNFC7csxyzW6iLMCeEglzjCqdDDkTllUw
IDQqoIUneTfqbu6weeWSemJpMuATJcoOEbwrpLxVgGyCPmjfhbkMQD9OzifOuXcV
wcFMA5iLe4AQ/eU1AQ//ckqej55mmYY/oLup3LQxwFOrTOMm4PEnWPTRAX5hNdOP
n7ZaO/DQR5svt40IB9tmAdSX1CZB+RA54Atin2t1xZI9iER6W5cIqaD/lrnH8+wz
bCSmtc0PIEvQdaMEE8jloZ/qs3ONxspJvj1ANO244piDB9hflzgKN8qy1lz2o3Pb
I8HTmXtkXvRFcLcMDR04UfFLiDfWNPJBvs0mDxQHObGJbbFZnMWU9WpdIRhIx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+sBPvFX+oXyUzoFlwdZClr2Vss1YhJL/NcQfLc
TfaASZjfDRvsAUfosItjeHIrhInUm/an749Uvk+Ddvvxq7GDjmrC95pXTHrZ8978
4MlaCVta6HxRkupZJIAGcHYqKh4FFySi/pXqLKWN9+2/WVTyQknXcUwNkHJntJN0
woSheHkmzwG2KMHZGWm1tckXRPkx/mAHQlKqzUG1N/ilQH6gfxFzk29mjnsyjBVz
JpJedf02rVfNVtgAaFgDtLJE8iFApvm7pW/mVxjwfuDiSV+By4RKfwwvPhWO5E22
6h3F5p1jRguLTE2uD6qLbdLligmB7Y/R0tgF/QM+1OmjMFbZ+CxhWrxHdiqI/S9/
HXdiEJaQOUdM/DKyXM9TqAAbacQUyVcCWPGYOQx/9vuwXw0YrB3zvd9zMFSyqd1D
z7e4agpVpzKXjlg19mET9nqo3MAF4g==
=4881
-----END PGP MESSAGE-----

-----BEGIN PGP MESSAGE-----

hF4DpWm37S/Ur78SAQdASqpybfqS8gNLz483JBd5JRhpVK8gbvf27m2/tI6I3SQw

DhN5G0d0zDYWYATYKE1r/cIR9T4DYyNtf2/43YheW3sXJ+KlZbmWYWij+ifvJcDk

1GkBCQIQNsAz3XLZTr3flthesjCm6OXqIOFKvm8gPTf1YjzMPRrn+pIkowxRBRSh

NzFRPIdqRCrnh4kMt1q+a0lLqNrgccTsxCGeS38DyOGJtnCxisTNt8x1gp3tOwPO

ZmWE0NdhN59BYWQ=

=d9OS

-----END PGP MESSAGE-----


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- -----BEGIN PGP MESSAGE-----
Version: OpenPGP.js v4.10.10
Comment: https://openpgpjs.org

wV4DpWm37S/Ur78SAQdApl2Ypr6zgFY330BdA2CAJrDaxrhW4FWT37GJxdrS
cFEwyKPQcaM/nhN4Kw4cuBy9ZV++Vx+18ndp+oFSea8HXkqFK26dANY4GQUw
2xM6ww7K0sAqAUKwRr49X5Rc56kEURRjhHkcwTxXDWbk4Ir/nXBCK9Z4eOqC
fcig66iBIxobll3XfVlnKgMgTPiddNZkYADktAa+iYt68xHlGzcRCfDQisBZ
P9ONR3beXlQPwgp/TqUasLyzYM+eRR31+IwCFMlC+e1NtAsedUw2QVWGzazc
h0wg9tngTxRDdtINVmpbZ1PQh5k92ogZPOK/ff+0W0V1x/dov+KdEZkslKW+
nOYb63YKSmPNg2FtaAIFsrb5q8N4E2OoRB+9cnVzgPii57KhYB8rs+/Baokr
fSO+DX/HnNzLlRv7MZNEok9Z
=inAU
- -----END PGP MESSAGE-----

-----BEGIN PGP SIGNATURE-----
Version: OpenPGP.js v4.10.10
Comment: https://openpgpjs.org

wsBzBAEBCAAGBQJnYw/vACEJEBFQt2TInx6bFiEE5E6rKJZBO9ombft1EVC3
ZMifHpu/xwf9EDe7d1/eQtMnpUEPZslLafPenERwZEnr16S/NdYiMZJOgcl/
420PRblVYAk2tVzg9whSaBUI/4V7n8iZIV2wxT+/sIwHKUX4QKiqL7f9DrQf
URAws1ksAHsJfyR6+BIkXQndM8crt2V2X3zlXOpm1O5f8VYaILWqqKWDaUUN
n48O2H6wgwV5eUwx44myOaQYz7xHd/bE5z4YaON7FGZKiUkqOy7BU177xyz8
qKWqIAhvoJ7wAXNNTwulrUSiQwZ53nSP757x/3fZ8CkEAq8YueMixz9fEAY+
jc6b+VgL4ggmfShjvwBEGuX/QMZcTg2Wuz/i7OktaiziUJbSvGcLug==
=7X+Y
-----END PGP SIGNATURE-----

Oh you removed it, it was saved on the site not sure you can decrypt it

Public key:
publicKey.txt (1.8 KB)