cryptographic-message-syntax
A pure Rust implementation of Crypographic Message Syntax (RFC 5652)
0.28.0
5.8M downloads/mo
#4224 most downloaded on crates.io
indygreg/cryptography-rs
What this package is like to depend on
Last release 1 years ago
17 Aug 2025
Release timing varies
gaps range from 1 weeks to 12 months
Some releases are documented
notes for 13 of 29 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
29 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
29 releases · Apr 2021 to Aug 2025Releases
latest 29-
0.28.017 Aug 2025 -
0.27.002 Nov 2024Release notes
Open source →Released on 2024-11-02.
- MSRV 1.65 -> 1.75.
- The crate now has an
httpfeature to control availability of features making HTTP requests (notably time-stamp protocol support). Disabling the feature removes the dependency onreqwest, which slims down the dependency tree significantly. (#21) bytes1.5 -> 1.8.reqwest0.11 -> 0.12.signature2.1 -> 2.2.
-
0.26.007 Nov 2023 -
0.25.105 Nov 2023Release notes
Open source →Released on 2023-11-05.
SignedDataBuildernow stores a signing time and uses it for all signatures. Before, each signer would compute the current time and use that time, possibly resulting in signatures having slightly different times. The signing time is computed atSignedDataBuilderconstruction time. Asigning_time()method can be used to pass a custom time to use for signing.
-
0.25.003 Nov 2023 -
0.24.024 Jul 2023Release notes
Open source →Released on 2023-07-24.
TimeStampResponseis now exported in the public API.TimeStampResponsenow implementsFrom<TimeStampResp>.- New method
SignedDataBuilder::build_signed_data()has been extracted fromSignedDataBuilder::build_der()and returns aSignedDatainstance, allowing access to a Rust struct representation before serialization. SignedAttributesare now sorted by taking the serialization of the entireAttribute(OID type + values). The previous implementation only encoded theAttribute'sattrValuesfield and would not yield correct sorting if theattrTypeOID was different. (#16)
-
0.23.003 Jun 2023Release notes
Open source →Released on 2023-06-03.
- pem upgraded 1.1 -> 2.0.
chronocompiled without default features (#12).
-
0.22.019 Mar 2023Release notes
Open source →Released on 2023-03-19.
SignerBuildergained anew_with_signer_identifier()that allows constructing from aSignerIdentifierinstead of aCapturedX509Certificate. This API allows usage in alternate signing scenarios, such as those found in RFC 5272. Contributed by Outurnate in #8.- bytes upgraded 1.3 -> 1.4.
- Minimum Rust version 1.61 -> 1.65.
-
0.21.021 Jan 2023 -
0.20.030 Dec 2022Release notes
Open source →Released on 2022-12-30.
- bytes upgraded 1.0 -> 1.3.
- pem upgraded 1.0 -> 1.1.
- signature upgraded 1.3 -> 1.6.
-
0.19.019 Dec 2022Release notes
Open source →Released on 2022-12-19.
- Canonical home of project moved to https://github.com/indygreg/cryptography-rs.
- Cargo.toml now defines patch versions of all dependencies.
-
0.18.017 Sep 2022 -
0.17.007 Aug 2022Release notes
Open source →(Released 2022-08-07)
- bcder crate upgraded from 0.6.1 to 0.7.0. This entailed a lot of changes, mainly to error handling.
SignedAttributesshould now be sorted properly. Previous versions had a sorting mechanism that was only partially correct and would result in incorrect sorting for some inputs. The old behavior could have resulted in incorrect signatures being produced or validations incorrectly failing. (#614)- The crate now re-exports some symbols for 3rd party crates
bcder::Oidandbytes::Bytes. - Support for creating external signatures, which are signatures over external content not stored inline in produced signatures. (#614)
- (API change)
SignedDataBuilder::signed_content()has effectively been renamed tocontent_inline(). (#614)
-
0.16.025 Apr 2022Nothing published for this version
-
0.15.011 Apr 2022Nothing published for this version
-
0.14.004 Apr 2022Nothing published for this version
-
0.13.028 Mar 2022Nothing published for this version
-
0.12.022 Mar 2022Nothing published for this version
-
0.11.017 Mar 2022Nothing published for this version
-
0.10.015 Mar 2022Nothing published for this version
-
0.9.013 Mar 2022Nothing published for this version
-
0.8.006 Mar 2022Nothing published for this version
-
0.7.003 Jan 2022Nothing published for this version
-
0.6.013 Dec 2021Nothing published for this version
-
0.5.025 Oct 2021Nothing published for this version
-
0.4.008 Aug 2021Nothing published for this version
-
0.3.006 May 2021Nothing published for this version
-
0.2.030 Apr 2021Nothing published for this version
-
0.1.014 Apr 2021Nothing published for this version