SPIFFE validator + "mtls_authenticated" do not support session resumption
Open
area/tls
bug
help wanted
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
On a resumed session, "peer certificate validated" is set to `false` since that bit is cert by the validator flow per connection. That means any policy using `mtls_authenticated` evaluates to `false`, and can be dangerous if used as a DENY policy. The workaround is to disable session resumption in TLS.
Contributor guide
Assessment
This issue has not been assessed yet.