Home GnuPG
Diffusion GnuPG 78e0a30fb190

agent: Cleanup caching code for command GET_PASSPHRASE.
78e0a30fb190Unpublished

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.

(backported from commit 23d2ef83cda644c6a83499f9327350d3371e8a17)

Details

Provenance
wernerAuthored on May 20 2015, 4:13 PM
Parents
rGdde8ddffd37c: agent: Backport changes from 2.1 to support an external password manager.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG78e0a30fb190: agent: Cleanup caching code for command GET_PASSPHRASE. (authored by Werner Koch <wk@gnupg.org>).May 20 2015, 4:20 PM