Commit graph

459 commits

Author SHA1 Message Date
dependabot[bot]
7f8698ccff
Bump libc from 0.2.149 to 0.2.150 in /src/rust (#9832)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.149 to 0.2.150.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150)

---
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>
2023-11-06 13:27:32 +00:00
dependabot[bot]
9d5682e933
Bump openssl from 0.10.58 to 0.10.59 in /src/rust (#9825)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.58 to 0.10.59.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.58...openssl-v0.10.59)

---
updated-dependencies:
- dependency-name: openssl
  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>
2023-11-03 15:04:54 +00:00
dependabot[bot]
195bf51aff
Bump openssl-sys from 0.9.94 to 0.9.95 in /src/rust (#9823)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.94 to 0.9.95.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.94...openssl-sys-v0.9.95)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2023-11-03 14:54:13 +00:00
dependabot[bot]
a712d562a7
Bump openssl from 0.10.57 to 0.10.58 in /src/rust (#9816)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.57 to 0.10.58.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.57...openssl-v0.10.58)

---
updated-dependencies:
- dependency-name: openssl
  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>
2023-11-01 21:18:23 +00:00
dependabot[bot]
4782de04cb
Bump openssl-sys from 0.9.93 to 0.9.94 in /src/rust (#9813)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.93 to 0.9.94.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.93...openssl-sys-v0.9.94)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2023-11-01 21:08:04 +00:00
dependabot[bot]
a9bac40880
Bump base64 from 0.21.4 to 0.21.5 in /src/rust (#9759)
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.21.4 to 0.21.5.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.4...v0.21.5)

---
updated-dependencies:
- dependency-name: base64
  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>
2023-10-24 07:37:11 -04:00
dependabot[bot]
24fd23d15a
Bump target-lexicon from 0.12.11 to 0.12.12 in /src/rust (#9742)
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon) from 0.12.11 to 0.12.12.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.11...v0.12.12)

---
updated-dependencies:
- dependency-name: target-lexicon
  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>
2023-10-20 07:09:03 -04:00
dependabot[bot]
c388662cf3
Bump parking_lot_core from 0.9.8 to 0.9.9 in /src/rust (#9730)
Bumps [parking_lot_core](https://github.com/Amanieu/parking_lot) from 0.9.8 to 0.9.9.
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/core-0.9.8...core-0.9.9)

---
updated-dependencies:
- dependency-name: parking_lot_core
  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>
2023-10-18 02:24:43 +00:00
dependabot[bot]
cd1c6d4a8f
Bump lock_api from 0.4.10 to 0.4.11 in /src/rust (#9733)
Bumps [lock_api](https://github.com/Amanieu/parking_lot) from 0.4.10 to 0.4.11.
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-0.4.10...lock_api-0.4.11)

---
updated-dependencies:
- dependency-name: lock_api
  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>
2023-10-18 02:18:09 +00:00
dependabot[bot]
fbccf2d3e3
Bump syn from 2.0.28 to 2.0.38 in /src/rust (#9717)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.28 to 2.0.38.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.28...2.0.38)

---
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>
2023-10-12 08:44:52 -04:00
Alex Gaynor
40dfa18813
Bump to pyo3 0.20 (#9714) 2023-10-11 16:55:05 -05:00
dependabot[bot]
fe31098740
Bump libc from 0.2.148 to 0.2.149 in /src/rust (#9704)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.148 to 0.2.149.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.148...0.2.149)

---
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>
2023-10-09 07:31:21 -04:00
dependabot[bot]
56f91dd705
Bump proc-macro2 from 1.0.68 to 1.0.69 in /src/rust (#9705)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.68...1.0.69)

---
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>
2023-10-09 07:31:02 -04:00
dependabot[bot]
5b12d65f52
Bump proc-macro2 from 1.0.67 to 1.0.68 in /src/rust (#9699)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.67...1.0.68)

---
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>
2023-10-06 07:08:02 -04:00
William Woodruff
9f90767715
verification: fill in policy API internals (#9642)
* src, tests: flatten all changes

Signed-off-by: William Woodruff <william@trailofbits.com>

validation: remove Profile abstract from public APIs

One step towards removing it entirely

Signed-off-by: William Woodruff <william@trailofbits.com>

policy: disambiguate references

Signed-off-by: William Woodruff <william@trailofbits.com>

policy: remove separate rfc5280 profile

Signed-off-by: William Woodruff <william@trailofbits.com>

policy: remove profile abstraction entirely

Signed-off-by: William Woodruff <william@trailofbits.com>

rust: permitted_algorithms filtering

Signed-off-by: William Woodruff <william@trailofbits.com>

verify: simplify policy API substantially

No more manual monomorphization.

Signed-off-by: William Woodruff <william@trailofbits.com>

src, tests: remove verification code

Signed-off-by: William Woodruff <william@trailofbits.com>

validation: remove more validation code

Signed-off-by: William Woodruff <william@trailofbits.com>

* cryptography, rust: lintage

Signed-off-by: William Woodruff <william@trailofbits.com>

* cryptography, rust: lintage, add Policy.subject API

Signed-off-by: William Woodruff <william@trailofbits.com>

* src, tests: initial PolicyBuilder tests

Signed-off-by: William Woodruff <william@trailofbits.com>

* verify: Policy.validation_time getter

Signed-off-by: William Woodruff <william@trailofbits.com>

* push Store into rust

Signed-off-by: William Woodruff <william@trailofbits.com>

* cleanup, fixup

Signed-off-by: William Woodruff <william@trailofbits.com>

* tests: lintage

Signed-off-by: William Woodruff <william@trailofbits.com>

* src: lintage

Signed-off-by: William Woodruff <william@trailofbits.com>

* tests: fix linter warning

* policy: apply the relevant parts of trail-of-forks/cryptography/pull/3

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: typo

Signed-off-by: William Woodruff <william@trailofbits.com>

* fixup type hints

Signed-off-by: William Woodruff <william@trailofbits.com>

* drop dep

Not used, yet.

Signed-off-by: William Woodruff <william@trailofbits.com>

* Revert "drop dep"

This reverts commit a5154e1245e666a79838cd73784884fad6743e7f.

* mod: remove permits_* bodies

Will include these in a subsequent PR.

Signed-off-by: William Woodruff <william@trailofbits.com>

* src: drop certificate helpers as well

Not needed yet.

Signed-off-by: William Woodruff <william@trailofbits.com>

* verify: remove unneeded explicit lifetimes

Signed-off-by: William Woodruff <william@trailofbits.com>

* tests: builder API coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* tests: more coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* type hints

Signed-off-by: William Woodruff <william@trailofbits.com>

* unused derives

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation: more coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: more cov

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: more coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: add some known bad testcases

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation: remove trust_store

Not yet used.

Signed-off-by: William Woodruff <william@trailofbits.com>

* ops: add NullOps test

Signed-off-by: William Woodruff <william@trailofbits.com>

* x509: reimplement verify_directly_issued_by via CryptoOps

Tests fail, but this gets the right coverage.

Signed-off-by: William Woodruff <william@trailofbits.com>

* ops: use results

Signed-off-by: William Woodruff <william@trailofbits.com>

* src, tests: last cov, hopefully

Signed-off-by: William Woodruff <william@trailofbits.com>

* test: lintage

Signed-off-by: William Woodruff <william@trailofbits.com>

* docs: fill in API docs

Signed-off-by: William Woodruff <william@trailofbits.com>

* rust: uniform imports

Signed-off-by: William Woodruff <william@trailofbits.com>

* minimize for MVP

No configurable profile, Web PKI only.

Signed-off-by: William Woodruff <william@trailofbits.com>

* verify: remove old NOTE

Signed-off-by: William Woodruff <william@trailofbits.com>

* verify: remove another old NOTE

Signed-off-by: William Woodruff <william@trailofbits.com>

* src, tests: fixup tests

Signed-off-by: William Woodruff <william@trailofbits.com>

* docs: cleanup

Signed-off-by: William Woodruff <william@trailofbits.com>

* src, tests: drop support for missing subjects

As part of the MVP.

Signed-off-by: William Woodruff <william@trailofbits.com>

* profile: remove old comments

Signed-off-by: William Woodruff <william@trailofbits.com>

* verification: deconflict docs

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation: bump pem dev-dep

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation: drop PolicyError

Not part of these changes.

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation: drop Policy::rfc5280

Not needed yet; not part of MVP.

Signed-off-by: William Woodruff <william@trailofbits.com>

* `Policy::webpki` -> `Policy::new`

Bad merge.

Signed-off-by: William Woodruff <william@trailofbits.com>

* validation/policy: remove configuration APIs

Rust-only, unused, non-MVP.

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
2023-09-29 21:04:03 -04:00
dependabot[bot]
e7482d55a5
Bump smallvec from 1.11.0 to 1.11.1 in /src/rust (#9641)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.0...v1.11.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>
2023-09-21 07:13:18 -04:00
William Woodruff
324eb6f8ea
rust: add PyCryptoOps (#9606)
* rust: add PyCryptoOps

Reimplements `verify_directly_issued_by` in terms of `PyCryptoOps`,
for free coverage.

Signed-off-by: William Woodruff <william@trailofbits.com>

* rust: is_signed_by -> verify_signed_by

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
2023-09-14 19:50:47 +00:00
dependabot[bot]
2c27bb69ad
Bump proc-macro2 from 1.0.66 to 1.0.67 in /src/rust (#9605)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.66...1.0.67)

---
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>
2023-09-14 07:06:57 -04:00
Alex Gaynor
51ea13ed3a
Migrate OCB3 to Rust (#9569) 2023-09-14 00:02:23 +00:00
dependabot[bot]
251223105b
Bump unicode-ident from 1.0.11 to 1.0.12 in /src/rust (#9596)
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases)
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.11...1.0.12)

---
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>
2023-09-13 07:33:41 -04:00
dependabot[bot]
804b56979f
Bump libc from 0.2.147 to 0.2.148 in /src/rust (#9597)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.147 to 0.2.148.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.147...0.2.148)

---
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>
2023-09-13 07:32:31 -04:00
dependabot[bot]
776ffed32e
Bump base64 from 0.21.3 to 0.21.4 in /src/rust (#9575)
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.21.3 to 0.21.4.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.3...v0.21.4)

---
updated-dependencies:
- dependency-name: base64
  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>
2023-09-10 13:27:44 +00:00
William Woodruff
69df0bd254
x509/policy: add WebPKI permitted algorithms (#9548)
* cargo scaffolding

Signed-off-by: William Woodruff <william@trailofbits.com>

* mod: isolate failures to just RSA encodings for now

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: isolate some more

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: begin fixing things

Signed-off-by: William Woodruff <william@trailofbits.com>

* policy: fix RSASSA-PSS trailer field

* policy: make WEBPKI_PERMITTED_ALGORITHMS public

* policy: add comment with link to CA/B Forum's doc

* remove as-yet unneeded dep

Signed-off-by: William Woodruff <william@trailofbits.com>

* mod: break out each webpki algo into its own constant

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
2023-09-08 23:01:45 -04:00
dependabot[bot]
6cccf916f1
Bump openssl-sys from 0.9.92 to 0.9.93 in /src/rust (#9542)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.92 to 0.9.93.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.92...openssl-sys-v0.9.93)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2023-09-05 00:45:46 +00:00
dependabot[bot]
fd5e148d2d
Bump openssl from 0.10.56 to 0.10.57 in /src/rust (#9511)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.56 to 0.10.57.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.56...openssl-v0.10.57)

---
updated-dependencies:
- dependency-name: openssl
  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>
2023-08-27 15:28:22 +00:00
dependabot[bot]
3899d8feba
Bump openssl-sys from 0.9.91 to 0.9.92 in /src/rust (#9510)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.91 to 0.9.92.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.91...openssl-sys-v0.9.92)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2023-08-27 15:13:59 +00:00
dependabot[bot]
3afcce0e63
Bump base64 from 0.21.2 to 0.21.3 in /src/rust (#9501)
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.21.2 to 0.21.3.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.2...v0.21.3)

---
updated-dependencies:
- dependency-name: base64
  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>
2023-08-26 14:56:34 +00:00
dependabot[bot]
d422c90b5b
Bump pem from 3.0.1 to 3.0.2 in /src/rust (#9493)
Bumps [pem](https://github.com/jcreekmore/pem-rs) from 3.0.1 to 3.0.2.
- [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jcreekmore/pem-rs/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: pem
  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>
2023-08-24 11:05:25 +00:00
dependabot[bot]
bdd33ea3ae
Bump windows-targets from 0.48.3 to 0.48.5 in /src/rust (#9470)
Bumps [windows-targets](https://github.com/microsoft/windows-rs) from 0.48.3 to 0.48.5.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits/0.48.5)

---
updated-dependencies:
- dependency-name: windows-targets
  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>
2023-08-21 12:20:15 +00:00
dependabot[bot]
2cc6d45506
Bump cc from 1.0.82 to 1.0.83 in /src/rust (#9474)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.82...1.0.83)

---
updated-dependencies:
- dependency-name: cc
  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>
2023-08-21 12:13:17 +00:00
Alex Gaynor
0000b402dd
Port RSA to rust (#9152) 2023-08-20 12:27:15 -05:00
dependabot[bot]
43cf14f904
Bump windows-targets from 0.48.2 to 0.48.3 in /src/rust (#9445)
Bumps [windows-targets](https://github.com/microsoft/windows-rs) from 0.48.2 to 0.48.3.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows-targets
  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>
2023-08-17 20:56:25 +00:00
dependabot[bot]
e00346cad3
Bump quote from 1.0.32 to 1.0.33 in /src/rust (#9440)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.32...1.0.33)

---
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>
2023-08-17 13:03:56 +00:00
dependabot[bot]
19fcf63977
Bump windows-targets from 0.48.1 to 0.48.2 in /src/rust (#9429)
Bumps [windows-targets](https://github.com/microsoft/windows-rs) from 0.48.1 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows-targets
  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>
2023-08-14 20:35:55 +00:00
dependabot[bot]
7370fc5961
Bump windows_x86_64_msvc from 0.48.0 to 0.48.2 in /src/rust (#9427)
Bumps [windows_x86_64_msvc](https://github.com/microsoft/windows-rs) from 0.48.0 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows_x86_64_msvc
  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>
2023-08-14 20:08:20 +00:00
dependabot[bot]
7d3f1cb48e
Bump windows_i686_gnu from 0.48.0 to 0.48.2 in /src/rust (#9424)
Bumps [windows_i686_gnu](https://github.com/microsoft/windows-rs) from 0.48.0 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows_i686_gnu
  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>
2023-08-14 20:08:06 +00:00
dependabot[bot]
ae03f1f67b
Bump windows_aarch64_msvc from 0.48.0 to 0.48.2 in /src/rust (#9423)
Bumps [windows_aarch64_msvc](https://github.com/microsoft/windows-rs) from 0.48.0 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows_aarch64_msvc
  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>
2023-08-14 20:07:55 +00:00
dependabot[bot]
6d9439b806
Bump windows_x86_64_gnullvm from 0.48.0 to 0.48.2 in /src/rust (#9426)
Bumps [windows_x86_64_gnullvm](https://github.com/microsoft/windows-rs) from 0.48.0 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows_x86_64_gnullvm
  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>
2023-08-14 20:07:43 +00:00
dependabot[bot]
a4210a39c2
Bump windows_x86_64_gnu from 0.48.0 to 0.48.2 in /src/rust (#9421)
Bumps [windows_x86_64_gnu](https://github.com/microsoft/windows-rs) from 0.48.0 to 0.48.2.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows_x86_64_gnu
  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>
2023-08-14 20:07:33 +00:00
dependabot[bot]
00e7ecb89b
Bump asn1 from 0.15.4 to 0.15.5 in /src/rust (#9386)
Bumps [asn1](https://github.com/alex/rust-asn1) from 0.15.4 to 0.15.5.
- [Commits](https://github.com/alex/rust-asn1/compare/0.15.4...0.15.5)

---
updated-dependencies:
- dependency-name: asn1
  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>
2023-08-09 21:59:03 +00:00
dependabot[bot]
e3b605a2bf
Bump cc from 1.0.81 to 1.0.82 in /src/rust (#9372)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.81...1.0.82)

---
updated-dependencies:
- dependency-name: cc
  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>
2023-08-07 12:54:32 +00:00
dependabot[bot]
d5b800e1b1
Bump openssl from 0.10.55 to 0.10.56 in /src/rust (#9368)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.55 to 0.10.56.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.55...openssl-v0.10.56)

---
updated-dependencies:
- dependency-name: openssl
  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>
2023-08-06 13:51:48 +00:00
dependabot[bot]
4ec8c89e8f
Bump openssl-sys from 0.9.90 to 0.9.91 in /src/rust (#9364)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.90 to 0.9.91.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90...openssl-sys-v0.9.91)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2023-08-06 13:34:18 +00:00
dependabot[bot]
1bc15b1d8b
Bump cc from 1.0.80 to 1.0.81 in /src/rust (#9348)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.80...1.0.81)

---
updated-dependencies:
- dependency-name: cc
  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>
2023-08-03 12:43:03 +00:00
Alex Gaynor
e718a49097
Raise MSRV to 1.63.0 (#9043) 2023-08-03 11:15:07 +12:00
dependabot[bot]
436e5429a9
Bump cc from 1.0.79 to 1.0.80 in /src/rust (#9340)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.79...1.0.80)

---
updated-dependencies:
- dependency-name: cc
  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>
2023-08-02 12:11:13 +00:00
dependabot[bot]
3521d169af
Bump target-lexicon from 0.12.10 to 0.12.11 in /src/rust (#9325)
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon) from 0.12.10 to 0.12.11.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.10...v0.12.11)

---
updated-dependencies:
- dependency-name: target-lexicon
  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>
2023-08-01 12:58:21 +00:00
dependabot[bot]
115835cdc0
Bump pyo3 from 0.19.1 to 0.19.2 in /src/rust (#9324)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.19.1 to 0.19.2.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.19.1...v0.19.2)

---
updated-dependencies:
- dependency-name: pyo3
  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>
2023-08-01 12:44:36 +00:00
William Woodruff
50ae9623df
rust: update lockfile (#9298)
Per #9296.

Signed-off-by: William Woodruff <william@trailofbits.com>
2023-07-26 18:48:51 +00:00
William Woodruff
0071b3eea8
Migrate more types (#9254)
* x509: migrate more types

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: clean up DNSName/Pattern types

Cleans up the types a bit; patterns are now their own type,
simplifying our matching logic.

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: clippy

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: round out coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: remove owned type, case cmp

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: update docs

Signed-off-by: William Woodruff <william@trailofbits.com>

* name: remove type breakout

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: doctests

Signed-off-by: William Woodruff <william@trailofbits.com>

* common: coverage

Signed-off-by: William Woodruff <william@trailofbits.com>

* Update src/rust/cryptography-x509/src/common.rs

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

* Update src/rust/cryptography-x509/src/common.rs

* crate skeleton, move to validation

Signed-off-by: William Woodruff <william@trailofbits.com>

* types: remove duped whitespace check

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2023-07-26 07:13:03 -04:00