gnupg/agent
Werner Koch 1b460f049e
gpg: Try to use the passphrase from the primary for --quick-addkey.
* agent/command.c (cmd_genkey): Add option --passwd-nonce.
(cmd_passwd): Return a PASSWD_NONCE in verify mode.
* g10/call-agent.c (agent_genkey): Add arg 'passwd_nonce_addr' and do
not send a RESET if given.
(agent_passwd): Add arg 'verify'.
* g10/keygen.c (common_gen): Add optional arg 'passwd_nonce_addr'.
(gen_elg, gen_dsa, gen_ecc, gen_rsa, do_create): Ditto.
(generate_subkeypair): Use sepeare hexgrip var for the to be created
for hexgrip feature.  Verify primary key first.  Make use of the
passwd nonce.  Allow for a static passphrase.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-06-02 21:21:08 +02:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am agent: Allow gpg-protect-tool to handle openpgp-native protection. 2016-04-14 12:29:29 +02:00
agent.h agent: Implement new protection mode openpgp-s2k3-ocb-aes. 2016-04-12 14:38:44 +02:00
cache.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
call-pinentry.c agent: New option --pinentry-timeout 2016-01-20 11:22:44 +01:00
call-scd.c common: New put_membuf_cb to replace static membuf_data_cb. 2016-01-08 06:33:27 +01:00
command-ssh.c agent: Implement new protection mode openpgp-s2k3-ocb-aes. 2016-04-12 14:38:44 +02:00
command.c gpg: Try to use the passphrase from the primary for --quick-addkey. 2016-06-02 21:21:08 +02:00
cvt-openpgp.c agent: Implement new protection mode openpgp-s2k3-ocb-aes. 2016-04-12 14:38:44 +02:00
cvt-openpgp.h agent: IMPORT_KEY with --force option fix. 2015-12-24 14:19:53 +09:00
divert-scd.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
findkey.c common: Add support for the new extended private key format. 2016-04-21 14:38:53 +02:00
genkey.c agent: Implement new protection mode openpgp-s2k3-ocb-aes. 2016-04-12 14:38:44 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Make --allow-loopback-pinentry the default. 2016-05-04 09:24:18 +02:00
keyformat.txt common: Add support for the new extended private key format. 2016-04-21 14:38:53 +02:00
learncard.c agent: Add --force option for LEARN. 2015-04-03 17:33:11 +09:00
pkdecrypt.c agent: Replace some sprintf. 2014-12-02 14:13:53 +01:00
pksign.c agent: Fix RSA verification for card. 2016-01-05 10:15:49 +09:00
preset-passphrase.c common: Remove two JNLIB_ macros (jnlib merge). 2015-04-24 16:10:15 +02:00
protect-tool.c agent: Allow gpg-protect-tool to handle openpgp-native protection. 2016-04-14 12:29:29 +02:00
protect.c agent: Fix regression due to recent commit 4159567. 2016-04-14 12:29:36 +02:00
t-protect.c agent: Implement new protection mode openpgp-s2k3-ocb-aes. 2016-04-12 14:38:44 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Improve error handling. 2015-11-19 16:18:20 +01:00
w32main.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00