Cebulka Blog

GPGSuite for Mac OS installation and GPG Keychain operation guide

GPGSuite is a comprehensive toolset for managing PGP encryption and PGP signatures on macOS. This guide describes how to install GPGSuite how and use GPG Keychain on Mac OS.

Installing GPG Suite on macOS #

  1. Download GPG Suite from the official website: https://gpgtools.org.
  2. Open the downloaded DMG file and drag the GPG Keychain application to the Applications folder.

Installation 1

Installation 2

  1. After installation, launch GPG Keychain using Finder or Spotlight.

Installation 3

Generating keys in GPG Keychain #

  1. Open the GPG Keychain application and click the New button.
  2. Enter your nickname and set a passphrase for the key, which will be used to protect it.
  3. Select your preferred key algorithm and size (e.g., RSA, 4096 bits) and click Create Key.

Key Generation 1

  1. When prompted to upload the key, click No, thanks!.

Key Generation 4

Backing up the private key in GPG Keychain #

  1. Go to the key management screen, select your private key, and click Export….

Backup 1

  1. Select the location where you want to save the key, and click Save.

Backup 2

  1. Ensure the key is saved in a secure location.

Backup 3

A backup copy of the private key should be encrypted with VeraCrypt or TrueCrypt and placed on external media for protection against data loss.

Importing public keys in GPG Keychain #

  1. Open the email or other communication containing the public key.
  2. Copy the public key to the clipboard. The application will automatically detect the key in the clipboard.
  3. Open the GPG Keychain application and select the Import option.

Key Import 1

  1. Then certify the public key to confirm its authenticity. Right-click on the key and select Details.

Key Import 2

  1. Confirm the key signing by selecting Ownertrust Ultimate.

Key Import 3

If the key was not automatically detected, click Import.

Encrypting messages in GPG Suite #

  1. Copy the message content you want to encrypt to the clipboard.
  2. Right-click on the copied text or the text document you want to encrypt.
  3. From the context menu, select Services .

Encryption 1

  1. Select the recipient’s public key from the list of available keys and click Encrypt.

Encryption 2

  1. After encrypting the message, copy the resulting text to the clipboard or save it to a file.

Encryption 3

We do not need to import the public key again when encrypting the next messages. The key will be saved in the program files.

Decrypting messages in GPG Suite #

  1. Copy the encrypted message to the clipboard or select the encrypted file.
  2. Right-click on the selected content or file, then choose Services .

Decryption 1

  1. If prompted for a passphrase, enter the passphrase for your private key. After decryption, the decrypted text will be available in the clipboard or in the output file.

Decryption 2

Signing messages in GPG Suite #

  1. Copy the message content you want to sign to the clipboard or select the document you want to sign.
  2. Right-click on the selected content or file.
  3. From the context menu, select Services .

Signing 1

  1. If you have more than one private key, select your private key from the list, then click Sign. The signed text or file will be saved or copied to the clipboard.

Signing 2

Avoid signing messages that seem universal. For example, a signed “I agree” or “It’s me” message can be saved and used to impersonate you in another conversation. Signed messages should be complete sentences describing the purpose and circumstances of the signature.

Verifying messages in GPG Suite #

  1. Select the signed text or file you want to verify.
  2. Right-click on the selected content or file.
  3. From the context menu, select Services .

Verification 1

Verification 2

  1. GPG Suite will display the verification result, informing you whether the signature is valid and who the author is.

Verification 3

We do not need to import the public key again when verifying subsequent signatures of the same author. The key will be saved in the program files.


Tags: