-
Notifications
You must be signed in to change notification settings - Fork 92
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
Provide support for ALPN in libtls #65
Comments
Carter we've simply not made a way to expose it - yet. A diff that would On Mon, Jul 4, 2016 at 5:45 PM, Carter Tazio Schonwald <
|
Cool! I'll have a look as I have time this week. What's your preferred mechanism for me to make such a patch / diff available for review ? |
Depends how serious you are with it. If you know what you are doing make a diff against the OpenBSD sources for On Mon, Jul 4, 2016 at 9:23 PM, Carter Tazio Schonwald <
|
Cool. I'll see what I can do. I'm not familiar with CVS but I'll see what Do you want the patch set relative to the open BSD libressl repo or a
|
A git patch relative to the openbsd repo here is just fine. It's a mirror of all of the relevant parts of the CVS repo. I've used git show or git format-patch on tech@openbsd a number of times. Just watch out for email whitespace damage :P |
Hehe. So maybe gzipped with a signnature of my pub key, which has been Gotcha. Also, I really appreciate how responsive you've been to my question :) On Tuesday, July 5, 2016, Brent Cook notifications@github.com wrote:
|
inline is preferable please |
I started adding ALPN support to libtls a long time back, but never got around to finishing it off - I have a working diff, which I should be able to provide soon. |
I've just posted a diff that adds ALPN support to libtls: |
Sweet! Looks like a much better patch than I would have done (my c and What time line is this likely to be reflected in libressl portable? Also On Wednesday, July 27, 2016, Joel Sing notifications@github.com wrote:
|
Sweet! Looks like a much better patch than I would have done (my c and What time line is this likely to be reflected in libressl portable? Also On Wednesday, July 27, 2016, Joel Sing notifications@github.com wrote:
|
This has been committed in OpenBSD -current, so should show up in libressl portable git sometime soon (and be in the next unstable release). Re detecting support, ideally check for the tls_config_set_alpn()/tls_conn_alpn_selected() functions, otherwise TLS_API >= 20160812. |
Thanks for being so incredible responsive and helpful. The level of On Friday, August 12, 2016, Joel Sing notifications@github.com wrote:
|
Hello!
I'm In the midst of writing a Haskell binding to libtls / libressl (in their portable build incarnation), and it seems that I can't expose alpn information unless I either violate / use the private struct rep at the libtls layer or do a more direct wrapping of the underlying libressl APIs. I'm totally fine with doing the latter. But seems like an oversight from the perspective of making it easy for a libtls user to write a simple https-v2 client or server library leveraging the libtls Api.
This may or may not have been discussed previously or already be a known issue, but I figure erring on the side of over communication :)
Cheers!
The text was updated successfully, but these errors were encountered: