diff options
author | Werner Koch <wk@gnupg.org> | 2024-04-05 12:02:32 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-04-05 12:02:32 +0200 |
commit | 53c6b1e85854e242da254334ad84145b2b4d963e (patch) | |
tree | d95a1e70301bc0e25045693a132ae49bf63178fe /doc/DETAILS | |
parent | agent: Make "PKDECRYPT --kem" with optional value work. (diff) | |
download | gnupg2-53c6b1e85854e242da254334ad84145b2b4d963e.tar.xz gnupg2-53c6b1e85854e242da254334ad84145b2b4d963e.zip |
gpg: Support dual keygrips.
* g10/keyid.c (keygrip_from_pk): Add arg get_second to support dual
algos. Implement for Kyber.
(hexkeygrip_from_pk): Extend for dual algos.
* g10/call-agent.c (agent_keytotpm): Bail out for dual algos.
(agent_keytocard): Ditto.
(agent_probe_secret_key): Handle dual algos.
(agent_probe_any_secret_key): Ditto.
(agent_get_keyinfo): Allow for dual algos but take only the first key.
* g10/export.c (do_export_one_keyblock): Bail out for dual algos.
--
This also adds some fixmes which we eventually need to address.
GnuPG-bug-id: 6815
Diffstat (limited to 'doc/DETAILS')
-rw-r--r-- | doc/DETAILS | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/DETAILS b/doc/DETAILS index 583022113..a278d045f 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -169,10 +169,11 @@ described here. (the colon is quoted =\x3a=). For a "pub" record this field is not used on --fixed-list-mode. A "uat" record puts the attribute subpacket count here, a space, and then the total attribute - subpacket size. In gpgsm the issuer name comes here. The FPR and FP2 - records store the fingerprints here. The fingerprint of a + subpacket size. In gpgsm the issuer name comes here. The FPR and + FP2 records store the fingerprints here. The fingerprint of a revocation key is also stored here. A "grp" records puts the - keygrip here. + keygrip here; for combined algorithms the keygrips are delimited + by comma. *** Field 11 - Signature class @@ -186,9 +187,6 @@ described here. "rev" and "rvs" may be followed by a comma and a 2 digit hexnumber with the revocation reason. - In a "grp" record the second keygrip for combined algorithms is - given here. - *** Field 12 - Key capabilities The defined capabilities are: @@ -248,7 +246,7 @@ described here. For pub, sub, sec, ssb, crt, and crs records this field is used for the ECC curve name. For combined algorithms the first and the - second algorithm name, delimited by a '+', are put here. + second algorithm name, delimited by an underscore are put here. *** Field 18 - Compliance flags |