How to decrypt and verify text or files with GPG Services?
1. Decrypt files
- right-click .gpg file
- select
Services > OpenPGP: Decrypt File
If the passphrase for your OpenPGP key is not in the cache or stored in macOS Keychain Access pinentry will ask for it.
Once decryption is finished you will see a notification. Click the notification to see the Verification Results. For signed file, GPG Services shows the result of the signature verification along with an option to show the decrypted file in Finder.
2. Decrypt text
To decrypt an encrypted text message
- mark entire PGP message from
-----BEGIN PGP MESSAGE-----
to-----END PGP MESSAGE-----
- right-click message and select
Services > OpenPGP: Decrypt Selection
If the passphrase for your OpenPGP key is not in the cache or stored in macOS Keychain Access pinentry will ask for it.
Once decryption is finished you will see the decrypted text. In case the message was also signed click the notification to see the Verification Results. GPG Services shows the result of the signature verification.
Note: not all programs show the right-click services-menu, e.g. Firefox addressed a 12 year old bug in version 113 and now also offers the beloved services menu. In some cases you can still access the services options via menu bar > program name.