LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-02-2007, 02:23 AM   #1
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Rep: Reputation: 15
Moving the gnupg key


Hi,

I have moved my working default log-in to openSUSE10.2 (KDE desk on hda12 partition). Previously my working (default) system was on suse10.0 (KDE desk on hda5 partition).

On the "old" suse10.0 I had installed kgpg program and initialised a gnupg key for mail on KMail. (The key server is hkp://subkeys.pgp.net). As this signature verification facility is new to me, I think I have made a mistake of not setting any time limit to the validity of the key.

Now that I have moved to a new version of suse (and to a different partition), I would like to move the private key to the new openSUSE10.2 installation. I do make the different installations share the "Documents" folder by replacing the $HOME/Documents by a symbolic link to a Documents directory on a separate partition.

I have no idea how to move the key with all the information to the new installation. I do have easy access to the configuration files in $HOME/.gnupg/ in the suse10.0 installation. Can I just copy those files to the new installation? Should I perhaps install kgpg freshly and then try to copy old configuration files?

Any suggestions and help will be greatly appreciated.

This forum has a marvellous record in my books for meaningful and fast response - I thank you all in anticipation.

Best wishes for the New Year!

OldAl (and getting older every day...)
 
Old 01-02-2007, 07:59 AM   #2
Nick_Battle
Member
 
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 13.1
Posts: 159

Rep: Reputation: 33
> I do have easy access to the configuration files in $HOME/.gnupg/ in the
> suse10.0 installation. Can I just copy those files to the new installation?

That should do the trick, yes. Kgpg and KMail just use the underlying "raw" gpg program and its data files, which are all under the ~/.gnupg directory, so after you've copied these files, everything should see the old key(s) as before.

HTH,
-nick
 
Old 01-02-2007, 11:46 PM   #3
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nick_Battle
>That should do the trick, yes. Kgpg and KMail just use the underlying "raw" gpg program and its data files, which are all under the ~/.gnupg directory, so after you've copied these files, everything should see the old key(s) as before.
HTH,
-nick
Thank you, Nick. I will try to install kgpg in openSUSE10.2 and then will copy the ~/.gnupg directory across from 10.0 installation and will report what happens.

Good of you to respond - Greatly appreciated!
 
Old 01-03-2007, 03:40 AM   #4
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by OldAl
Thank you, Nick. I will try to install kgpg in openSUSE10.2 and then will copy the ~/.gnupg directory across from 10.0 installation and will report what happens.
Good of you to respond - Greatly appreciated!
Well, I have done it. It turns out that the kgnugp was already installed as a part of kdeutils3. After copying ~/.gnupg over and a minor tweeking of KMail:
Settings -> Configure KMail -> Security -> Composing x Automatically sign messages and also:

-> Crypto Backend v OpenPGP (gpg)

the signing and signature verification sprung to life. Success!

Thank you again,

OldAl.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packman "Unknown GnuPG key" error erpe SUSE / openSUSE 1 12-09-2006 11:33 AM
SSH public/private key authentication with GnuPG keys? thinksincode Linux - Security 1 02-25-2005 02:33 PM
elliptic curve public key for gnupg? iansworld Linux - Security 0 12-09-2004 12:12 PM
how to add PGP key to GnuPG or PGPKeyring " zameer_india Linux - Software 3 10-05-2004 11:21 PM
simple gnuPG private key question. qwijibow Linux - Security 1 10-11-2003 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration