Page MenuHome GnuPG

Deleted keys are not removed from the cache
Closed, ResolvedPublic

Description

Environment

Debian GNU/Linux Sid, gpgme 0.4.1 CVS, GnuPG 1.2.1.

Description

If a key is loaded by gpgme into the key cache, and is deleted later on by
gpgme_op_delete, the key is kept in the cache.

The implication of this is that:

	gpgme_get_key (ctx, fpt, &key, 0, 0) == GPGME_EOF

Cannot be used as a check for the existence of a key (even assuming that no
other application is changing the keyring, which I agree it's not a entirely
safe assumption).

Fix

Unknown

Event Timeline

The bug is against very old versions of GPGME. The key
cache has since been removed entirely.