Skip to content

Commit

Permalink
Support full Yubico OATH AID
Browse files Browse the repository at this point in the history
The full AID is used by eg. Yubico Authenticator on Android, which
previously would not recognise the Trussed OATH implementation.
  • Loading branch information
abrasive committed Jul 4, 2022
1 parent 4b680a3 commit b207d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub mod state;
pub const YUBICO_RID: [u8; 5] = hex!("A000000 527");
// pub const YUBICO_OTP_PIX: [u8; 3] = hex!("200101");
// pub const YUBICO_OTP_AID: &[u8] = &hex!("A000000527 2001 01");
pub const YUBICO_OATH_AID: &[u8] = &hex!("A000000527 2101");// 01");
pub const YUBICO_OATH_AID: &[u8] = &hex!("A000000527 2101 01");

// class AID(bytes, Enum):
// OTP = b'\xa0\x00\x00\x05\x27 \x20\x01'
Expand Down

0 comments on commit b207d2c

Please sign in to comment.