GPGME Public Key Deletion Problem

Thanga Prakash S thanga at midascomm.com
Wed Jul 24 11:17:01 CEST 2002


GPGME is forming gpg command  for public key deletion as follows

"gpg --batch --comment "" --status-fd 1 --no-tty --verbose \
		--delete-key -- 0FFF776F0C28746FB2C4531ACB42839F0DD33962"

Which gives the error on execution  as

<traces on code execution>

write(2, "gpg: ", 5)                    = 5
write(2, "can\'t do that in batchmode witho"..., 43) = 43
munmap(0x40028000, 16384)               = 0
_exit(2)                                = ?

 why is this error not returned by gpgme_op_delete() ?

** Using the option --yes in command line gpg, 
	the public key deleted successfully in batch mode..
> gpg --yes --batch --comment "" --status-fd 1 --no-tty --verbose
	 --delete-key -- 0FFF776F0C28746FB2C4531ACB42839F0DD33962

-- 
thanks and regards,
S. Thanga Prakash.




















More information about the Gnupg-devel mailing list