Remove URL prefix from HKDF label

Closes str4d/age-plugin-yubikey#31.
This commit is contained in:
Jack Grigg
2021-04-23 22:56:43 +12:00
parent 5d228e3aee
commit 6da29e7125
+1 -1
View File
@@ -9,7 +9,7 @@ use std::convert::TryInto;
use crate::{p256::Recipient, STANZA_TAG};
pub(crate) const STANZA_KEY_LABEL: &[u8] = b"age-encryption.org/v1/piv-p256";
pub(crate) const STANZA_KEY_LABEL: &[u8] = b"piv-p256";
const TAG_BYTES: usize = 4;
const EPK_BYTES: usize = 33;