discard any addional options which an fido 2.1 device might send

This commit is contained in:
2020-03-31 20:34:38 +02:00
parent 3ca719e077
commit 238c4ba791
2 changed files with 4 additions and 2 deletions

View File

@@ -423,7 +423,9 @@ impl OptionsInfo {
"clientPin" => options.client_pin = Some(decoder.bool()?),
"up" => options.up = decoder.bool()?,
"uv" => options.uv = Some(decoder.bool()?),
_ => continue,
_ => {
decoder.bool()?;
}
}
}
Ok(options)