mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
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.
This commit is contained in:
parent
6278a8655f
commit
09eed3bf8c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user