scd: Format change to specify "rsa2048" for KEY-ATTR.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 23 Jul 2015 05:10:03 +0000 (14:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 23 Jul 2015 05:10:03 +0000 (14:10 +0900)
commitdbf4534f49a1fe3823bd6d6d7bb4d9df863b4789
treeed0d06bb7a2e0b8526c7c029f042b4a325312ad2
parentcb315d08e49b4f8181e47d0bf204a202fb226320
scd: Format change to specify "rsa2048" for KEY-ATTR.

* g10/card-util.c (do_change_keysize): Put "rsa".
* scd/app-openpgp.c (change_keyattr, change_keyattr_from_string):
Change the command format.
(rsa_writekey): Check key type.
(do_writekey): Remove "ecdh" and "ecdsa" support which was available
in experimental libgcrypt before 1.6.0.
g10/card-util.c
scd/app-openpgp.c