+7
−0
+103
−0
Loading
- tls_handshake_certverify_binding_test (new): drives the real
handshake_after_connect() state machine into CLI_TLS13_WAIT_CERT_VERIFY
with a hand-crafted in-memory CertificateVerify message -- no socket,
no real handshake -- proving the state machine actually calls
sigAlgMatchesLeafKey() rather than just the function being correct in
isolation (Befund A; mutation N2 removing the call now turns it red
with a different exception message than the one this test checks for).
- cert_verify_chain_test: three new scenarios --
(j)/(k) an intermediate's keyUsage extnValue that's either unparseable
(a single byte) or parses as the wrong ASN.1 type (INTEGER instead
of BIT STRING) -- both "present but unreadable", must be rejected
(Befund B; Probe P1, Mutation N5),
(l) a foreign root sharing the trusted root's exact Subject DN but a
different keypair signs the leaf -- the DN-based candidate lookup
finds the real root, but the actual cryptographic signature check
against it must still reject (Befund E; Mutation M5).
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>