fido_init() not being called

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux