diff --git a/agent/pksign.c b/agent/pksign.c index 6d13278ff..c94c1a197 100644 --- a/agent/pksign.c +++ b/agent/pksign.c @@ -187,7 +187,7 @@ do_encode_dsa (const byte *md, size_t mdlen, int pkalgo, gcry_sexp_t pkey, return gpg_error (GPG_ERR_INV_LENGTH); } - /* ECDSA 521 is special has it is larger than the largest hash + /* ECDSA 521 is special as it is larger than the largest hash we have (SHA-512). Thus we change the size for further processing to 512. */ if (pkalgo == GCRY_PK_ECC && qbits > 512) diff --git a/doc/DETAILS b/doc/DETAILS index 94979339f..3305be3ff 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -1576,6 +1576,19 @@ Description of some debug flags: * Miscellaneous notes +** List of useful RFCs + - RFC-3447 :: PKCS #1: RSA Cryptography Specifications Version 2.1 + - RFC-4880 :: OpenPGP + - RFC-5280 :: X.509 PKI Certificate and CRL Profile + - RFC-6818 :: Updates to the X.509 PKI Certificate and CRL Profile + - RFC-8398 :: Internationalized Email Addresses in X.509 Certificates. + - RFC-8399 :: Internationalization Updates to RFC 5280 + - RFC-5480 :: ECC Subject Public Key Information + - RFC-8813 :: Clarifications for ECC Subject Public Key + - RFC-5915 :: Elliptic Curve Private Key Structure + - RFC-5958 :: Asymmetric Key Packages + - RFC-7292 :: PKCS #12: Personal Information Exchange Syntax v1.1 + - RFC-8351 :: The PKCS #8 EncryptedPrivateKeyInfo Media Type ** v3 fingerprints For packet version 3 we calculate the keyids this way: