, , , , , , , , ,

After replacing my beloved openSUSE KDE installation with Linux Mint and all its Gnome applications, I had to switch to using Seahorse for GPG key management. But I had single entries in the UI, when there should have been two for each key after importing them.
No doubt others are encountering this little problem when trying to export public and private keys (hence this post). Don’t worry. Both components can indeed be exported easily, it’s just that Seahorse doesn’t tell users which is which, unlike KGPG.

Exporting a Public Key
Okay, so we want to export the public key? Simply right-click on the entry, and select ‘Copy‘. Next, paste in a text editor. There we have the Public key. Either post that somewhere, add it as an email signature, or save the text file with the .gpg extension.

Copying the Public Key

Pasting the Public Key in a text editor

Exporting a Private Key
Now to export the Private key, to a safe place for backup purposes, of course. Simply right-click on the entry, click ‘Properties‘, select the ‘Details‘ tab, and then click the button next to ‘Export Complete Key‘.

So, there we are. Problem solved.