Lennart Poettering
5cead3f269
credentials: add policy that can allow key=null creds from the ESP ( #42555 )
...
This PR only sets the default to "relaxed" - I can change the default
to "tofu" if desired. But for that we will also need to update the NEWS
file to ensure everyone is aware of this new default.
---
This PR adds a new `systemd.credentials-boot=` kernel
commandline that allows to control if credentials with
a `null` key are accepted.
The possible options are:
* strict: always insist on tpm encryption
* tofu: allow null encryption in firstboot mode and when no tpm is
available
* relaxed: allow null encryption when sb is off, or no tpm is available
* off: allow null encryption always
The default is `relaxed` which is exactly the behavior we had before.
This replaces the initial idea of using plaintext credentials
at firstboot (thanks to Lennart for this nicer and simpler design).
---
With that we can drop `- firstboot: optionally accept credentials at
firstboot without authentication` from TODO.md
2026-07-10 14:43:12 +02:00
..
2026-07-10 16:35:19 +09:00
2026-06-25 10:39:11 +01:00
2026-07-10 14:43:12 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 03:36:04 +02:00
2026-07-10 16:35:19 +09:00
2026-07-07 13:40:13 +02:00
2026-07-10 14:01:24 +02:00
2026-07-10 14:43:12 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-08 12:13:43 +01:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-03 21:50:45 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-07 13:40:13 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:34:26 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 12:02:01 +02:00
2026-07-10 16:34:26 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:34:26 +09:00
2026-07-10 16:35:19 +09:00
2026-07-07 13:40:13 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 17:37:39 +09:00
2026-07-10 16:34:26 +09:00
2026-06-26 16:03:18 -04:00
2026-06-20 15:14:14 +02:00
2026-07-07 13:40:13 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-01 18:18:00 +01:00
2026-07-09 16:48:26 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:34:26 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 17:35:19 +09:00
2026-07-10 16:34:26 +09:00
2026-07-10 14:43:12 +02:00
2026-07-10 16:35:19 +09:00
2026-07-07 13:40:13 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-06-22 14:40:16 +02:00
2026-06-16 11:44:08 +01:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:29:54 +09:00
2026-07-10 14:25:38 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 14:43:12 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:29:53 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 20:41:13 +09:00
2026-07-02 21:28:42 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:34:26 +09:00
2026-06-23 23:10:01 +02:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-07-10 16:35:19 +09:00
2026-06-24 12:59:55 +02:00
2026-07-07 13:40:13 +02:00