delete keys in batch mode

sec@altern.org sec@altern.org
Thu Mar 29 19:07:11 2001


Hi,

I definetly *need* to be able to delete public and secret keys in batch mode.

How can I do that since the following command doesn't work :

prompt$ gpg --batch --yes --delete-secret-key fookey

gpg (GnuPG) 1.0.4; Copyright (C) 2000 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: Warning: using insecure memory!
gpg: can't do that in batchmode

Any help would be appreciated.