Skip to content

Commit

Permalink
Make private key secret
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed Sep 5, 2024
1 parent 723c1b2 commit 6fb1507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pk_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ impl TryFrom<PkDecryptionPickle> for PkDecryption {
struct PkDecryptionPickle {
version: u32,
public_curve25519_key: [u8; 32],
#[secret]
private_curve25519_key: Box<[u8; 32]>,
}

Expand Down

0 comments on commit 6fb1507

Please sign in to comment.