]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: add --private-key-source and drop --private-key-uri
authorLuca Boccassi <bluca@debian.org>
Sun, 11 Feb 2024 20:15:51 +0000 (20:15 +0000)
committerLuca Boccassi <bluca@debian.org>
Fri, 1 Mar 2024 17:32:19 +0000 (17:32 +0000)
commita73144bbdf0a31846d2b8db9b5043527996f4c0c
treecf6b9b804a2dfa72baae2eca5c618276fb3ab2da
parent793ceda177a40e16933b74542c3f8d13ff27d56e
repart: add --private-key-source and drop --private-key-uri

It turns out it's mostly PKCS11 that supports the URI format,
and other engines just take files. For example the tpm2-tss-openssl
engine just takes a sealed private key file path as the key input,
and the engine needs to be specified separately.

Add --private-key-source=file|engine:foo|provider:bar to
manually specify how to use the private key parameter.

Follow-up for 0a8264080a5d4b5e13e65eed80ac98a476f7fe43
docs/ENVIRONMENT.md
man/systemd-repart.xml
src/partition/repart.c
src/shared/openssl-util.c
src/shared/openssl-util.h