YubiKey plugin protocol

This commit is contained in:
Jack Grigg
2021-01-04 01:05:39 +00:00
parent 12df32817c
commit 5a85a15341
7 changed files with 598 additions and 12 deletions
+2
View File
@@ -11,6 +11,7 @@ use yubikey_piv::{
mod builder;
mod error;
mod format;
mod p256;
mod plugin;
mod util;
@@ -21,6 +22,7 @@ use error::Error;
const PLUGIN_NAME: &str = "age-plugin-yubikey";
const RECIPIENT_PREFIX: &str = "age1yubikey";
const IDENTITY_PREFIX: &str = "age-plugin-yubikey-";
const STANZA_TAG: &str = "piv-p256";
const USABLE_SLOTS: [RetiredSlotId; 20] = [
RetiredSlotId::R1,