-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
[Demo] [Incomplete] Allow compilation and linking against BoringSSL #116399
base: main
Are you sure you want to change the base?
Commits on Mar 5, 2024
-
Google's patches to link against BoringSSL.
Does not include configure.ac or Makefile.ac changes. The _ssl_data changes are hand created rather than properly updating the code generator. A future upstream API is anticipated to deal with those better anyways.
Configuration menu - View commit details
-
Copy full SHA for a7bdf20 - Browse repository at this point
Copy the full SHA a7bdf20View commit details
Commits on Mar 6, 2024
-
Revert the switch to SSL_read_ex and SSL_write_ex.
BoringSSL, for now, does not provide these APIs because of design flaws in the API. When we've disentangled this mess, and implemented the functions in BoringSSL, this patch can be removed.
Configuration menu - View commit details
-
Copy full SHA for 3a9a06b - Browse repository at this point
Copy the full SHA 3a9a06bView commit details -
Revert upstream PR python#102918
It adds an ill-advised feature that BoringSSL can't support.
Configuration menu - View commit details
-
Copy full SHA for cb56dc5 - Browse repository at this point
Copy the full SHA cb56dc5View commit details -
TODO Undesirable: revert python#114573
This concurrency fix needs reworking for use with BoringSSL.
Configuration menu - View commit details
-
Copy full SHA for 530411f - Browse repository at this point
Copy the full SHA 530411fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad4f96 - Browse repository at this point
Copy the full SHA 1ad4f96View commit details -
Fix configure hashlib APIs check.
Don't test for hash functions that are entirely optional for a TLS implementation. This configure check should be reworked anyways, even md5 and sha1 could possibly not be present (FIPS?).
Configuration menu - View commit details
-
Copy full SHA for 0e5e1d5 - Browse repository at this point
Copy the full SHA 0e5e1d5View commit details
Commits on Mar 27, 2024
-
Merge branch 'main' into ssl/BoringSSL
some manual fixups, more testing and post-fixing will be required.
Configuration menu - View commit details
-
Copy full SHA for 0cded81 - Browse repository at this point
Copy the full SHA 0cded81View commit details -
Use the new BoringSSL ERR_ symbol APIs.
Python needs to map OpenSSL error codes like ERR_R_INTERNAL_ERROR into strings like "INTERNAL_ERROR". OpenSSL lacks an API for this, so CPython instead maintains its own table. This table is necessarily sensitive to the OpenSSL version and causes issues for BoringSSL. Rather than maintain our own copy of this table, BoringSSL has APIs to do the thing CPython actually wants. This patch switches CPython to use them. To keep the patch small, it doesn't ifdef the err_codes_to_names, etc., fields, but they are no longer necessary. See openssl/openssl#19848 and https://discuss.python.org/t/error-tables-in-the-ssl-module/25431 for context. BoringSSL API addition: https://boringssl.googlesource.com/boringssl/+/dbad745811195c00b729efd0ee0a09b7d9fce1d2
Configuration menu - View commit details
-
Copy full SHA for 6640b72 - Browse repository at this point
Copy the full SHA 6640b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bca20b - Browse repository at this point
Copy the full SHA 6bca20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca135c - Browse repository at this point
Copy the full SHA 1ca135cView commit details -
Remove keylog_bio patch, obsolete.
BoringSSL was originally missing BIO_FP_TEXT preventing the keylog callback API from working. That was added to BoringSSL.
Configuration menu - View commit details
-
Copy full SHA for 29fedb4 - Browse repository at this point
Copy the full SHA 29fedb4View commit details
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4a41ae3 - Browse repository at this point
Copy the full SHA 4a41ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22df1b1 - Browse repository at this point
Copy the full SHA 22df1b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec927e - Browse repository at this point
Copy the full SHA 2ec927eView commit details