Skip to content

Importing a Public Key

To be able to send someone an encrypted message (e.g. your address to a vendor), you need their public key. In order to get a vendor’s public key you have to visit his profile and look out for a link that is named like “PGP key” or “Vendor public key”. Sometimes it is also featured directly on the vendor’s profile page.

A public key looks like this:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFhNDsBEACzwJJVsMo7sIilhvcSLx2n+DVHzw1trM/C8Yao8EmWdDYe3ei9
mXRqSudBD6S4KvJfm+Ze01EQ6gGoG2q3aFYASRgcK7WDhs+jwG42EA+j2oIpU/EO
8EQXTmTn8T+LQT84JZ5KkiZZp2CqLU8RVszfkKEj1oX/s05watxNQur4fbk9FiCA
1MjHMYir1g==
=TV04
-----END PGP PUBLIC KEY BLOCK-----

The gibberish part in the middle will be a bit longer though. The “Version” line may also be different or not exist at all.

Find the public key that you want to import and copy it to your clipboard. Then open the text editor and paste it in there.

Click save and name the file key.asc.

Now open the file browser and right click on the key.asc file, then click Import Key.

If this option is missing there was a formatting problem with the key you copied. Make sure that you copied all of the key including the lines with the BEGIN and END statements and all the dashes. PGP is very picky about formatting errors.

If everything went successfully, a notification should pop up telling you that the key is imported.

If you get a pop up telling you that the import failed, there is something wrong with the public key.

Double check that you copied the entire key.