You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds real cryptographic verification of encode_certificate_verify's output
via crypto.ecdsa's PublicKey.verify() -- which already exists (vlib/crypto/
ecdsa/ecdsa.v:340) and was previously missed by an incomplete grep for the
wrong receiver variable name, not actually absent. The prior round-trip test
only confirmed wire framing and non-constancy; this closes the real gap:
proving the signed content, key, and DER encoding all genuinely agree, not
just that the bytes look plausible.
Two new assertions: a wrong-transcript-hash/signature pairing must NOT
verify (rules out a check that ignores the content), and a signature must be
rejected by a DIFFERENT key's public half (rules out a verify() that accepts
anything). This is a same-library round trip (OpenSSL signs, OpenSSL
verifies) -- independent-library cross-verification via a real peer's
mbedTLS still isn't exercised, since this repo has no EC certificate fixture
to build an mbedtls_pk_context from. That remaining gap is unchanged and
still documented; only the previously-incorrect "no PublicKey.verify()
exists at all" claim is fixed.
Full net.quic suite 55/55.
0 commit comments