creds: rename "tpm2-absent" encryption to "null" encryption
authorLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2023 15:22:33 +0000 (16:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2024 21:56:48 +0000 (22:56 +0100)
commit6d78dc282721b3b40e8474222ff8c6e0aebb6d10
tree9ee688ab5ae53e80b2daaa8624e8fc461fe8d022
parent01ae684782f3d1f50545126ce8829dc7c809f489
creds: rename "tpm2-absent" encryption to "null" encryption

This is what it is after all: encryption with a NULL key. This is more
descriptive, but also relevant since we want to use this kind of
credentials in a different context soon: for carrying pcrlock data into
a UKI. In that case we don#t want encryption, since the pcrlock data is
intended to help unlocking secrets, hence should not be a secret itself.

This only changes the code labels and the way this is labelled in the
output. We retain compat with the old name.
man/systemd-creds.xml
src/creds/creds.c
src/shared/creds-util.c
src/shared/creds-util.h