Results 1 to 6 of 6

Thread: Importing private key from key server

  1. #1
    Join Date
    Mar 2007
    Location
    Punjab
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Importing private key from key server

    Greetings friends!
    I have this issue with which I want your help.
    Recently I installed Ubuntu Lucid Lynx 10.04 x64 on my laptop and as usual copied my .gnupg folder from my backup hard disk to my home directory.
    All my key configuration was back. Then I created a new key for my another email address and synced with key servers.
    I, then had to re-install Ubuntu again and alas! I forget to backup my updated .gnupg folder.
    Now my new key is on key servers and I want to import it but every time I import it, it is imported in public keys section.
    Is there any way that I can import that key to my private keys?

    P.S: I've posted this on gnuPG mailing list a month ago and got no response.
    "Willing is not enough, we must do!
    Knowing is not enough, we must apply!"

    Bruce Lee

  2. #2
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Importing private key from key server

    Key servers only store public keys for obvious reasons. So, no, unless you made a backup of your entire keyring, you cannot get the private key back. You will have to generate a new key.

    This is why the GnuPG manual stresses the importance of backups.

  3. #3
    Join Date
    Mar 2007
    Location
    Punjab
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Importing private key from key server

    Well that's a problem. Because then I'll have double keys on the keyservers. I think I should waie for the key to expire. It's just 7 month's wait.
    "Willing is not enough, we must do!
    Knowing is not enough, we must apply!"

    Bruce Lee

  4. #4
    Join Date
    Feb 2005
    Location
    Texas
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Importing private key from key server

    Take it as a important lesson for the future: your encryption keys are just as valuable as your (encrypted) data. Without one, the other is useless.

    At least you were thoughtful enough to put an expiration date on your key pair.

  5. #5
    Join Date
    Jun 2009
    Location
    Alabama
    Beans
    2,232

    Arrow Re: Importing private key from key server

    Here is an excellent article I found on how to manage your keys:

    http://blogs.koolwal.net/2009/04/01/...eys-in-debian/

    Tim
    Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit

  6. #6
    Join Date
    Mar 2007
    Location
    Punjab
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Importing private key from key server

    Quote Originally Posted by anomie View Post
    Take it as a important lesson for the future: your encryption keys are just as valuable as your (encrypted) data. Without one, the other is useless.

    At least you were thoughtful enough to put an expiration date on your key pair.
    I usually back up my gnupg folder after each week, but this time I forgot. Anyway thanks for your help and quick replies guys.
    "Willing is not enough, we must do!
    Knowing is not enough, we must apply!"

    Bruce Lee

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •