diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-02-19 17:03:49 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-02-20 16:50:00 +0100 |
commit | 09eed3bf8ceab1e5f3f062e53f2ce9f5d7d61db6 (patch) | |
tree | 91729231013434992b7d6175417be37c0d6474cb /src/pcrlock/pcrlock.c | |
parent | cryptenroll: use correct askpw id for pw request (diff) | |
download | systemd-09eed3bf8ceab1e5f3f062e53f2ce9f5d7d61db6.tar.xz systemd-09eed3bf8ceab1e5f3f062e53f2ce9f5d7d61db6.zip |
pcrlock: normalize credential name for TPM2 PIN
Let's drop the "systemd-" prefix from the credential name. We do not
prefix credentials that way so far. Don't do so here either.
The name is not really API, it's not documented, hence change it now
where we still can.
Diffstat (limited to 'src/pcrlock/pcrlock.c')
-rw-r--r-- | src/pcrlock/pcrlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcrlock/pcrlock.c b/src/pcrlock/pcrlock.c index e1f25b62d9..e70c44c675 100644 --- a/src/pcrlock/pcrlock.c +++ b/src/pcrlock/pcrlock.c @@ -4447,7 +4447,7 @@ static int make_policy(bool force, bool recovery_pin) { AskPasswordRequest req = { .message = "Recovery PIN", .id = "pcrlock-recovery-pin", - .credential = "systemd-pcrlock.recovery-pin", + .credential = "pcrlock.recovery-pin", }; r = ask_password_auto( |