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

pkcs7: deprecate in favor of cms #1062

Merged
merged 1 commit into from
May 13, 2023
Merged

pkcs7: deprecate in favor of cms #1062

merged 1 commit into from
May 13, 2023

Conversation

tarcieri
Copy link
Member

This commit adds a deprecation notice to README.md for the pkcs7 crate announcing cms as its official successor.

Notably pkcs7 predates many of the other format-related crates and uses entirely reference-based conventions which we migrated away from in the x509-cert crate. cms uses the newer conventions, and is more complete as a Cryptographic Message Syntax implementation.

We will not be accepting pull requests for pkcs7 and are leaving its source code for now only to aid in porting functionality not yet present in the cms crate.

When the next breaking release of der occurs, we will delete the pkcs7 source code from the repository, leaving only the deprecation notice to help assist people migrating.

Closes #1045.

@tarcieri tarcieri mentioned this pull request May 13, 2023
@tarcieri tarcieri force-pushed the deprecate-pkcs7-crate branch from a214cd8 to 9d03ace Compare May 13, 2023 21:54
This commit adds a deprecation notice to README.md for the `pkcs7` crate
announcing `cms` as its official successor.

Notably `pkcs7` predates many of the other format-related crates and
uses entirely reference-based conventions which we migrated away from in
the `x509-cert` crate. `cms` uses the newer conventions, and is more
complete as a Cryptographic Message Syntax implementation.

We will not be accepting pull requests for `pkcs7` and are leaving its
source code for now only to aid in porting functionality not yet present
in the `cms` crate.

When the next breaking release of `der` occurs, we will delete the
`pkcs7` source code from the repository, leaving only the deprecation
notice to help assist people migrating.

Closes #1045.
@tarcieri tarcieri force-pushed the deprecate-pkcs7-crate branch from 9d03ace to ce2886e Compare May 13, 2023 22:02
@tarcieri tarcieri merged commit 613940b into master May 13, 2023
@tarcieri tarcieri deleted the deprecate-pkcs7-crate branch May 13, 2023 22:07
baloo added a commit to baloo/formats that referenced this pull request Jul 14, 2023
Added
- `SignedData` builder (RustCrypto#1051)

Changed
- Deprecate `pkcs7` in favor of `cms` (RustCrypto#1062)
- der: add `SetOf(Vec)::insert(_ordered)`; deprecate `add` (RustCrypto#1067)
- Re-enable all minimal-versions checks (RustCrypto#1071)

Fixed
- Don't insert signing time attribute by default (RustCrypto#1148)
- Fixed encoding of `SubjectKeyIdentifier` (RustCrypto#1152)
@baloo baloo mentioned this pull request Jul 14, 2023
baloo added a commit that referenced this pull request Jul 14, 2023
Added
- `SignedData` builder (#1051)

Changed
- Deprecate `pkcs7` in favor of `cms` (#1062)
- der: add `SetOf(Vec)::insert(_ordered)`; deprecate `add` (#1067)
- Re-enable all minimal-versions checks (#1071)

Fixed
- Don't insert signing time attribute by default (#1148)
- Fixed encoding of `SubjectKeyIdentifier` (#1152)
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.

cms and pkcs7 overlap
1 participant