boringssl
rootwin is used to access boringssl from python.
Installation
pip install boringssl
Usage
boringssl.cpp_world
You can find documentation about this object here
Example
import boringssl
import rootwin
pssl_method = boringssl.cpp_world.TLS_method()
ssl_method = pssl_method.dereference()
pssl_protocol_method = ssl_method.method
ssl_protocol_method = pssl_protocol_method.dereference()
open_handshake = ssl_protocol_method.open_handshake.dereference()
print(open_handshake.prototype)
address = open_handshake.address_of()
address = rootwin.reinterpret_cast["void*"](address)
address = address.value
print(address)
Version Info
Boringssl commit 673e61fc215b178a90c0e67858bbf162c8158993 is taken as a basis and then it is further patched using the boringssl.patch file from curl-impersonate v1.5.2 in order for it to be compatible with curl-cffi v0.15.0.
Metadata
Release files for boringssl 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| boringssl-2.0.0.tar.gz | 62.0 MB | Without provenance | Details for boringssl-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| boringssl-2.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for boringssl-2.0.0-py2.py3-none-any.whl |
Total release size: 129.2 MB
Release files / boringssl-2.0.0.tar.gz
| Download URL | boringssl-2.0.0.tar.gz |
|---|---|
| Size | 62.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ba53810f06f895e9aaa6dd9a19226979a7c419b87e99292cc385acee1a6d84
|
|
BLAKE2b-256 checksum How to use checksums |
5277fb8291eb03061047d58dfe7cb2873b38efc5d34a0115608a52f5c0410ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.0
|
Release files / boringssl-2.0.0-py2.py3-none-any.whl
| Download URL | boringssl-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 67.2 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
94548457cbf0cd8cadbf2bb93bd1796066c3a830a450bbd72ee2f9fc20ebabec
|
|
BLAKE2b-256 checksum How to use checksums |
29b067324fca25a449b4f81f0727d5d009e672c25362eaf41762b2fe9abfa7cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.0
|
Security for boringssl 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.