New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Channel binding API #12221
Comments
As your transitively linked I-D (https://tools.ietf.org/html/draft-ietf-kitten-tls-channel-bindings-for-tls13) indicates, you're supposed to define a TLS Exporte (RFC5705) value for use for channel bindings for a given protocol. Such channel bindings are compatible with all TLS versions, including 1.3 and 1.2. I'm not sure what kind of API you are imagining for "find[ing] out what channel binding mechanisms are available", though -- what kind of results would you imagine getting returned? AFAICT the |
Did read the relevant ID's and RFCs. Noted that RF 8446 (TLS 1.3) paragraph 7.5 redefines the PRF used in calculating exported key material from the one defined by RFC 5705. That does not seem to be implemented in neither OpenSSL 3.0 nor 1.1.1 |
never mind, I just found the tls13_export_key_material, looks good to me |
So it seems to me that which channel bindings are usable depends on the TLS version, so I suppose I'm looking for the right place for some code like
and something that then lets you get the corresponding blob easily. |
The exporter interface is available on all versions of TLS and is preferred over tls-unique for pre-TLS-1.3 versions. |
I watch this important issue :) |
If the tls-exporter is going to be preferred for all TLS versions then it might be nice to at least have a convenience-wrapper for it, also to make sure people don't accidently specify |
TLS 1.3 apparently invalidates existing channel binding methods, so one can no longer rely on
SSL_get_finished
,SSL_get_peer_finished
returning non-NULL as an indicator that thetls-unique
channel binding mechanism can be used.It would be nice to have a simple API for an application to find out what channel binding mechanisms are available, and those values are.
Context:
The text was updated successfully, but these errors were encountered: