Mailing List Archive

import of multiple secret keys is stopped as soon as a wrong password for one of the secret keys is entered
Hello,

I am having trouble importing keys from an old private key ring that I
recovered from a back-up hard drive that is about 10 years old: PGP
Private Keyring.skr. There are at least 10 pairs of keys in the ring and
when I import (either by drag and drop into GPGKeychain; or from the
command line), I get a prompt at each private key for the passphrase prior
to being able to import the next key.

The issue is that I lost the password for one of the keys (the third one in
the list) and I can't get past this to the next keys.

Is there any to get around this?

I have the public key information for all the other keys, is there a way I
can selectively bypass this problematic lost key? ie. is there a way I can
import the other private keys without knowing the passphrase from the one
problematic key pair in the PGP Private Keyring.skr file?

Thanks
Re: import of multiple secret keys is stopped as soon as a wrong password for one of the secret keys is entered [ In reply to ]
Hi


On Friday 7 August 2020 at 6:16:10 PM, in
<mid:CAEfSb-R9B2imr9Pq=k9DTEVH+w-UA=kL5DS4UP09hSmDMW-XHQ@mail.gmail.com>,
Ahmad via Gnupg-users wrote:-


> The issue is that I lost the password for one of the
> keys (the third one in
> the list) and I can't get past this to the next keys.

> Is there any to get around this?

gpg --delete-secret-keys [key-ID]
gpg --delete-key [key-ID]

You might want to make a backup first in case you find the key's
passphrase later.

--
Best regards

MFPA <mailto:2017-r3sgs86x8e-lists-groups@riseup.net>

Can you imagine a world with no hypothetical situations?