]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: If a signature operation on a FIDO key fails with a
authordjm@openbsd.org <djm@openbsd.org>
Fri, 8 Jan 2021 02:57:24 +0000 (02:57 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 8 Jan 2021 02:58:27 +0000 (13:58 +1100)
commit4c7af01f9dcc1606dec033e7665a042cb0d8ec52
treef9dbad713d5cb623ba0698ee5081cdc0461a1628
parent64ddd0fe68c4a7acf99b78624f8af45e919cd317
upstream: If a signature operation on a FIDO key fails with a

"incorrect PIN" reason and no PIN was initially requested from the user, then
request a PIN and retry the operation.

This smoothes over a few corner cases including FIDO devices that
require PINs for all hosted credentials, biometric FIDO devices that
fall back to requiring PIN when reading the biometric failed, devices
that don't implement reading credProtect status for downloaded keys
and probably a few more cases that I haven't though of yet.

ok dtucker@

OpenBSD-Commit-ID: 176db8518933d6a5bbf81a2e3cf62447158dc878
sshconnect2.c