summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump actions/setup-python from v2.2.1 to v2.2.2dependabot/github_actions/actions/setup-python-v2.2.2dependabot[bot]2021-04-132-7/+7
| | | | | | | Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.2.1 to v2.2.2. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2.2.1...dc73133d4da04e56a135ae2246682783cc7c7cb6) Signed-off-by: dependabot[bot] <support@github.com>
* Set `dirhtml` builder explicitly in the RTD config (#5964)Sviatoslav Sydorenko2021-04-121-0/+5
| | | | | | | | | | | | After introducing the `.readthedocs.yml` config in the repo, it started overriding all of the settings set via the RTD UI unintentionally switching the URL scheme. This change reverts that switch resurrecting the old one. Fixes #5863 Refs: * https://github.com/pyca/cryptography/issues/5863#issuecomment-817828152
* Converted DER parsing of SPKIs to rust (#5963)Alex Gaynor2021-04-114-28/+35
|
* Port a tiny tiny bit of the ASN.1 parsing to Rust (#5357)Alex Gaynor2021-04-115-17/+135
|
* pin to 3.9.2 due to bugs (#5962)Alex Gaynor2021-04-091-1/+1
| | | https://github.com/actions/setup-python/issues/202
* re-enable arm64 on centos (#5961)Alex Gaynor2021-04-091-2/+1
|
* Bump syn from 1.0.68 to 1.0.69 in /src/rust (#5957)dependabot[bot]2021-04-081-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.68 to 1.0.69. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.68...1.0.69) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Comment out centos arm64 builders so long as they're broken (#5956)Alex Gaynor2021-04-071-1/+2
|
* Bump libc from 0.2.92 to 0.2.93 in /src/rust (#5955)dependabot[bot]2021-04-071-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.92 to 0.2.93. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.92...0.2.93) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump lock_api from 0.4.2 to 0.4.3 in /src/rust (#5953)dependabot[bot]2021-04-051-2/+2
| | | | | | | | | | Bumps [lock_api](https://github.com/Amanieu/parking_lot) from 0.4.2 to 0.4.3. - [Release notes](https://github.com/Amanieu/parking_lot/releases) - [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md) - [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-0.4.2...lock_api-0.4.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build manylinux_2_24 wheels (#5952)Alex Gaynor2021-04-034-1/+12
| | | | | | | | | | | | | * Build manylinux_2_24 wheels * poke GHA * poke GHA * fix * poke GHA * fix
* Bump syn from 1.0.67 to 1.0.68 in /src/rust (#5949)dependabot[bot]2021-04-031-4/+4
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.67 to 1.0.68. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.67...1.0.68) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update annotation for key (#5951)Sam Bull2021-04-031-1/+5
| | | | | | | * Update annotation for key * Update fernet.py * Update fernet.py
* Bump libc from 0.2.91 to 0.2.92 in /src/rust (#5946)dependabot[bot]2021-03-311-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.91 to 0.2.92. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.91...0.2.92) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Disable coverage on pypy again (#5944)Alex Gaynor2021-03-302-2/+10
|
* dont reuse caches across different builds (#5945)Alex Gaynor2021-03-301-4/+4
|
* Bump syn from 1.0.64 to 1.0.67 in /src/rust (#5940)dependabot[bot]2021-03-301-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.64 to 1.0.67. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.64...1.0.67) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* passenv CARGO_TARGET_DIR (#5943)Alex Gaynor2021-03-301-1/+1
|
* Attempt to fix the cargo cache (#5942)Alex Gaynor2021-03-302-1/+8
|
* bump to latest liberssl (#5937)Alex Gaynor2021-03-261-1/+1
|
* Backport the 3.4.7 changelog (#5934)Alex Gaynor2021-03-251-0/+8
|
* Bump libc from 0.2.90 to 0.2.91 in /src/rust (#5929)dependabot[bot]2021-03-231-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.90 to 0.2.91. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.90...0.2.91) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ctor from 0.1.19 to 0.1.20 in /src/rust (#5930)dependabot[bot]2021-03-231-2/+2
| | | | | | | | | Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.1.19 to 0.1.20. - [Release notes](https://github.com/mmastrac/rust-ctor/releases) - [Commits](https://github.com/mmastrac/rust-ctor/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix XTS less than one block length. fixes #5885 (#5925)Paul Kehrer2021-03-212-1/+15
| | | | | * fix XTS less than one block length. fixes #5885 * make XTS test key happy
* properly document the return of load_ssh_private_key (#5927)Paul Kehrer2021-03-211-4/+4
| | | fixes #5862
* document that we support more keys in our asymmetric loaders. (#5926)Paul Kehrer2021-03-211-0/+16
| | | fixes #5911
* make get_extension_for_class a generic function (#5923)Mathias Ertl2021-03-201-2/+2
|
* Bump libc from 0.2.89 to 0.2.90 in /src/rust (#5922)dependabot[bot]2021-03-191-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.89 to 0.2.90. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.89...0.2.90) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.88 to 0.2.89 in /src/rust (#5917)dependabot[bot]2021-03-161-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.88 to 0.2.89. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.88...0.2.89) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* typehint x509.base (#5899)Mathias Ertl2021-03-156-35/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * start typing x509.base * statically type x509.base * typehint X509Backend interface * typehint at least the X509Backend interface * make _CertificateRevocationList/_CertificateSigningRequest actual subclasses of the interface (as done before for Certificate in f16bff2cb) * tell mypy to ignore lines with deliberately wrong types * signature_hash_algorithm always returns a hash algorithm (it's not optional) * Revert "signature_hash_algorithm always returns a hash algorithm (it's not optional)" This reverts commit f6a5b172b416f8ddea561203c0cf03b55e4ec50e. * hash algorithm is actually optional * fix import style * typehint parsed_version to int, which it de facto always is * minimize changes * break import cycle with conditional imports * ignore access to private members of openssl implementation * reformat code with Black * test check for missing public key
* update java sdk download link (#5916)Alex Gaynor2021-03-151-2/+2
|
* Bump syn from 1.0.63 to 1.0.64 in /src/rust (#5915)dependabot[bot]2021-03-151-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.63 to 1.0.64. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.63...1.0.64) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Typehint x509.base (only) (#5904)Mathias Ertl2021-03-113-27/+65
| | | | | | | | | | | | | | | | | * typehint x509.base * cast extension class * don't use string in typecast * use lists as default argument values (see #5904) * restore import since this is now re-exported * ignore linting errors * empty commit to trigger github actions * fix formatting issue
* Bump syn from 1.0.62 to 1.0.63 in /src/rust (#5909)dependabot[bot]2021-03-111-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.62 to 1.0.63. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.62...1.0.63) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump syn from 1.0.61 to 1.0.62 in /src/rust (#5903)dependabot[bot]2021-03-081-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.61 to 1.0.62. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.61...1.0.62) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.87 to 0.2.88 in /src/rust (#5902)dependabot[bot]2021-03-081-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.87 to 0.2.88. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.87...0.2.88) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add exceptions to Ed25519PrivateKey and Edd25519PublicKey methods. (#5898)Ajitomi, Daisuke2021-03-071-0/+10
|
* Bugfix/issue 5889 typehint get values for types (#5900)Mathias Ertl2021-03-073-34/+258
| | | | | | | | | | | | | | | | | | | | | * add type alias for IP addresses * Re-export module attributes in cryptography.x509.oid Without exporting attributes via `__all__` mypy will consider typehints of classes imported from `cryptography.x509.oid` as type Any. Example: from cryptography.x509.oid import ObjectIdentifier oid = ObjectIdentifier("1.2.3") # Any, if we do not re-export Note that while the canonical location of ObjectIdentifier is in `crytography.x509`, it is imported many times from `crytography.x509.oid` instead * add return type annotiations to constructors * overload GeneralNames.get_values_for_type * overload all implementations
* Generic extension value/typehint x509.Name (#5897)Mathias Ertl2021-03-064-5/+24
| | | | | | | * make value property return the generic value * typehint x509.Name * also ignore overloaded functions
* Bump syn from 1.0.60 to 1.0.61 in /src/rust (#5895)dependabot[bot]2021-03-051-2/+2
| | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.60 to 1.0.61. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.60...1.0.61) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.86 to 0.2.87 in /src/rust (#5891)dependabot[bot]2021-03-031-2/+2
| | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.86 to 0.2.87. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.86...0.2.87) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* more typing (#5887)Paul Kehrer2021-03-0251-184/+448
| | | | | | | | | | | * backend typing for twofactor package and more otp work * even more typing * style fixes * no generic typing for _get_backend * remove unneeded typing
* wycheproof_tests is not longer a fixture (#5886)Alex Gaynor2021-03-011-1/+0
|
* Delete unused register_interface_if (#5883)Alex Gaynor2021-03-012-33/+0
|
* Remove requires_backend_interface from tests because it was useless (#5884)Alex Gaynor2021-03-0153-520/+0
|
* changes to support typing backend (#5882)Paul Kehrer2021-02-283-16/+28
| | | this gets rid of the conditional backend type registration
* keep on typing (#5881)Paul Kehrer2021-02-283-40/+33
| | | | | * keep on typing * swear i did this
* update ocsp docs to use sha256 (#5880)Paul Kehrer2021-02-281-6/+12
| | | rfc 6960 suggests it and we want our docs to be best practice
* fix pkcs12 parse ordering. fixes #5872 (#5879)Paul Kehrer2021-02-282-5/+61
| | | | | | | | | | | | | | | | | * fix pkcs12 parse ordering. fixes #5872 * remove an unneeded print * simplify the test a bit more * index * black * Update tests/hazmat/primitives/test_pkcs12.py Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* tell people SM3/SM4 are available for compat/compliance reasons (#5878)Paul Kehrer2021-02-283-4/+12
| | | | | | | * tell people SM3/SM4 are available for compat/compliance reasons * add to changelog and linkcheck fix * tweaked language