]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptenroll: Use CTAP2.1 credProtect extension
authorBryan Jacobs <b@q3q.us>
Tue, 16 Apr 2024 03:12:22 +0000 (13:12 +1000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 17 Apr 2024 02:46:22 +0000 (11:46 +0900)
commit12cf745cceb3dfec858bab6152636e42f1c23bb9
tree42382173c29025edbf2f7444e9b02bc74cccd7c0
parentd398a2e0044d5e954642f35fac1bb460654174db
cryptenroll: Use CTAP2.1 credProtect extension

When enrolling a new FIDO2 token with a client PIN, this tells the authenticator to require the PIN on all uses.

It also collects a PIN before attempting to create a credential.

Works around #31443 in most (not all) scenarios.
src/shared/libfido2-util.c
src/shared/libfido2-util.h