pgp/gpg – encrypt attachments (list key ids)

How to manually encrypt attachments via gpg on the linux command line:

# list of every key which is saved locally

gpg –list-key

# captures all of the updated keys from the keyserver

gpg –refresh-keys

# encrypt attachments with gpg

gpg –output newfilename.gpg –encrypt –recipient name@foobar.tld filetoencrypt.file

About The Author

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht.

Scroll to Top