Skip to content

pkcs8: add tracking issues for PKCS#8 encryption support #264

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

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkcs8/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
//! private keys.
//!
//! However, support for actually decrypting/encrypting them remains TBD.
//! Please see the following GitHub issue for more information:
//!
//! <https://github.com/RustCrypto/utils/issues/263>
//!
//! # Minimum Supported Rust Version
//!
Expand Down
12 changes: 7 additions & 5 deletions pkcs8/src/private_key_info/encrypted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ use der::{Decodable, Encodable, Message};
/// tl;dr: none yet!
///
/// This crate does not (yet) support decrypting/encrypting private key data.
/// However, support for the following may be added in future releases:
///
/// [PKCS#5 v1.5] supports several password-based encryption algorithms,
/// including `PBE-SHA1-3DES`.
/// - [PKCS#5 v1.5] supports several password-based encryption algorithms,
/// including `PBE-SHA1-3DES`.
/// - [PKCS#5 v2] adds support for AES-CBC encryption with iterated PRFs
/// such as `hmacWithSHA256`.
///
/// [PKCS#5 v2] adds support for AES encryption with iterated PRFs
/// such as `hmacWithSHA256`.
/// Please see the following GitHub issue for tracking information:
///
/// We may consider adding support for these in future releases of this crate.
/// <https://github.com/RustCrypto/utils/issues/263>
///
/// ## Schema
/// Structure described in [RFC 5208 Section 6]:
Expand Down