Skip to content

Commit

Permalink
Adds generation of CMS artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
codespree committed Nov 2, 2024
1 parent 015415d commit 53c7e0e
Show file tree
Hide file tree
Showing 8 changed files with 311 additions and 95 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ quantcrypt = "0.2.0"

```ignore
cargo test gen_pq_hackathon_artifacts_r4 --release # generate artifacts in r4 format
cargo test gen_cms_artifacts --release # generate CMS artifacts
```

To generate submission zips:
Expand Down
1 change: 1 addition & 0 deletions artifacts/v2_cms/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.der
1 change: 1 addition & 0 deletions artifacts/v2_cms/expected_plaintext.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IETF Hackathon
1 change: 1 addition & 0 deletions artifacts/v2_cms/ukm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is some User Keying Material
1 change: 1 addition & 0 deletions src/cms/asn1/enveloped_data_content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use const_oid::db::rfc5911::ID_ENVELOPED_DATA;
use crate::cms::enveloped_data_builder::EnvelopedDataBuilder;

/// The content encryption algorithm used to encrypt the content
#[derive(Clone)]
pub enum ContentEncryptionAlgorithm {
/// AES 128 bit encryption in CBC mode
Aes128Cbc,
Expand Down
Loading

0 comments on commit 53c7e0e

Please sign in to comment.