aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-03-29 01:48:37 +0000
committerNIIBE Yutaka <[email protected]>2018-03-29 01:48:37 +0000
commit02d7bb819ff44cc90212568dd6ce24ae1dc5d17f (patch)
tree5e9f28ad76122df9629b9c26baea56b68aec9f9e /agent/command-ssh.c
parentg10: Change ask_curve so that it can be used outside. (diff)
downloadgnupg-02d7bb819ff44cc90212568dd6ce24ae1dc5d17f.tar.gz
gnupg-02d7bb819ff44cc90212568dd6ce24ae1dc5d17f.zip
g10: check_pin_for_key_operation should be just before genkey.
* g10/card-util.c (generate_card_keys): Check PIN later. (card_generate_subkey): Likewise. -- Changing key attribute resets PIN authentication status. So, CHECKPIN should be after that, before key generation. Note that CHECKPIN is done for binding signature. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions