|
NAMEfido_dev_largeblob_get ,
fido_dev_largeblob_set ,
fido_dev_largeblob_remove ,
fido_dev_largeblob_get_array ,
fido_dev_largeblob_set_array —
FIDO 2 large blob API
SYNOPSIS#include <fido.h>
int
int
int
int
int
DESCRIPTIONThe “largeBlobs” API of libfido2 allows binary blobs residing on a FIDO 2.1 authenticator to be read, written, and inspected. “largeBlobs” is a FIDO 2.1 extension.“largeBlobs” are stored as elements of a CBOR array. Confidentiality is ensured by encrypting each element with a distinct, credential-bound 256-bit AES-GCM key. The array is otherwise shared between different credentials and FIDO2 relying parties. Retrieval of a credential's encryption key is possible during enrollment with fido_cred_set_extensions(3) and fido_cred_largeblob_key_ptr(3), during assertion with fido_assert_set_extensions(3) and fido_assert_largeblob_key_ptr(3), or, in the case of a resident credential, via libfido2's credential management API. The “largeBlobs” CBOR array is opaque to the authenticator. Management of the array is left at the discretion of FIDO2 clients. For further details on FIDO 2.1's “largeBlobs” extension, please refer to the FIDO 2.1 spec. The The The The Finally, the
RETURN VALUESThe functionsfido_dev_largeblob_set (),
fido_dev_largeblob_get (),
fido_dev_largeblob_remove (),
fido_dev_largeblob_get_array (), and
fido_dev_largeblob_set_array () return
FIDO_OK on success. On error, an error code defined in
<fido/err.h> is returned.
SEE ALSOfido_assert_largeblob_key_len(3), fido_assert_largeblob_key_ptr(3), fido_assert_set_extensions(3), fido_cred_largeblob_key_len(3), fido_cred_largeblob_key_ptr(3), fido_cred_set_extensions(3), fido_credman_dev_get_rk(3), fido_credman_dev_get_rp(3), fido_dev_get_assert(3), fido_dev_make_cred(3)CAVEATSThe “largeBlobs” extension is not meant to be used to store sensitive data. When retrieved, a credential's “largeBlobs” encryption key is transmitted in the clear, and an authenticator's “largeBlobs” CBOR array can be read without user interaction or verification.
Visit the GSP FreeBSD Man Page Interface. |