PGP

The PGP support in PBM is currently using Bouncy Castle PGP 1.6.x and is compliant with inline PGP messaging. If you have a PGP keyring that was created by anything other than a version of PGP compatible with this, you will have to download a newer PGP version and create a new key pair (public/secret keys).

Look For PGP quickstart instructions here.

Settings
To setup PGP go to the
Settings dialog and select the PGP panel. Enter the full paths to the public and keyring files. Both the public and secret keyrings need to be stored in ascii armored format. You can also use the Find Public Keyring and Find Secret Keyring buttons which will bring up a File dialog and allow you to navigate to the files.

After you have filled in the keyring file names, use the Find ID button and select your ID from the list. If you would like your passphrase stored in the settings, enter it here and use the Test Passphrase button to make sure you typed it correctly. If you choose not to enter it here, you will be prompted for it when Polarbar attempts the first PGP operation and if you are worried about leaving your passphrase in memory, you can clear it by selecting Tools->PGP->Clear PGP Passphrase

Encrypting
You can PGP encrypt a message to one or multiple people. You must have a public key for each of the recipients or the encryption cannot be used as any person missing a public key would not be able to decrypt the message. The PGP encryption can take a few seconds so don't worry if you press the send and the compose dialog doesn't disappear right away.

Signing
To sign an email, bring up the Persona dialog and check the "PGP Sign Email" checkbox at the bottom. The PGP signing can take a few seconds so don't worry if you press send and the compose dialog doesn't disappear right away. You can sign messages to anyone but only recipients that you have a public key for will be able to verify the signature.

Once the passphrase has been entered, any email received will be automatically verified. If the message is PGP signed you will see the text of the message begin with -----BEGIN PGP SIGNED MESSAGE-----. If the user's public key is on your keyring and the message was verified, a green padlock will appear in the PGP icon column. If it fails verification the padlock will have a red X through it. If the message was signed but the user is not on your keyring, no PGP icons will appear in the PGP icon column.

Decrypting
To decrypt an email, simply RMB on the message and select PGP->Decrypt PGP message. The existing text in the window will disappear and the decrypted text will be shown. If you change to another message and then change back, you will see the encrypted text and you will need to decrypt it again.

Viewing users
To see the users on your public keyring from the menu go to Tools->PGP->View Public PGP IDs

Adding users
If someone has sent you their ascii keyblock, you can add them to your keyring by pressing RMB in the message window and selecting PGP->Add PGP keyblock to public keyring. PBM can also search the PGP Key Servers if you select RMB->PGP->Get FROM addr public key from keyserver and add it After you add someone's public key, you can manually verify their email by RMB->PGP->Verify PGP signature in message.

Distributing your public key
To distribute your public key to others you can enable the Autocrypt header in the PGP settings or go to the PGP Key Servers and add it there.