]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/tpm2-util.c
tpm2: support "+" as separator for TPM PCR lists
authorLennart Poettering <lennart@poettering.net>
Tue, 25 May 2021 21:26:31 +0000 (23:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 May 2021 21:28:54 +0000 (23:28 +0200)
commita1788a69b27b497ea75af2a97d7d7abde3e06eff
tree59071785c1dfa9199df8d787141b9eb0accc4276
parentc4734378622faeed2cab43ef3fdd39710a90a5f5
tpm2: support "+" as separator for TPM PCR lists

Previously, we supported only "," as separator. This adds support for
"+" and makes it the documented choice.

This is to make specifying PCRs in crypttab easier, since commas are
already used there for separating volume options, and needless escaping
sucks.

"," continues to be supported, but in order to keep things minimal not
documented.

Fixe: #19205
man/crypttab.xml
man/systemd-cryptenroll.xml
src/cryptenroll/cryptenroll.c
src/partition/repart.c
src/shared/tpm2-util.c