age-plugin 0.2

This commit is contained in:
Jack Grigg
2021-10-18 20:37:28 +01:00
parent 5c8a7cced8
commit 77bd7aa3a3
4 changed files with 76 additions and 47 deletions
+1 -1
View File
@@ -1,10 +1,10 @@
use age_core::{
format::{FileKey, Stanza},
primitives::{aead_encrypt, hkdf},
secrecy::ExposeSecret,
};
use p256::{ecdh::EphemeralSecret, elliptic_curve::sec1::ToEncodedPoint};
use rand::rngs::OsRng;
use secrecy::ExposeSecret;
use std::convert::TryInto;
use crate::{p256::Recipient, STANZA_TAG};