Home GnuPG
Diffusion GnuPG e2732b8e19f1

scd:piv: Support rsa3072

Description

scd:piv: Support rsa3072

* scd/app-piv.c (PIV_ALGORITHM_RSA): Rename to PIV_ALGORITHM_RSA_2048.
(PIV_ALGORITHM_RSA_3072): New.
(get_key_algorithm_by_dobj): Decide whether to use 3072 or 2048.
(do_sign): Support rsa3072.
(do_decipher): Ditto.
(do_genkey): Ditto.

Take care: Due to a lack of a PIV token capable of 3072, this has
not been tested at all.

Details

Provenance
wernerAuthored on Wed, May 28, 11:06 AM
Parents
rG15a71f108d9e: gpg: Allow updating a SHA-1 key certification w/o --force-sign-key.
Branches
Unknown
Tags
Unknown
References
HEAD -> master