24#include "libssh/callbacks.h"
25#include "libssh/sk_api.h"
29#define SK_MAX_USER_ID_LEN 64
31#define SK_NOT_SUPPORTED_MSG \
32 "Security Key functionality is not supported in this build of libssh. " \
33 "Please enable support by building using the WITH_FIDO2 build option."
48const char *ssh_sk_err_to_string(
int sk_err);
123void sk_options_free(
struct sk_option **options);
146int sk_options_validate_get(
const struct sk_option **options,
177bool sk_callbacks_check_compatibility(
181#define SK_ENROLL_RESPONSE_FREE(x) \
184 sk_enroll_response_free(x); \
189#define SK_SIGN_RESPONSE_FREE(x) \
192 sk_sign_response_free(x); \
197#define SK_RESIDENT_KEY_FREE(x) \
200 sk_resident_key_free(x); \
205#define SK_OPTIONS_FREE(x) \
208 sk_options_free(x); \
Response structure for FIDO2/U2F key enrollment operations.
Definition sk_api.h:84
Configuration option structure for FIDO2/U2F operations.
Definition sk_api.h:263
Structure representing a resident/discoverable credential.
Definition sk_api.h:204
Response structure for FIDO2/U2F key signing operations.
Definition sk_api.h:167
FIDO2/U2F security key callbacks structure.
Definition callbacks.h:1286