]> git.ipfire.org Git - thirdparty/systemd.git/commit
fido2: don't use up/uv/rk when device doesn't support it
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Dec 2020 09:19:47 +0000 (10:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Dec 2020 19:00:27 +0000 (20:00 +0100)
commite3fb662b6710134e3d52ea46ef2eb2c412c377c4
treef56df3142345f1ed9dc23acdc14e61928aae9d0c
parentebcb3f38d29418a10e408e983e5e81abcaeb178d
fido2: don't use up/uv/rk when device doesn't support it

Apparently devices are supposed to generate failures if we try to turn
off features they don't have. Thus don't.

Prompted-by: https://github.com/systemd/systemd/issues/17784#issuecomment-737730395
src/shared/libfido2-util.c
src/shared/libfido2-util.h