g10: Add "key-attr" command for --card-edit.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 30 Mar 2018 01:59:10 +0000 (10:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 30 Mar 2018 01:59:10 +0000 (10:59 +0900)
commit820380335a20391e0998fb1ba32ebfb9accedc5b
treecd00f16a0c3dff5eeadc55c5b2dedb1bd727d70e
parent29692718768c28c524be6306081ab1852e75fe07
g10: Add "key-attr" command for --card-edit.

* g10/card-util.c (key_attr): New explicit command.
(generate_card_keys, card_generate_subkey): Don't ask key attr change.
(card_edit): Add for cmdKEYATTR.

--

GnuPG-bug-id: 3781
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/card-util.c