Currently, the enum TLS::Signature_Scheme::Code does not contain code points for brainpool signatures RFC 8734 (0x081A-0x081C). Instead, the implementation accepts the usage of Brainpool keys with the code points for ECDSA_SHAxxx (0x0403, 0x0503, 0x0603).
As defined in RFC 8446 Section 4.2.3, the code points 0x0*03 are meant for the NIST curves exclusively. Instead, we should introduce the brainpool-specific code points from RFC 8734 and fix the validation code that ensures proper association.
See also:
TLS::Signature_Scheme::is_suitable_for(Private_Key)
Handshake_State::parse_sig_format() (TLS 1.2)
Certificate_Verify_13::choose_signature_scheme()
Currently, the enum
TLS::Signature_Scheme::Codedoes not contain code points for brainpool signatures RFC 8734 (0x081A-0x081C). Instead, the implementation accepts the usage of Brainpool keys with the code points forECDSA_SHAxxx(0x0403, 0x0503, 0x0603).As defined in RFC 8446 Section 4.2.3, the code points 0x0*03 are meant for the NIST curves exclusively. Instead, we should introduce the brainpool-specific code points from RFC 8734 and fix the validation code that ensures proper association.
See also:
TLS::Signature_Scheme::is_suitable_for(Private_Key)Handshake_State::parse_sig_format()(TLS 1.2)Certificate_Verify_13::choose_signature_scheme()