How to delete a secret key in batch mode?

David Shaw dshaw at jabberwocky.com
Thu Sep 15 05:29:09 CEST 2005


On Thu, Sep 15, 2005 at 03:20:24PM +1200, Bernard wrote:
> Hi David
> 
> Thanks for your help.
> 
> Where can I find the syntax for deleting a secret key by fingerprint?
> 
> I get an eof error when I use what I guess is the fingerprint:
> 
> 
> C:\gnupg\gpg.exe --homedir "\tmp" --fingerprint 1CBB4C01
> pub   1024D/1CBB4C01 2005-09-14
>       Key fingerprint = 361C C290 F145 7D9B AB8F  D49C 18C3 9694 1CBB
> 4C01
> uid                  bttest$actrix.gen.nz (Test key comment)
> <bttest$actrix.gen.nz>
> sub   1024g/87D138B1 2005-09-14
> 
> C:\gnupg\gpg.exe --homedir "\tmp" --batch --delete-secret-key "361C
> C290 F145 7D9B AB8F  D49C 18C3 9694 1CBB 4C01"

Take the spaces out.

David



More information about the Gnupg-users mailing list