Here is the command I use:
gpg --home /home/gpgfiles --keyring /home/gpgfiles/pubring.gpg 
--list-secret-keys

From: Kannan, Aarthi [Tech]
Sent: Friday, March 26, 2010 11:36 AM
To: 'gnupg-users@gnupg.org'
Subject: URGENT: GNuPG 1.2.1 - secret keys help

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!

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

Reply via email to