Home GnuPG
Diffusion GnuPG b680f79cc112

scd: GENKEY updates the public key in APP.
b680f79cc112Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 20 2016, 9:25 AM
Parents
rG980c037bedb9: g10: smartcard keygen change.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGb680f79cc112: scd: GENKEY updates the public key in APP. (authored by NIIBE Yutaka <gniibe@fsij.org>).Oct 20 2016, 9:25 AM