diff --git a/util.c b/util.c index 10476b2..8dfe98c 100644 --- a/util.c +++ b/util.c @@ -20,6 +20,8 @@ #include #include #include +#include +#include #include "b64.h" #include "debug.h" @@ -1254,6 +1256,9 @@ int do_authentication(const cfg_t *cfg, const device_t *devices, } r = fido_assert_verify(assert, 0, pk.type, pk.ptr); if (r == FIDO_OK) { + syslog(LOG_AUTHPRIV | LOG_INFO, + "Successful FIDO authentication with publicKey %s (idx %u)", + devices[i].publicKey, i); retval = 1; goto out; }