Skip to content

Commit 083f9ee

Browse files
authored
pkcs5 v0.8.1 (#2360)
1 parent 8bc5d4f commit 083f9ee

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pkcs5/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.8.1 (2026-06-28)
8+
### Added
9+
- Support for using AES-GCM with PBES2 ([#1433], [#2313])
10+
11+
[#1433]: https://github.com/RustCrypto/formats/pull/1433
12+
[#2313]: https://github.com/RustCrypto/formats/pull/2313
13+
714
## 0.8.0 (2026-04-24)
815
### Added
916
- `pbes2::Params` constructors ([#1207])

‎pkcs5/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pkcs5"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
description = """
55
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5:
66
Password-Based Cryptography Specification Version 2.1 (RFC 8018)

‎pkcs5/src/pbes2.rs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ pub const PBES2_OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("1.2.840.11
6363
/// AES cipher block size
6464
const AES_BLOCK_SIZE: usize = 16;
6565

66-
/// GCM nonce size
67-
///
68-
/// We could use any value here but GCM is most efficient
69-
/// with 96 bit nonces
66+
/// Recommended GCM nonce size.
7067
const GCM_NONCE_SIZE: usize = 12;
7168

7269
/// DES / Triple DES block size

0 commit comments

Comments
 (0)