If you want to send me something encrypted with my public key, just follow the steps below.
curl -o zekro-pub.gpg https://gist.githubusercontent.com/zekroTJA/fdfbf810ec0dcc73e8252e7e9fe55615/raw/68456b64f44997445abca5a893c314e93b635172/pub.gpg
gpg --import zekro-pub.gpg
gpg -er 916D525B760FEEC7951D79C27EE525875D532A17 secret.txt
This downloads the GPG public key do your current directory as zekro-pub.gpg
. After that, it imports the key to your GPG keystore. Eventually, it encrypts the given file - in this case secret.txt
- and stores it as secret.txt.gpg
.