Jump to content

Exporting and importing gpg keys.


Guest chad
 Share

Recommended Posts

Hi all,

 

Anyone using gpg? I followed the Howto from the gnupgp.org website and created a key. I'm still a little confused, though, about exporting and importing keys. How do I export a key and where is it stored when I export it? Also, when importing a key from another user, is it stored in the same place?

 

I know this isn't a Mandrake specific question, but I wasn't sure where else to ask. I signed up for the gpg mailing list but so far I haven't received a reply.

 

Thanks

Chad

Link to comment
Share on other sites

Hi all,

 

Anyone using gpg? I followed the Howto from the gnupgp.org website and created a key. I'm still a little confused, though, about exporting and importing keys. How do I export a key and where is it stored when I export it? Also, when importing a key from another user, is it stored in the same place?

 

I know this isn't a Mandrake specific question, but I wasn't sure where else to ask. I signed up for the gpg mailing list but so far I haven't received a reply.

 

Thanks

Chad

 

Here is how you get GPG going with KMail:

Yes the are all located in /home/user/.gnupg

Once you have your key generated, then you import and sign all the other keys. You also have to build a trust database and cache or else you will just have a key which won't recognize the othe keys you import, just do the following.

 

$gpg --import keyname.asc

$gpg --sign-key keyname.asc

$gpg --update-trustdb

$gpg --rebuild-keydb-caches

 

You have to do this anytime you make changes to your keyrings, if not the key will not be recognized.

 

K-Mail is pretty much the only mail program I have come across for Linux that will use PGP,

Go into K-Mail Settings, K-Mail Settings, Identities, Modify the Identity you have setup, select the Advanced Tab, Hit the arrow beside the OpenPGP key option, and select change. This depends on what version of Mandrake you are using and what version of KMail you are using. You should be able to select your key, so that K-Mail uses your public keys to encrypt and decrypt messages vice doing it manually from a terminal. Cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...