Re: gpg, gpa and restoration of keys

From: Bart Martens (bart.martens@advalvas.be)
Date: 03/04/02


From: bart.martens@advalvas.be (Bart Martens)
Date: Mon, 04 Mar 2002 11:09:20 GMT

In article <pan.2002.02.18.21.25.06.883766.14336@elephantstew.org>,
Adam Newton wrote:
> Hi again all,
>
> I have a simple problem with restoring backups of keys to the Gnome
> Privacy Assistant which, as I understand it, functions as a front end to
> GPG. The system is RedHat GNU/Linux 7.2.

It is correct that GPA is a front end to GPG (=GnuPG). Essentially, you want
to restore a backup of your key-pair by putting the key-pair in your
"gnupg keyring". You don't need GPA for this.

> When I created my private and personal keys using GPA, I made backups
> using and saved them off to disc.

How to restore... Depends on what you have backupped. Did you backup the
complete keyring, or did you export the public and private key and made
a backup of these two files?

> Recently, my computer HD died and I was forced to reinstall.
>
> When I came to restore my key backups, things started to get confusing.
>
> I can see no way of restoring my keys from these backups, the in-flight
> help text doesn't seem to be installed at all, and the docs on the
> website don't seem to cover this particular topic.

The docs of GnuPG are quite complete on this. You may want to read them,
if this mail doesn't help.

> So, easy question, can someone tell me how to restore my key backups for
> GPA?

If you have a copy of the exported public key and private key, then you
try this:

$ gpg --import pubkey.txt
$ gpg --allow-secret-key-import --import privkey.txt

If you have only have a copy of the private key, then try retrieving
your public key from the keyserver where you have published the key,
before importing the private key.

If you have a backup of the keyring, then try putting the keyring files
into place, probably the ~/.gnupg directory.

Good luck restoring.

Bart

>
> Pretty please? Any thoughts welcomed, TIA
>
>
> Adam.
>
>
> adamnewton@elephantstew.org



Relevant Pages

  • Re: Mailbox Backup
    ... The key point is number 12, the Recovery storage group. ... this allows you to restore your entire Exchange store to this special ... > Individual mailbox backups are not supported in ...
    (microsoft.public.windows.server.sbs)
  • Re: backup and recover of AD objects
    ... We have been built info on W2K8 backups, we push it out to an external drive on our SAN. ... http://lindstrom.nullsession.com/?cat=7 and i was able to restore a deleted object but i wasnt able to restore any of the attributes of the ... deleted object, the object that was deleted was a user account that had a mailbox on an exchange 2003 server, so not sure if this tool can restore msexchange attributes? ... All the DC have a raid 1 and a raid 5 array, the raid 5 has no data on it and the raid 1 is where the OS lives. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Windows Backup Utility Question
    ... Acronis True Image ... If you're just wanting to do backups of the user folders, ... We normally have Backup Plus run at night, backing up incrementally to DVD, ... It's important to periodically verify that you can restore ...
    (microsoft.public.windowsxp.general)
  • Re: parallel backup and restore w onbar
    ... The reason I want to do it is for speeding up the backups and restores. ... parallel backup and restore w onbar ... Each table is a different dbspace ...
    (comp.databases.informix)
  • Re: How Safe are Backups?
    ... we do SQL backups as well. ... the STSADM backups are really only for document and ... restore our site to another box, I install everything and configure it ...
    (microsoft.public.sharepoint.windowsservices)

Quantcast