projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6278a86
)
pcrlock: normalize credential name for TPM2 PIN
author
Lennart Poettering
<lennart@poettering.net>
Mon, 19 Feb 2024 16:03:49 +0000
(17:03 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 20 Feb 2024 15:50:00 +0000
(16:50 +0100)
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.
src/pcrlock/pcrlock.c
patch
|
blob
|
history
diff --git
a/src/pcrlock/pcrlock.c
b/src/pcrlock/pcrlock.c
index e1f25b62d93e90c3369647670fa5a3ef68d2d117..e70c44c675cd0a72ebf269eacb14d4482b2830e2 100644
(file)
--- 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(