]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Delay private key and certificate check until actual use
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 15 Feb 2025 23:24:52 +0000 (00:24 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 16 Feb 2025 09:43:56 +0000 (10:43 +0100)
commiteba51a9dbdf00b8c9d7828b0de46cff21593d8a0
tree950e22f5c101f64155f3c60e5ab25f82dbc576d3
parent034f027be4a239cc153493ec71678670f3f0da99
repart: Delay private key and certificate check until actual use

For many reasons, we might not actually sign a verity signature
partition, even if ope is specified in the partition definition files.
It might already exist, it might be deferred, it might be excluded, ...

Since we cannot check if partition already exists when reading the
configuration, let's delay the check for whether a certificate and
key have been provided until we're actually about to sign a roothash.
src/repart/repart.c