summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump iana-time-zone from 0.1.47 to 0.1.48 in /src/rust (#7608)dependabot[bot]2022-09-131-2/+2
| | | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.47 to 0.1.48. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md) - [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.47...v0.1.48) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump js-sys from 0.3.59 to 0.3.60 in /src/rust (#7606)dependabot[bot]2022-09-131-12/+12
| | | | | | | | | | | | | | | | | | Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.59 to 0.3.60. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) --- updated-dependencies: - dependency-name: js-sys dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* use fixed pool to improve perf of aead ChaCha20Poly1305 (#7601)Paul Kehrer2022-09-122-16/+83
| | | | | | | | * use fixed pool to improve perf of aead ChaCha20Poly1305 ~35-45% speedup on benchmarks when reusing the same key for multiple operations * remove unneeded call
* Remove destroy from FixedPool (#7602)Alex Gaynor2022-09-112-23/+2
| | | turns out we don't need it
* Final set of cleanups to comments and bindings for dropping OpenSSL 1.1.0 ↵Alex Gaynor2022-09-112-7/+7
| | | | (#7598)
* implement __deepcopy__() for ObjectIdentifier (fixes #7587) (#7597)Mathias Ertl2022-09-111-0/+4
|
* simplify code now that we're >=1.1.1 only (#7595)Alex Gaynor2022-09-111-3/+1
|
* remove outdated comments and simplify code (#7594)Alex Gaynor2022-09-111-5/+3
|
* remove openssl header include that no longer appears required (#7592)Alex Gaynor2022-09-111-7/+0
|
* Remove pyOpenSSL fallback. (#7590)Alex Gaynor2022-09-116-127/+0
| | | We already require pyOpenSSL>=22.0, but pyOpenSSL has not required this fallback since 21.0.
* fixes #7109 -- update final comments for having dropped 1.1.0 (#7591)Alex Gaynor2022-09-112-6/+6
|
* fix parsing for CRLs with TLVs > 65535 bytes (#7575)Paul Kehrer2022-09-072-5/+5
| | | | | | | | | | * add CRL test vector with 9,999 revoked items * bump rust-asn1 * add large CRL test this tests CRLs larger than 65535 bytes in size. rust-asn1 supports up to 4GiB TLVs now, but we'll avoid putting a test vector that big for now
* Remove deprecated support for x.509 signing with SHA1 and MD5 (#7573)Alex Gaynor2022-09-073-52/+0
|
* fixes #7179 -- remove deprecated from_encoded_point (#7572)Alex Gaynor2022-09-072-46/+0
|
* Increase our minimum LibreSSL. (#7571)Alex Gaynor2022-09-074-27/+0
| | | OpenBSD 7.0 ships 3.4, and Alpine 3.14 ships 3.3.6
* Drop OpenSSL 1.1.0 (#7570)Alex Gaynor2022-09-076-59/+10
| | | | | There's still a few TODOs for cleanup. Refs #7109
* reopen main for 39 dev (#7568)Paul Kehrer2022-09-071-1/+1
|
* version bump for 38 release (#7567)38.0.0Paul Kehrer2022-09-061-1/+1
|
* Bump rust-asn1 to 0.12.1 (#7564)Alex Gaynor2022-09-052-5/+5
|
* Bump rust-asn1 to 0.12.0 (#7563)Alex Gaynor2022-09-062-5/+5
|
* support setting more PKCS12 serialization encryption options (#7560)Paul Kehrer2022-09-053-6/+149
| | | | | | | | | | | | | | | | | | * support setting more PKCS12 serialization encryption options This is limited support, but makes it possible to set two different PBES choices as well as set KDF rounds and MAC algorithm * Apply suggestions from code review Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> * review feedback redux * Update docs/hazmat/primitives/asymmetric/serialization.rst Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* Bump once_cell from 1.13.1 to 1.14.0 in /src/rust (#7559)dependabot[bot]2022-09-021-2/+2
| | | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.14.0. - [Release notes](https://github.com/matklad/once_cell/releases) - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ouroboros from 0.15.3 to 0.15.4 in /src/rust (#7557)dependabot[bot]2022-09-011-4/+4
| | | | | | | | | | | | | | | | | Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.15.3 to 0.15.4. - [Release notes](https://github.com/joshua-maros/ouroboros/releases) - [Commits](https://github.com/joshua-maros/ouroboros/commits) --- updated-dependencies: - dependency-name: ouroboros dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump iana-time-zone from 0.1.46 to 0.1.47 in /src/rust (#7552)dependabot[bot]2022-08-311-2/+3
| | | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.46 to 0.1.47. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md) - [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.46...v0.1.47) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump android_system_properties from 0.1.4 to 0.1.5 in /src/rust (#7548)dependabot[bot]2022-08-301-2/+2
| | | | | | | | | | | | | | | | | Bumps [android_system_properties](https://github.com/nical/android_system_properties) from 0.1.4 to 0.1.5. - [Release notes](https://github.com/nical/android_system_properties/releases) - [Commits](https://github.com/nical/android_system_properties/commits) --- updated-dependencies: - dependency-name: android_system_properties dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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.7 to 0.4.8 in /src/rust (#7546)dependabot[bot]2022-08-281-2/+2
| | | | | | | | | | | | | | | | | | Bumps [lock_api](https://github.com/Amanieu/parking_lot) from 0.4.7 to 0.4.8. - [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.7...lock_api-0.4.8) --- updated-dependencies: - dependency-name: lock_api dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add AES128/AES256 classes (#7542)Paul Kehrer2022-08-263-6/+38
| | | | | | | | | | | These let developers be more explicit about the allowable key lengths for an AES key and make auditing the codebase a bit easier. But that's not really why we're adding them. In some upcoming serialization features we need to be able to specify AES 128 vs AES 256 and the current class doesn't work for that since it computes key length from the key you provide it when instantiating the class. That's incompatible with serialization where the key is derived later in the process. C'est la vie.
* Bump ouroboros from 0.15.2 to 0.15.3 in /src/rust (#7536)dependabot[bot]2022-08-231-4/+4
| | | | | | | | | | | | | | | | | Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.15.2 to 0.15.3. - [Release notes](https://github.com/joshua-maros/ouroboros/releases) - [Commits](https://github.com/joshua-maros/ouroboros/commits/0.15.3) --- updated-dependencies: - dependency-name: ouroboros dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Revert "restore some bindings for older pyopenssl temporarily (#7136)" (#7532)Alex Gaynor2022-08-235-42/+0
| | | | | | | * Revert "restore some bindings for older pyopenssl temporarily (#7136)" This reverts commit be4c22256ef0f76c6bc727420dafdac51f4badf8. * Changelog entry
* PoC for making key serialization more configurable (#7520)Alex Gaynor2022-08-224-5/+74
|
* Remove nanoseconds from datetime in OCSP (#7530)Alex Gaynor2022-08-191-1/+2
| | | DER doesn't actually serialize them, and rust-asn1 may reject them
* Bump iana-time-zone from 0.1.45 to 0.1.46 in /src/rust (#7529)dependabot[bot]2022-08-191-2/+2
| | | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.45 to 0.1.46. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md) - [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.45...v0.1.46) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump once_cell from 1.13.0 to 1.13.1 in /src/rust (#7524)dependabot[bot]2022-08-171-2/+2
| | | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1. - [Release notes](https://github.com/matklad/once_cell/releases) - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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.131 to 0.2.132 in /src/rust (#7523)dependabot[bot]2022-08-171-2/+2
| | | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.131 to 0.2.132. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.131...0.2.132) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix issue #7513 - parsing of RFC4514 strings should reverse the order of ↵Alexandre Machado2022-08-161-1/+9
| | | | | | | | | | | | | | | | | RDNs (#7514) * Fix issue #7513 - parsing of RFC4514 strings should reverse the order of RDNs * Solving code formating issues * Adding comment justifing the reversal of rdns on the RFC4514 parser * Comment changes on CHANGELOG.rst * fixing a typo on method link at CHANGELOG.rst * Removing reference to protected class _RFC4514NameParser from CHANGELOG.rst Co-authored-by: Alexandre Machado <alexandre@softnex.com.br>
* Bump iana-time-zone from 0.1.44 to 0.1.45 in /src/rust (#7516)dependabot[bot]2022-08-161-2/+2
| | | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.44 to 0.1.45. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md) - [Commits](https://github.com/strawlab/iana-time-zone/compare/0.1.44...v0.1.45) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* remove ext_package so top_level.txt is accurate in wheel metadata (#7511)anthony sottile2022-08-151-1/+1
|
* use the correct way of detecting backend feature (#7509)Alex Gaynor2022-08-151-2/+3
|
* try `EVP_CIPHER_fetch` due to `EVP_get_cipherbyname` is deprecated in ↵Weizheng Xu2022-08-151-1/+16
| | | | GetCipherByName (#7503)
* KBKDF: add CounterLocation.MiddleFixed (#7489)Jean Paul Galea2022-08-151-6/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * KBKDF: add CounterLocation.MiddleFixed * tests_kbkdf: add new tests - Test CounterLocation.MiddleFixed and blocation= * test_kbkdf_vectors: make use of MIDDLE_FIXED * docs: document KBKDF CounterLocation.MiddleFixed * s/blocation/break_location/g * CHANGELOG: document KBKDF{HMAC,CMAC} CounterLocation.MiddleFixed #7489 * kbkdf: fixed is static across n iterations, only the counter changes * kbkdf: check break_location is 0..len(fixed) - Update tests to assert exception is raised when break_location < 0 or > len(fixed) - When asserting for "break_location is ignored when MiddleFixed", use break_location=0 instead of =10, to ensure we don't raise because of break_location > len(fixed) - Assert that the right error messages are returned to the user. * kbkdf: keyword-only break_location * docs: document kw-only KBKDF{HMAC,CMAC}
* Bump chrono from 0.4.21 to 0.4.22 in /src/rust (#7507)dependabot[bot]2022-08-142-5/+3
| | | | | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.21 to 0.4.22. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update to rust-asn1 0.11 (#7505)Alex Gaynor2022-08-1412-118/+175
|
* Bump BoringSSL version to 401137fec2fd855ceed7931f15a623d3cb18efdc (#7502)pyca-boringbot[bot]2022-08-131-4/+0
| | | | | | | | * Bump BoringSSL version to 401137fec2fd855ceed7931f15a623d3cb18efdc * remove boringssl ifdef Co-authored-by: BoringSSL Bot <pyca-boringbot@users.noreply.github.com> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* Bump libc from 0.2.129 to 0.2.131 in /src/rust (#7500)dependabot[bot]2022-08-121-2/+2
| | | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.129 to 0.2.131. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/commits) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove uneeded Results (#7499)Alex Gaynor2022-08-115-38/+25
|
* Bump iana-time-zone from 0.1.42 to 0.1.44 in /src/rust (#7498)dependabot[bot]2022-08-111-13/+3
| | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.42 to 0.1.44. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Commits](https://github.com/strawlab/iana-time-zone/commits) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* remove old clippy allow, add new clippy allow (for rustc 1.63) (#7496)Alex Gaynor2022-08-111-0/+4
|
* Bump iana-time-zone from 0.1.41 to 0.1.42 in /src/rust (#7493)dependabot[bot]2022-08-101-2/+2
| | | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.41 to 0.1.42. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Commits](https://github.com/strawlab/iana-time-zone/compare/0.1.41...0.1.42) --- updated-dependencies: - dependency-name: iana-time-zone dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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.127 to 0.2.129 in /src/rust (#7492)dependabot[bot]2022-08-101-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.127 to 0.2.129. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.127...0.2.129) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump chrono from 0.4.20 to 0.4.21 in /src/rust (#7490)dependabot[bot]2022-08-092-3/+42
| | | | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.20 to 0.4.21. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.20...v0.4.21) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>