Results 1 to 4 of 4

Thread: Is it possible to import a PGP key from a backup?

  1. #1
    Join Date
    Jan 2009
    Location
    USA! goin downhill tho :(
    Beans
    400
    Distro
    Ubuntu 10.04 Lucid Lynx

    Is it possible to import a PGP key from a backup?

    So apparently, I didnt export my keys from my previous install. It may be on backup but, I dont know the path for where to look for it in the backup. Does anyone know if I can find these keys? Thanks

  2. #2
    Join Date
    Apr 2008
    Beans
    121

    Re: Is it possible to import a PGP key from a backup?

    You may have to do a complete restore for you to do an export.
    if you can use Virtual Box
    Create a virutal session.
    Restore.
    Export.

  3. #3
    Join Date
    Jul 2009
    Location
    Minneapolis, MN, USA
    Beans
    63
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Is it possible to import a PGP key from a backup?

    Quote Originally Posted by NFblaze View Post
    So apparently, I didnt export my keys from my previous install. It may be on backup but, I dont know the path for where to look for it in the backup. Does anyone know if I can find these keys? Thanks
    Your keys should be in ~/.gnupg. You need the pubring.gpg and secring.gpg files which are your public and private keyrings, respectively.

    I believe the commands to re-import are something like:
    Code:
    gpg --import pubring.gpg
    gpg --import secring.gpg
    Sierra square, delta square...

  4. #4
    Join Date
    Jan 2009
    Location
    USA! goin downhill tho :(
    Beans
    400
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is it possible to import a PGP key from a backup?

    I went with the latter approach , and the keys did import successfully. Thanks for you guys help.

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
  •