diff --git a/crates/ctap2-proto/src/authenticator/client_pin/mod.rs b/crates/ctap2-proto/src/authenticator/client_pin/mod.rs index 9509c39..7233b11 100644 --- a/crates/ctap2-proto/src/authenticator/client_pin/mod.rs +++ b/crates/ctap2-proto/src/authenticator/client_pin/mod.rs @@ -1,5 +1,5 @@ use bounded_integer::BoundedUsize; -use std::collections::BTreeSet; +use std::{borrow::Cow, collections::BTreeSet}; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; @@ -36,7 +36,7 @@ pub enum Request<'a> { version: auth_protocol::Version, key_agreement: cosey::PublicKey, permissions: &'a BTreeSet, // TODO: Enforce non-empty set? - relying_party_id: Option, + relying_party_id: Option>, }, GetUvRetries, GetPinUvAuthTokenUsingPinWithPermissions { @@ -44,7 +44,7 @@ pub enum Request<'a> { key_agreement: cosey::PublicKey, pin_hash_encrypted: [u8; 16], permissions: &'a BTreeSet, // TODO: Enforce non-empty set? - relying_party_id: Option, + relying_party_id: Option>, }, }