aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-10-20 04:30:47 +0000
committerNIIBE Yutaka <[email protected]>2016-10-20 04:30:47 +0000
commit980c037bedb968ddf155dd334c0a70b918a17759 (patch)
tree9edc34bfa918ba081506f9e6d0596963f2d465b7 /common/sysutils.c
parentagent: Add --card option for READKEY. (diff)
downloadgnupg-980c037bedb968ddf155dd334c0a70b918a17759.tar.gz
gnupg-980c037bedb968ddf155dd334c0a70b918a17759.zip
g10: smartcard keygen change.
* g10/call-agent.c (scd_genkey_cb_append_savedbytes): Remove. (scd_genkey_cb): Only handle KEY-CREATED-AT and PROGRESS. (agent_scd_genkey): Remove INFO argument. CREATETIME is now in/out argument. (agent_readkey): Use READKEY --card instead of SCD READKEY. * g10/keygen.c (gen_card_key): Use READKEY --card command of the agent to retrieve public key information from card and let the agent make a file for private key with shadow info. -- This change removes gpg's KEY-DATA handling for SCD GENKEY. Information with KEY-DATA is simply not used. Instead, it is read by READKEY --card command of gpg-agent. This can consolidate public key handling in a single method by READKEY. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions