Home GnuPG
Diffusion GnuPG 23d2ef83cda6

agent: Cleanup caching code for command GET_PASSPHRASE.
23d2ef83cda6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Cleanup caching code for command GET_PASSPHRASE.

* agent/command.c (cmd_get_passphrase): Read from the user cache.

We used to read the passphrase with mode CACHE_MODE_NORMAL but we put
it into the cache with CACHE_MODE_USER. However, agent_get_cache does
not yet distinguish between them and thus this does not change
anything.

Details

Provenance
wernerAuthored on May 20 2015, 4:13 PM
Parents
rG3a9305439b75: agent: When the password cache is cleared, also clear the ext. cache.
Branches
Unknown
Tags
Unknown