fido_init() not being called
Brian Candler
b.candler at pobox.com
Sun May 3 04:27:28 AEST 2020
Hello, just raising a minor issue in sk-usbhid.c
At the moment, fido_init() is not being called except when SK_DEBUG is
enabled (which normally isn't):
#ifdef SK_DEBUG
fido_init(FIDO_DEBUG);
#endif
That exists in two places. I mentioned this in passing on the libfido2
tracker and the response is:
https://github.com/Yubico/libfido2/issues/166#issuecomment-622991151
"Regarding OpenSSH and fido_init(), OpenSSH should be calling
fido_init(). There are currently no ill effects from not calling it, but
that might change in the future."
So I'd suggest changing to something like:
#ifdef SK_DEBUG
fido_init(FIDO_DEBUG);
#else
fido_init(0);
#endif
- or define a new macro with value 0 or FIDO_DEBUG as appropriate.
Regards,
Brian.
More information about the openssh-unix-dev
mailing list