# search & import my gpg key (0xC8A9AC8D3F4845A2) gpg --keyserver keyserver.ubuntu.com --search-keys $(base64 -d <<< d2FuZ3lpaGFuZ2VyQGdtYWlsLmNvbQ==) gpg --keyserver keyserver.ubuntu.com --receive-keys 0xC8A9AC8D3F4845A2
# send me an encrypted file gpg --encrypt --recipient $(base64 -d <<< d2FuZ3lpaGFuZ2VyQGdtYWlsLmNvbQ==) --output secret.docx.gpg secret.docx
# decrypt an encrypted file sent from me gpg --decrypt --output secret.docx secret.docx.gpg
|