Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-wallace committed Jul 24, 2023
1 parent 5c2dc55 commit 9fd56c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion pkcs12/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ edition = "2021"
rust-version = "1.65"

[dependencies]
cbc = { version = "0.1.2", optional = true }
der = { version = "0.7.7", features = ["alloc", "derive", "oid", "pem"] }
spki = { version = "0.7" }
x509-cert = { version = "0.2.3", default-features = false, features = ["pem"] }
Expand Down
8 changes: 3 additions & 5 deletions pkcs12/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! TODO: complete PKCS#12 crate

#![no_std]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
Expand All @@ -16,7 +16,7 @@
unused_qualifications
)]

use spki::ObjectIdentifier;
use const_oid::ObjectIdentifier;
extern crate alloc;

pub mod authenticated_safe;
Expand All @@ -32,9 +32,6 @@ pub mod safe_bag;
#[cfg(feature = "kdf")]
pub mod kdf;

#[cfg(feature = "builder")]
pub mod builder;

// pbe oids
/// `pbeWithSHAAnd128BitRC4` Object Identifier (OID).
pub const PKCS_12_PBE_WITH_SHAAND128_BIT_RC4: ObjectIdentifier =
Expand Down Expand Up @@ -96,6 +93,7 @@ pub const PKCS_12_SDSI_CERT_OID: ObjectIdentifier =

// todo: return the friendly name if present? (minimally, defer until BMPString support is available)
// todo: support separate mac and encryption passwords?
// todo: add decryption support
// todo: add more encryption tests
// todo: add a builder
// todo: add RC2 support

0 comments on commit 9fd56c0

Please sign in to comment.