aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/t-http-basic.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-07-02 19:24:15 +0000
committerWerner Koch <[email protected]>2018-07-02 19:36:19 +0000
commit8a915cd9faf052b4faa3c415f2ac5aa8d6ea1efe (patch)
tree8e79cbb1d6a1836c11c77b21908886c8c4b7b270 /dirmngr/t-http-basic.c
parentcommon: New function percent_data_escape. (diff)
downloadgnupg-8a915cd9faf052b4faa3c415f2ac5aa8d6ea1efe.tar.gz
gnupg-8a915cd9faf052b4faa3c415f2ac5aa8d6ea1efe.zip
agent: New commands PUT_SECRET and GET_SECRET.
* agent/agent.h (CACHE_MODE_DATA): New const. * agent/cache.c (DEF_CACHE_TTL_DATA): new. (housekeeping): Tweak for CACHE_MODE_DATA. (cache_mode_equal): Ditto. (agent_get_cache): Ditto. (agent_put_cache): Implement CACHE_MODE_DATA. * agent/command.c (MAXLEN_PUT_SECRET): New. (parse_ttl): New. (cmd_get_secret): New. (cmd_put_secret): New. (register_commands): Register new commands. -- These commands allow to store secrets in memory for the lifetime of the gpg-agent process. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/t-http-basic.c')
0 files changed, 0 insertions, 0 deletions