gnupg/agent
Werner Koch 8a915cd9fa
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 <wk@gnupg.org>
2018-07-02 21:36:19 +02:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
agent.h agent: New commands PUT_SECRET and GET_SECRET. 2018-07-02 21:36:19 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: New commands PUT_SECRET and GET_SECRET. 2018-07-02 21:36:19 +02:00
call-pinentry.c agent: Clean up pinentry access locking. 2017-10-27 14:15:58 +02:00
call-scd.c Merge branch 'STABLE-BRANCH-2-2' into master 2018-04-10 10:14:30 +02:00
command-ssh.c Merge branch 'STABLE-BRANCH-2-2' into master 2018-04-10 10:14:30 +02:00
command.c agent: New commands PUT_SECRET and GET_SECRET. 2018-07-02 21:36:19 +02:00
cvt-openpgp.c Merge branch 'STABLE-BRANCH-2-2' into master 2018-03-27 08:48:00 +02:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
findkey.c agent: Make the request origin a part of the cache items. 2018-03-27 08:40:58 +02:00
genkey.c agent: Make the request origin a part of the cache items. 2018-03-27 08:40:58 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Add DBUS_SESSION_BUS_ADDRESS et al. to the startup list. 2018-06-06 18:29:15 +02:00
keyformat.txt doc: Fix Dijkstra 2017-12-08 07:40:06 +01:00
learncard.c agent: Fix returning GPG_ERR_NOT_FOUND wrongly. 2017-11-02 17:04:03 +01:00
pkdecrypt.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
pksign.c agent: Minor cleanup (mostly for documentation). 2017-07-28 10:38:57 +02:00
preset-passphrase.c Fix usage of ARGPARSE_OPTS. 2017-07-19 13:41:18 +09:00
protect-tool.c agent: Make the request origin a part of the cache items. 2018-03-27 08:40:58 +02:00
protect.c Merge branch 'STABLE-BRANCH-2-2' into master 2017-12-11 10:42:38 +01:00
t-protect.c agent: Fix description of shadow format. 2017-12-08 09:19:50 +09:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00