From cef3579585534cebd6dfb820532af793c1ab816c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 21 Jun 2024 18:54:56 +0200 Subject: [PATCH] Add enterprise attestation support to get_assertion --- CHANGELOG.md | 1 + src/ctap2/get_assertion.rs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca671c5..a401cfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add support for the `thirdPartyPayment` extension - Add new fields to `get_info` - Add unsigned extension outputs to `make_credential` and `get_assertion` + - Add enterprise attestation support to `get_assertion` ## [0.2.0] - 2024-06-21 diff --git a/src/ctap2/get_assertion.rs b/src/ctap2/get_assertion.rs index ff5e80a..8464750 100644 --- a/src/ctap2/get_assertion.rs +++ b/src/ctap2/get_assertion.rs @@ -100,6 +100,8 @@ pub struct Request<'a> { pub pin_auth: Option<&'a serde_bytes::Bytes>, #[serde(skip_serializing_if = "Option::is_none")] pub pin_protocol: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub enterprise_attestation: Option, } // NB: attn object definition / order at end of @@ -124,6 +126,8 @@ pub struct Response { pub large_blob_key: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub unsigned_extension_outputs: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub ep_att: Option, } #[derive(Debug)] @@ -145,6 +149,7 @@ impl ResponseBuilder { user_selected: None, large_blob_key: None, unsigned_extension_outputs: None, + ep_att: None, } } }