]> git.ipfire.org Git - thirdparty/systemd.git/commit
libfido2: tweak credential to read fido2 PIN from
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Feb 2024 16:30:56 +0000 (17:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Feb 2024 15:50:00 +0000 (16:50 +0100)
commit251c71b62bb2f43dd6815c9a99e2d059a0ce2aef
tree3d33bba9fb29f1e2a7b13a240674025c8d7eb5a1
parent09eed3bf8ceab1e5f3f062e53f2ce9f5d7d61db6
libfido2: tweak credential to read fido2 PIN from

Querying a fido2 PIN via askpw for enrolling is currently used in two
places: cryptenroll and homectl. So far we sloppily used the same fixed
credential name "fido2-pin" in both cases. Let's tweak that and make the
credential name match the other credentials cryptenroll or home query,
i.e. using the cryptenroll.* and home.* namespaces.

This is particular done in light of #31370, which wants to make the
credential name public. We really should get the name in order before
making it public.
src/cryptenroll/cryptenroll-fido2.c
src/home/homectl-fido2.c
src/shared/libfido2-util.c
src/shared/libfido2-util.h