The ability to encrypt/authenticate encryption with a null key was originally just a fallback concept for cases where during early boot we have no host key, but the local system has no TPM2. Nowadays it is used for other stuff as well, such as pcrlock data propagation (i.e. data that needs no protection itself and required to properly to TPM key derivation). Let's give better, explicit control over null key usage, i.e. let's make it a tristate both on the systemd-creds command line and in the Varlink IPC to control three cases: - the default that we allow it only if SecureBoot is off - explicitly allowed - explicitly refused (this is new) Ideally systemd-creds --allow-null switch would take a boolean argument to control this as a tristate. Alas, that would be a compat break, hence I added --refuse-null instead (which also maps to the low-level flag for this). This also normalizes that the null key is always called "null key" in messages, and not sometimes "empty key" or "fallback key".
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS
