From 75073d0a8478441cc97a6efa10b566c5fb1dac81 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Apr 2020 20:57:17 +0100 Subject: New upstream version 1.4.0 --- man/fido_cred_set_authdata.3 | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'man/fido_cred_set_authdata.3') diff --git a/man/fido_cred_set_authdata.3 b/man/fido_cred_set_authdata.3 index 8b087fa..d28c61e 100644 --- a/man/fido_cred_set_authdata.3 +++ b/man/fido_cred_set_authdata.3 @@ -14,6 +14,7 @@ .Nm fido_cred_set_rp , .Nm fido_cred_set_user , .Nm fido_cred_set_extensions , +.Nm fido_cred_set_prot , .Nm fido_cred_set_rk , .Nm fido_cred_set_uv , .Nm fido_cred_set_fmt , @@ -45,6 +46,8 @@ typedef enum { .Ft int .Fn fido_cred_set_extensions "fido_cred_t *cred" "int flags" .Ft int +.Fn fido_cred_set_prot "fido_cred_t *cred" "int prot" +.Ft int .Fn fido_cred_set_rk "fido_cred_t *cred" "fido_opt_t rk" .Ft int .Fn fido_cred_set_uv "fido_cred_t *cred" "fido_opt_t uv" @@ -149,7 +152,9 @@ to the bitmask .Fa flags . At the moment, only the .Dv FIDO_EXT_HMAC_SECRET -extension is supported. +and +.Dv FIDO_EXT_CRED_PROTECT +extensions are supported. If .Fa flags is zero, the extensions of @@ -157,6 +162,24 @@ is zero, the extensions of are cleared. .Pp The +.Fn fido_cred_set_prot +function sets the protection of +.Fa cred +to the scalar +.Fa prot . +At the moment, only the +.Dv FIDO_CRED_PROT_UV_OPTIONAL , +.Dv FIDO_CRED_PROT_UV_OPTIONAL_WITH_ID , +and +.Dv FIDO_CRED_PROT_UV_REQUIRED +protections are supported. +If +.Fa prot +is zero, the protection of +.Fa cred +is cleared. +.Pp +The .Fn fido_cred_set_rk and .Fn fido_cred_set_uv -- cgit v1.2.3