diff options
author | NIIBE Yutaka <[email protected]> | 2016-10-20 07:25:47 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-10-20 07:25:47 +0000 |
commit | b680f79cc112c4831293e259d7db2921bcd783a4 (patch) | |
tree | ef20d9851020b3d7ff2369f41fde675203192e37 /common/sysutils.c | |
parent | g10: smartcard keygen change. (diff) | |
download | gnupg-b680f79cc112c4831293e259d7db2921bcd783a4.tar.gz gnupg-b680f79cc112c4831293e259d7db2921bcd783a4.zip |
scd: GENKEY updates the public key in APP.
* scd/app-openpgp.c (rsa_read_pubkey, ecc_read_pubkey): New.
(read_public_key): New.
(get_public_key, do_genkey): Use read_public_key.
--
With this change, since GENKEY updates the public key (pk[keyno].key) in
APP, READKEY will be possible after the command even for the old
card (version <= 0x0100).
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions