|
NAMEfido_dev_set_pin ,
fido_dev_get_retry_count ,
fido_dev_get_uv_retry_count ,
fido_dev_reset —
FIDO 2 device management functions
SYNOPSIS#include <fido.h>
int
int
int
int
DESCRIPTIONThefido_dev_set_pin () function sets the PIN of device
dev to pin, where
pin is a NUL-terminated UTF-8 string. If
oldpin is not NULL, the device's PIN is changed from
oldpin to pin, where
pin and oldpin are NUL-terminated
UTF-8 strings.
The The The Please note that RETURN VALUESThe error codes returned byfido_dev_set_pin (),
fido_dev_get_retry_count (),
fido_dev_get_uv_retry_count (), and
fido_dev_reset () are defined in
<fido/err.h> . On success,
FIDO_OK is returned.
CAVEATSRegardingfido_dev_reset (), the actual user-flow to
perform a reset is outside the scope of the FIDO2 specification, and may
therefore vary depending on the authenticator. Yubico authenticators will
return FIDO_ERR_NOT_ALLOWED if a reset is issued later
than 5 seconds after power-up, and
FIDO_ERR_ACTION_TIMEOUT if the user fails to confirm
the reset by touching the key within 30 seconds.
Visit the GSP FreeBSD Man Page Interface. |