How to encrypt and sign text or files with GPGServices?

Requirements: make sure you do see the "OpenPGP: options" in the services menu. If that is not the case make sure to activate GPGServices and repair permissions.

1. Encrypt files

  • open finder
  • right-click the file you want to encrypt
  • select Services > OpenPGP: Encrypt File

GPGServices_encrypt_file_rightclick.png

  • 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"

GPGServices_encrypt_file_options.png

  • 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"

GPGServices_encrypt_file_result.png

The same process applies, if you want to encrypt several files. GPGServices 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.

2. Encrypt text

  • 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)

GPGServices_encrypt_text_menu.png

  • the selection process for your recipients is identical to the one when encrypting files (see above)
  • after clicking "OK" in GPGServices you'll see the encrypted text

GPGServices_encrypt_text_result.png

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.