How to encrypt and sign text or files with GPG Services?
- open finder
- right-click the file you want to encrypt
- select Services > OpenPGP: Encrypt File
- choose the recipient with whom public key you want to encrypt the file from the list and
- in case you want to be abel to decrypt the file yourself, also encrypt with your public key by ticking "Add to Recipients"
- we recommend to sign the file, to make sure it not gets tampered with during it's transfer (note, that possible intercepts will be able to spot with which key the file has been signed with)
- click "OK"
- you'll see a new file being created next to the original file called "Original_File_Name.extension.gpg" in our example that is "Test File.txt.gpg"
The same process applies, if you want to encrypt several files. GPG Services will first create a zip file of those files and then encrypt that zip file. This works with all file types no matter what extension.
Note that there is also a sign only option. Right-click your file and select Services > OpenPGP: Sign file.
- open a text-editor of your choice (TextEdit comes with OS X)
- write some text
- cmd + a to select all text
- right-click and select Services > OpenPGP: Encrypt (or OpenPGP: Encrypt Selection)
- the selection process for your recipients is identical to the one when encrypting files (see above)
- after clicking "OK" in GPG Services you'll see the encrypted text
Note that there is also a sign only option. Right-click the marked text you want to sign and select Services > OpenPGP: Sign.
Note: opening the services menu is possible via right-click. Then select Services > OpenPGP: OperationYouWant. For some obscure reason a right-click services-menu is not offered in all programs (e.g. Firefox). In that case use the top menu: click on the name of the current program, then Services > OpenPGP: OperationYouWant.