How to delete a secret key in batch mode?

Bernard bht at
Thu Sep 15 01:38:22 CEST 2005


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

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

Many thanks


More information about the Gnupg-users mailing list