improve the testing of credentials against inserted FIDO keys a little
authordjm <djm@openbsd.org>
Thu, 2 Dec 2021 23:23:13 +0000 (23:23 +0000)
committerdjm <djm@openbsd.org>
Thu, 2 Dec 2021 23:23:13 +0000 (23:23 +0000)
commitb8914b025c3eb36535afb82dd7cd329e7af62c61
tree4e9f1a738333e31de1409d6aac9e31c911df6749
parentc5365f214165552df2d70b467c75f9f0a6425f9b
improve the testing of credentials against inserted FIDO keys a little
more: ask the token whether a particular key belongs to it in cases
where the token support on-token user- verification (e.g. biometrics)
rather than just assuming that it will accept it.

Will reduce spurious "Confirm user presence" notifications for key
handles that relate to FIDO keys that are not currently inserted in at
least some cases.

Motivated by bz3366; by Pedro Martelletto
usr.bin/ssh/sk-usbhid.c