-
Notifications
You must be signed in to change notification settings - Fork 2
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
RFC 9266: Channel Bindings for TLS 1.3 support #11
Comments
Thank for opening this issue. I've read a bit about this here: https://csb.stevekerrison.com/post/2022-05-scram-detail/ I've also found your issue openssl/openssl#18893 and openssl/openssl#12221. So I guess we need to wait for OpenSSL having an API to get the correct data and this also must be supported by PHP first. |
So I've did some research regarding this issue again. Is see that OpenSSL has So this means we "only" need those methods exposed by PHPs OpenSSL extension. Python seems to have an API for this for example: https://docs.python.org/3/library/ssl.html#ssl.SSLSocket.get_channel_binding. For PHP we would need something like |
@fabiang: Have you looked for tls-server-end-point too? |
@Neustradamus afaics it's not possible to extract cert data from an open stream in PHP. The user of this library could have to make a second connection to the server host and return the certificate data to this library. Not very practical too. |
Raises head above cubicle Hello there! If I can summarise where things seem to be so far and see if I understand correctly:
Is that correct? So aside from using the exported material properly, the main need seems to be to expose Have you considered opening an issue against While this subject matter does interest me, I'm not an active developer in PHP libraries or the PHP source so I'm not sure I'm the best person to contribute as I have no vested interest in the two projects. |
@stevekerrison I've just checked if channel binding would be possible with PHP 8.4.0 RC4. Unfortunately this is still not the case, since there are still the APIs missing to accomplish this. Therefore you're completely right and my statements above are also still correct. I've opened an issue at php/php-src#16766, so let's hope this will be implemented. |
@fabiang: Thanks for your PHP ticket :) |
It was @fabiang, not me! :) |
Yes, @fabiang sorry! |
Can you add the support of RFC 9266: Channel Bindings for TLS 1.3?
Channel Bindings for TLS: https://datatracker.ietf.org/doc/html/rfc5929
Little details, to know easily:
I think that you have seen the jabber.ru MITM and Channel Binding is the solution:
Thanks in advance.
Linked to:
The text was updated successfully, but these errors were encountered: