summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump ouroboros from 0.15.0 to 0.15.2 in /src/rust (#7487)dependabot[bot]2022-08-081-11/+4
| | | | | | | | | | | | | | | | Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.15.0 to 0.15.2. - [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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump chrono to 0.4.20 (#7482)Alex Gaynor2022-08-042-4/+83
| | | this resolves a RUSTSEC, though we are not impacted by it
* Bump unicode-ident from 1.0.2 to 1.0.3 in /src/rust (#7480)dependabot[bot]2022-08-041-2/+2
| | | | | | | | | | | | | | | | Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.2...1.0.3) --- updated-dependencies: - dependency-name: unicode-ident 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 libc from 0.2.126 to 0.2.127 in /src/rust (#7479)dependabot[bot]2022-08-041-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.126 to 0.2.127. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.127) --- 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 syn from 1.0.98 to 1.0.99 in /src/rust (#7477)dependabot[bot]2022-08-031-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.98 to 1.0.99. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.98...1.0.99) --- updated-dependencies: - dependency-name: syn 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 quote from 1.0.20 to 1.0.21 in /src/rust (#7476)dependabot[bot]2022-08-031-2/+2
| | | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.20 to 1.0.21. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.20...1.0.21) --- updated-dependencies: - dependency-name: quote 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 proc-macro2 from 1.0.42 to 1.0.43 in /src/rust (#7475)dependabot[bot]2022-08-031-2/+2
| | | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.42 to 1.0.43. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.42...1.0.43) --- updated-dependencies: - dependency-name: proc-macro2 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>
* fixed two bindings that don't match our style guide (#7471)Alex Gaynor2022-08-021-2/+2
|
* Bump unindent from 0.1.9 to 0.1.10 in /src/rust (#7470)dependabot[bot]2022-08-021-2/+2
| | | | | | | | | | | | | | | | Bumps [unindent](https://github.com/dtolnay/indoc) from 0.1.9 to 0.1.10. - [Release notes](https://github.com/dtolnay/indoc/releases) - [Commits](https://github.com/dtolnay/indoc/compare/0.1.9...0.1.10) --- updated-dependencies: - dependency-name: unindent 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>
* document what about an UnvalidatedIA5String is unvalidated (#7453)Alex Gaynor2022-07-271-0/+3
|
* Bump redox_syscall from 0.2.15 to 0.2.16 in /src/rust (#7452)dependabot[bot]2022-07-271-2/+2
| | | | | | | | | | | | | | Bumps redox_syscall from 0.2.15 to 0.2.16. --- updated-dependencies: - dependency-name: redox_syscall 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 proc-macro2 from 1.0.41 to 1.0.42 in /src/rust (#7448)dependabot[bot]2022-07-261-2/+2
| | | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.41 to 1.0.42. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.41...1.0.42) --- updated-dependencies: - dependency-name: proc-macro2 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 proc-macro2 from 1.0.40 to 1.0.41 in /src/rust (#7447)dependabot[bot]2022-07-251-2/+2
| | | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.40 to 1.0.41. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.41) --- updated-dependencies: - dependency-name: proc-macro2 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 redox_syscall from 0.2.13 to 0.2.15 in /src/rust (#7446)dependabot[bot]2022-07-241-2/+2
| | | | | | | | | | | | | | Bumps redox_syscall from 0.2.13 to 0.2.15. --- updated-dependencies: - dependency-name: redox_syscall 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>
* remove bizzare dead code (#7444)Alex Gaynor2022-07-221-3/+1
|
* feat: drop max password length of 72 characters from ↵Andrew Pantuso2022-07-201-6/+0
| | | | 'serialize_ssh_private_key' (#7439)
* Use pyo3 warning helper (#7433)Alex Gaynor2022-07-184-49/+36
| | | Much simpler than importing the warnings module
* Added FixedPool abstraction for use in optimizing various types (#7303)Alex Gaynor2022-07-163-0/+114
|
* Bump unicode-ident from 1.0.1 to 1.0.2 in /src/rust (#7424)dependabot[bot]2022-07-161-2/+2
| | | | | | | | | | | | | | | | Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.1...1.0.2) --- updated-dependencies: - dependency-name: unicode-ident 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 pem from 1.0.2 to 1.1.0 in /src/rust (#7420)dependabot[bot]2022-07-132-3/+3
| | | | | | | | | | | | | | | | | Bumps [pem](https://github.com/jcreekmore/pem-rs) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/jcreekmore/pem-rs/releases) - [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jcreekmore/pem-rs/compare/v1.0.2...v1.1.0) --- updated-dependencies: - dependency-name: pem dependency-type: direct:production update-type: version-update:semver-minor ... 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.12.1 to 1.13.0 in /src/rust (#7398)dependabot[bot]2022-07-051-2/+2
| | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.12.1 to 1.13.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.12.1...v1.13.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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump to rust-asn1 0.10 (#7395)Alex Gaynor2022-07-055-28/+50
|
* Bump once_cell from 1.12.0 to 1.12.1 in /src/rust (#7392)dependabot[bot]2022-07-041-2/+2
| | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.12.0 to 1.12.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.12.0...v1.12.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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Backport pyo3::intern! from pyo3 0.16 (#7355)Alex Gaynor2022-07-0413-298/+572
| | | This should speed up all of these code-paths when called repeatedly.
* Re-use constant from rust-asn1 (#7386)Alex Gaynor2022-07-031-2/+2
|
* Bump smallvec from 1.8.1 to 1.9.0 in /src/rust (#7383)dependabot[bot]2022-06-301-2/+2
| | | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.1...v1.9.0) --- updated-dependencies: - dependency-name: smallvec dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Use FromPyObject for encoding distribution points (#7360)Alex Gaynor2022-06-251-9/+16
|
* Use FromPyObject for encoding basic constraints (#7371)Alex Gaynor2022-06-252-5/+2
|
* Bump smallvec from 1.8.0 to 1.8.1 in /src/rust (#7375)dependabot[bot]2022-06-251-2/+2
| | | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: smallvec 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>
* fix copyright year (#7366)Alex Gaynor2022-06-221-1/+1
|
* Simplify this, 'static not required (#7357)Alex Gaynor2022-06-211-11/+10
|
* Bump quote from 1.0.19 to 1.0.20 in /src/rust (#7353)dependabot[bot]2022-06-201-2/+2
| | | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.19 to 1.0.20. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.19...1.0.20) --- updated-dependencies: - dependency-name: quote 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 syn from 1.0.96 to 1.0.98 in /src/rust (#7352)dependabot[bot]2022-06-201-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.96 to 1.0.98. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.96...1.0.98) --- updated-dependencies: - dependency-name: syn 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 quote from 1.0.18 to 1.0.19 in /src/rust (#7351)dependabot[bot]2022-06-201-2/+2
| | | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.18 to 1.0.19. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.18...1.0.19) --- updated-dependencies: - dependency-name: quote 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 proc-macro2 from 1.0.39 to 1.0.40 in /src/rust (#7350)dependabot[bot]2022-06-201-2/+2
| | | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.39 to 1.0.40. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.39...1.0.40) --- updated-dependencies: - dependency-name: proc-macro2 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>
* Bind functions for dealing with sigalgs (#7349)Jean-Daniel2022-06-192-0/+17
| | | Fixes https://github.com/pyca/cryptography/issues/7336
* Bump unicode-ident from 1.0.0 to 1.0.1 in /src/rust (#7334)dependabot[bot]2022-06-141-2/+2
| | | | | | | | | | | | | | | | Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.0 to 1.0.1. - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.0...1.0.1) --- updated-dependencies: - dependency-name: unicode-ident 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>
* clippy warning from nightly (#7327)Alex Gaynor2022-06-101-2/+2
|
* Expose SSL_OP_IGNORE_UNEXPECTED_EOF (#7321)dreid2022-06-082-0/+18
| | | | | | | | | | | * Expose SSL_OP_IGNORE_UNEXPECTED_EOF Expose SSL_OP_IGNORE_UNEXPECTED_EOF. https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_options.html#:~:text=this%20by%20default.-,SSL_OP_IGNORE_UNEXPECTED_EOF,-Some%20TLS%20implementations * Make this conditional. * Add to _conditionals.py
* Fix new clippy warnings from nightly (#7313)Alex Gaynor2022-06-052-5/+5
|
* Bump syn from 1.0.95 to 1.0.96 in /src/rust (#7307)dependabot[bot]2022-06-031-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.95 to 1.0.96. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.95...1.0.96) --- updated-dependencies: - dependency-name: syn 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>
* X.509/Certificate: Add `tbs_precertificate_bytes` property (#7279)William Woodruff2022-05-313-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `tbs_precertificate_bytes` property * docs/x509: document `tbs_precertificate_bytes` Signed-off-by: William Woodruff <william@trailofbits.com> * tests/x509: add two trivial tests Signed-off-by: William Woodruff <william@trailofbits.com> * x509/base: fix lint Signed-off-by: William Woodruff <william@trailofbits.com> * oid: add CERTIFICATE_TRANSPARENCY (1.3.6.1.4.1.11129.2.4.4) Signed-off-by: William Woodruff <william@trailofbits.com> * hazmat/oid: rehome CERTIFICATE_TRANSPARENCY under ExtendedKeyUsageOID Signed-off-by: William Woodruff <william@trailofbits.com> * docs/x509: fix link, help the spellchecker Signed-off-by: William Woodruff <william@trailofbits.com> * x509: Raise ValueError when we can't filter SCT list extension * tests: Expect a `ValueError` when accessing `tbs_precertificate_bytes` in default example * tests, vectors: Add TBS precert vector for test comparison * docs/x509: document the `CERTIFICATE_TRANSPARENCY` OID Signed-off-by: William Woodruff <william@trailofbits.com> * docs/x509: elaborate `tbs_precertificate_bytes` Signed-off-by: William Woodruff <william@trailofbits.com> * rust/x509: remove unused OID Signed-off-by: William Woodruff <william@trailofbits.com> * x509/certificate: tweak error Signed-off-by: William Woodruff <william@trailofbits.com> * tests/x509: reorganize Signed-off-by: William Woodruff <william@trailofbits.com> * Update src/rust/src/x509/certificate.rs Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> * tests/x509: more reorg, rename Signed-off-by: William Woodruff <william@trailofbits.com> * docs: document new testvector Signed-off-by: William Woodruff <william@trailofbits.com> * docs: coax the spellchecker Signed-off-by: William Woodruff <william@trailofbits.com> * tests/x509: use a cert that doesn't require SHA-1 Signed-off-by: William Woodruff <william@trailofbits.com> * tests/x509: test for no extensions at all Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: Alex Cameron <asc@tetsuo.sh> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* lazily initialize blinding (#7292)Paul Kehrer2022-05-311-6/+25
|
* Deprecate support for MD5 and SHA1 signatures in X.509 (#7283)Alex Gaynor2022-05-282-2/+28
|
* Remove lazy_static dependency. (#7281)Alex Gaynor2022-05-274-18/+16
| | | We can use once_cell which is already in our dep tree. Eventually once_cell will be in the Rust stdlib and we can drop a dep entirely.
* new alpine new python (#7280)Alex Gaynor2022-05-281-1/+3
| | | | | | | * new alpine new python * Update ci.yml * Fix for fedora
* Remove register_interface, which was basically unused (#7234)Alex Gaynor2022-05-271-23/+0
| | | | | * Remove register_interface, which was basically unused * Remove now unused verify_interface
* Bump once_cell from 1.11.0 to 1.12.0 in /src/rust (#7250)dependabot[bot]2022-05-231-2/+2
| | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.11.0 to 1.12.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.11.0...v1.12.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Enforce that CRL and CSR versions must be valid. (#7249)Alex Gaynor2022-05-222-5/+23
| | | Fixes #7231
* Bump once_cell from 1.10.0 to 1.11.0 in /src/rust (#7241)dependabot[bot]2022-05-201-2/+2
| | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.11.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.10.0...v1.11.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>