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


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to