aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-03-30 00:59:09 +0000
committerNIIBE Yutaka <[email protected]>2018-03-30 00:59:09 +0000
commit29692718768c28c524be6306081ab1852e75fe07 (patch)
tree2014caf3b9e0c0f169b7f1bdcbed91a103f727fe /agent/command-ssh.c
parentg10: Support key attribute change at --card-edit/generate. (diff)
downloadgnupg-29692718768c28c524be6306081ab1852e75fe07.tar.gz
gnupg-29692718768c28c524be6306081ab1852e75fe07.zip
scd: Support changing key attribute back to RSA.
* scd/app-openpgp.c (change_rsa_keyattr): Try usual RSA. -- In the OpenPGP card specification, there are multiple options to support RSA (having P and Q or not, etc.), and it is implementation dependent. Since GnuPG doesn't have knowledge which card implementation support which option and there is no way (yet) for card to express itself which key attributes are supported, we haven't supported key attribute change back to RSA. But, many card implementation uses P and Q, try this option. If other cases, factory-reset would be easier option. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions