| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* support PKCS7 certificate parsing
* refcounts are different in 1.0.2
* rename the functions
* black
* empty commit
* review feedback
|
|
|
|
|
|
|
|
|
| |
* handle unnamed-but-really-named curves in 1.0.2u
* handle openssl 1.0.2 not supporting better install commands on make
* do what openssl didn't feel was necessary in 1.0.2t/u
I didn't bind the named curve constant, fight me.
|
|
|
| |
these are gone in 3.0 anyway and were removed in that draft PR
|
|
|
|
|
|
|
| |
* shrink bindings more
* readd a binding we do need
* readd two more bindings we need
|
|
|
|
|
|
|
|
|
|
| |
* remove every error we don't use in cryptography or pyopenssl
sorry external consumers, carrying things we don't use and don't have
downstream tests for has become too much of a burden
* re-add a constant we need for tests for now
* pyopenssl needs these three
|
|
|
|
|
|
|
| |
X509 signing for RSA keys that are too small. Let's just say signing
failed and attach the more specific problem as the error stack. A bit
uglier, but far more generic and stable to OpenSSL/LibreSSL/BoringSSL
Also be a bit more generic for OCSP signing
|
|
|
| |
the quest to stop using unstable openssl error codes continues
|
|
|
|
|
|
|
|
|
| |
* start trying to make our error handling a bit more generic
* remove more and black
* attach error stack to memorylimit error
* blaaack
|
|
|
|
|
|
|
|
|
|
|
| |
OPENSSL_NO_SRTP (#5338)
* fixes #5113 - Making some SRTP related symbols conditional on OPENSSL_NO_SRTP.
* don't remove one symbol, test with no-srtp
* test against a no-srtp build
Co-authored-by: Paul Kehrer <paul.l.kehrer@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test FIPS mode on centos8
* remove branch we don't take
* simpler
* better comment
* rename
* revert some things that don't matter
* small cleanups
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* disable the osrandom engine on 1.1.1d+
* skip (and run) some tests on 1.1.1d+
* simplify our conditionals
* Update src/_cffi_src/openssl/src/osrandom_engine.c
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* words
* more words
* language
* get coverage more cleverly
* a word
* Update .github/workflows/ci.yml
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
|
|
|
|
|
|
| |
* support encoding attributes via CertificateSigningRequestBuilder
* use a constant. now you know what 12 means!
* pep8
|
| |
|
|
|
| |
We have already validated that `p` is large enough to store `name`. In `strncpy` the `len` parameter should generally be the length of the target buffer, not the source buffer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove NPN bindings -- you should be using ALPN!
pyOpenSSL consumed these, but we've marked it as deprecated and it
already handles the case where the bindings are not available.
* set Cryptography_HAS_NEXTPROTONEG to 0 for pyOpenSSL
we can remove this symbol in like...5 years.
* remove another NPN related definition
* suspicious
* Revert "remove another NPN related definition"
This reverts commit d872a7d1d776858c77b8c607f63cc9b5fef1ae39.
Revert "suspicious"
This reverts commit 5b767484f1cde132f686600a46e61a18e33cbdae.
|
| |
|
| |
|
|
|
|
| |
supported) (#5231)
|
|
|
|
|
|
|
| |
* add SSL_CTX_(get|set)_keylog_callback
* For travis
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
| |
|
|
|
|
| |
Required to link in static part of pthread, e.g. pthread_atfork
Fixes https://github.com/pyca/cryptography/issues/5084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support them (#5042)
* check for suitable compiler (platform) before adding special flags
* pep8 corrections
* later pep8 messages
* add clang to auto accepted compilers
* modify syntax so multi-line is accepted
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Fixed #5050 -- dropped support for an old LibresSSL release
* Changelog
|
|
|
|
|
|
| |
* Add a comment so we can easily find a place to update later
* flake8
|
|
|
|
|
|
|
|
| |
macOS 10.12 (#5019)
* silence `Wunguarded-availability` when building with a `MACOSX_DEPLOYMENT_TARGET < 10.12`
* use `__builtin_available` rather than a `NULL` echo upon init on mac
|
|
|
|
|
|
| |
* Test against libressl 3.0
* Correctly type these ints
|
|
|
|
|
|
|
|
|
|
| |
* update openssls
* missed one
* what will this do
* only do this check for 1.1.0+
|
|
|
|
|
|
|
|
| |
* Add SSL_get0_verified_chain to cffi lib
OpenSSL 1.1.0 supports SSL_get0_verified_chain. This gives the full chain from the peer cert including your trusted CA cert.
* Work around no support for #if in cdef in old cffi
|
|
|
|
|
|
|
|
|
|
| |
* fix osrandom/builtin switching methods for 1.1.0+
In 1.1.0 RAND_cleanup became a no-op. This broke changing to the builtin
random engine via activate_builtin_random(). Fixed by directly calling
RAND_set_rand_method. This works on 1.0.x and 1.1.x
* missed an assert
|
|
|
|
|
|
| |
* add bindings to parse and create challenge passwords in X509 CSRs
* moved away from the 1.1.0 section
|
|
|
| |
Introduced in OpenSSL 1.1. Added compatibility for older versions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Use generic DTLS functions added in LibreSSL 2.9.1
While here, bump travis.
* Remove LibreSSL 2.9.0 from travis now that 2.9.1 exists.
Requested by: @reaperhulk
|
|
|
|
|
|
| |
* fix a memory leak in AIA parsing
* oops can't remove that
|
| |
|
|
|
|
|
|
| |
* Try to use getrandom even in manylinux1 wheels
* typo
|
| |
|
|
|
|
|
|
| |
* ed25519 support
* review feedback
|
| |
|
|
|
|
|
|
|
|
| |
* remove unused locking functions
we do all this in C when necessary
* oops, need this
|