mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 16:59:15 +00:00
make u2f attestation certificate optional
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
31b7620f20
commit
a6f8f84632
@ -45,7 +45,7 @@ pub struct Registration {
|
|||||||
/// Attestation certificate (in DER format) from which we originally copied the `key_handle`.
|
/// Attestation certificate (in DER format) from which we originally copied the `key_handle`.
|
||||||
/// Not necessary for authentication, unless the hardware tokens should be restricted to
|
/// Not necessary for authentication, unless the hardware tokens should be restricted to
|
||||||
/// specific provider identities. Optional.
|
/// specific provider identities. Optional.
|
||||||
#[serde(with = "bytes_as_base64")]
|
#[serde(with = "bytes_as_base64", default, skip_serializing_if = "Vec::is_empty")]
|
||||||
pub certificate: Vec<u8>,
|
pub certificate: Vec<u8>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user