Comments (3)
Why on earth should two different libraries be trying to coordinate their info_callbacks on the same Context using pyOpenSSL as an intermediary?
from pyopenssl.
In Twisted, the application hands us a Context
object and that's basically the whole interface. Now we have features that Twisted wants to provide directly, but mangling the application-provided Context
would break an application relying on that callback staying set.
The typical Python idiom for this sort of thing is for the set_..._callback
function to return the previously-set callback for specifically this reason.
from pyopenssl.
It's worth noting that OpenSSL recognizes the need for this as well, and does have SSL_CTX_get_info_callback
and SSL_get_info_callback
; they're just not exposed by pyOpenSSL.
from pyopenssl.
Related Issues (20)
- [feature request] implement new API "SSL.Context.set_cert_store" HOT 2
- Stop using BN_set_word HOT 1
- Python 3.12 raises deprecation warning related to `datetime.utcnow()` HOT 7
- cryptography vulernabilities CVE-2023-38325 HOT 1
- HUE build failing with error message, need edge case handling HOT 2
- Does order matter when verifying an X.509 store? HOT 2
- X509Extension __str__() method raises exception for unknown extension types HOT 1
- CI tests failing due to new version of flake8
- TLSv1 handshake failure when called do_handshake() error : OpenSSL.SSL.Error: [('SSL routines', '', 'no protocols available')] HOT 1
- Is there a way to get the session_id from the pyopenssl HOT 9
- Deprecate `X509Extension` and `CRL` APIs HOT 5
- High CPU and bandwidth usage with small send()s in OpenSSL.SSL.Connection HOT 2
- Fix vulnerability CVE-2023-3817 HOT 1
- Selection of PKCS12 MAC algorithm HOT 1
- MemoryError: Cannot allocate write+execute memory for ffi.callback() in ASLR enabled machine - FreeBSD HOT 2
- Latest version of the pyopenssl library giving following error HOT 16
- Implement PyOpenSSL deprecated functions as calls into Cryptography library HOT 3
- Use SSL_session_reused API HOT 1
- RemoveError: 'pyopenssl' is a dependency of conda and cannot be removed from conda's operating environment. HOT 2
- Add support for retrieving negotiated SRTP profile HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyopenssl.