Missing TLS HandshakeType support (certificate_request) #19521
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Milestone
Zig Version
0.11.0
Steps to Reproduce and Observed Behavior
I found this issue when trying to connect to a postgres database which requires ssl.
In std.crypto.tls.Client there is a switch statement over the HandshakeType, but
certificate_request
is unhandled, so I simply receiveerror.TlsUnexpectedMessage
instead of being able to connect to my database.In the TLS RFC,
A server which is authenticating with a certificate MAY optionally request a certificate from the client
So it seems this must be supported in some cases, unless I'm mistaken?
Expected Behavior
HandshakeType.certificate_request
to be supported, if it is indeed required for the protocolThe text was updated successfully, but these errors were encountered: