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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user