How to delete a secret key in batch mode?

Bernard bht at actrix.gen.nz
Thu Sep 15 01:38:22 CEST 2005


Hi,

I have added a secret key in batch mode.

Now I want to delete it in batch mode.

gpg prints an error:

gpg: can't do that in batchmode
gpg: (unless you specify the key by fingerprint)

The command I use is:

C:\gnupg\gpg.exe --homedir "\tmp" --yes --batch --delete-secret-key
1CBB4C01

It looks like I am doing what the error message requests: Specifying
the key by fingerprint.

Am I overlooking anything?

I am desparately looking for an answer to this (in clean simple batch
mode).

Many thanks

Bernard






More information about the Gnupg-users mailing list