Repository navigation
spiffe-rustls v0.6.1
·
77 commits
to main
since this release
Patch release for outbound TLS server certificate verification hardening.
Fixed
- Outbound TLS server certificate verification: Removed logic that treated rustls
NotValidForNameandNotValidForNameContexterrors fromWebPkiServerVerifieras successful verification after combined chain-and-name validation. That behavior assumed path validation had already succeeded whenever rustls reported a TLS name mismatch, which is not a safe invariant. In some cases, it could allow a handshake to succeed without a validated trust path. Path validation is now performed explicitly withverify_server_cert_signed_by_trust_anchorbefore SPIFFE ID authorization (#346).