discard any addional options which an fido 2.1 device might send
This commit is contained in:
parent
3ca719e077
commit
238c4ba791
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ctap_hmac"
|
name = "ctap_hmac"
|
||||||
description = "A Rust implementation of the FIDO2 CTAP protocol, including the HMAC extension"
|
description = "A Rust implementation of the FIDO2 CTAP protocol, including the HMAC extension"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
license = "Apache-2.0/MIT"
|
license = "Apache-2.0/MIT"
|
||||||
homepage = "https://github.com/ArdaXi/ctap/pull/2"
|
homepage = "https://github.com/ArdaXi/ctap/pull/2"
|
||||||
repository = "https://github.com/shimunn/ctap"
|
repository = "https://github.com/shimunn/ctap"
|
||||||
|
@ -423,7 +423,9 @@ impl OptionsInfo {
|
|||||||
"clientPin" => options.client_pin = Some(decoder.bool()?),
|
"clientPin" => options.client_pin = Some(decoder.bool()?),
|
||||||
"up" => options.up = decoder.bool()?,
|
"up" => options.up = decoder.bool()?,
|
||||||
"uv" => options.uv = Some(decoder.bool()?),
|
"uv" => options.uv = Some(decoder.bool()?),
|
||||||
_ => continue,
|
_ => {
|
||||||
|
decoder.bool()?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(options)
|
Ok(options)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user