* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.
authorWerner Koch <wk@gnupg.org>
Thu, 27 Jun 2002 07:29:29 +0000 (07:29 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 27 Jun 2002 07:29:29 +0000 (07:29 +0000)
commit56b049686fccd110a368352ac704a9f0eeed67a8
treed01226c73876fa4fe966653e982b65d4ede84046
parent738e6d8212971a2d1e696e88977f9395956ef717
* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.

* findkey.c (agent_write_private_key,agent_key_from_file)
(agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant.
* gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.

* protect-tool.c (store_private_key): New.
(import_p12_file): Store the new file if requested.
(main): New options --force and --store.

* gpg-agent.c (main): Set a global flag when runing detached.
* query.c (start_pinentry): Pass the list of FD to keep in the
child when not running detached.
* call-scd.c (start_scd): Ditto.
13 files changed:
agent/ChangeLog
agent/Makefile.am
agent/agent.h
agent/call-scd.c
agent/command.c
agent/divert-scd.c
agent/findkey.c
agent/gpg-agent.c
agent/minip12.c
agent/protect-tool.c
agent/query.c
agent/simple-pwquery.c [new file with mode: 0644]
agent/simple-pwquery.h [new file with mode: 0644]