Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x509-cert: make name an owned type #771

Merged
merged 9 commits into from
Dec 13, 2022

Conversation

baloo
Copy link
Member

@baloo baloo commented Nov 27, 2022

NOTE: breaking change.

This changes x509 from a zero copy type to an owned type.
This brings along a rewrite of der::Any and a new der::ByteVec to come closer to der::ByteSlice backing der::AnyRef

@baloo
Copy link
Member Author

baloo commented Nov 27, 2022

unlike #768 let's try a cleaner git history! :)

@baloo baloo force-pushed the baloo/owned-api/v2-submit branch from 355f7bc to 3dd5e79 Compare November 27, 2022 06:14
der/src/asn1/any.rs Outdated Show resolved Hide resolved
der/src/asn1/any.rs Outdated Show resolved Hide resolved
der/src/byte_vec.rs Outdated Show resolved Hide resolved
der/src/byte_vec.rs Outdated Show resolved Hide resolved
@baloo baloo force-pushed the baloo/owned-api/v2-submit branch 4 times, most recently from 86b09c4 to 8dc0807 Compare November 28, 2022 22:08
der/src/asn1/any.rs Outdated Show resolved Hide resolved
@baloo baloo force-pushed the baloo/owned-api/v2-submit branch from 64947d9 to 32cc657 Compare December 13, 2022 19:14
@baloo baloo requested a review from tarcieri December 13, 2022 20:34
der/src/asn1/any.rs Outdated Show resolved Hide resolved
der/src/bytes.rs Outdated Show resolved Hide resolved
@tarcieri tarcieri merged commit 72ef39a into RustCrypto:master Dec 13, 2022
@baloo baloo deleted the baloo/owned-api/v2-submit branch December 13, 2022 23:00
sorah added a commit to sorah/needroleshere that referenced this pull request Nov 4, 2023
Resolve incompatibilities as follows:

- src/certificate.rs: RustCrypto/formats#771
- src/cmd/serve.rs: Move to FromRequestParts and use headers crate

- src/ecdsa_sha256.rs: RustCrypto/traits#1196
  and RustCrypto/signatures#574

- src/error.rs: Remove Duplicates

- src/identity.rs: Remove owned validation logic as it should be done at
    x509_cert::serial_number::SerialNumber<x509_cert::certificate::Rfc5280>

- src/sign.rs: RustCrypto/RSA#244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants