URGENT: GNuPG 1.2.1 - secret keys help
David Shaw
dshaw at jabberwocky.com
Mon Mar 29 03:26:22 CEST 2010
On Mar 26, 2010, at 2:05 AM, Kannan, Aarthi [Tech] wrote:
> Hi,
> I am using gpg1.2.1.
> I created a key using gen-key.
> When I do a –list-keys, it lists my public key fine.
>
> When I do a –list-secret-key, I get the following error:
> gpg: keyring_get_keyblock: read error: invalid packet
> gpg: keydb_get_keyblock failed: invalid keyring
>
> I have read & write access to pubring.gpg, secring.gpg, trustdb.gpg & random_seed.
>
> Am I missing something here? Can you please help, it’s urgent – am stuck on this for a while now!
Based on the error, it looks like your secret keyring is corrupt. Do you have a backup of it?
David
More information about the Gnupg-users
mailing list