diff --git a/man/systemd-repart.xml b/man/systemd-repart.xml index 6a7aa21c66..3585cbf107 100644 --- a/man/systemd-repart.xml +++ b/man/systemd-repart.xml @@ -312,6 +312,22 @@ later setup step. + + + + Takes a file system path. Configures the signing key to use when creating verity + signature partitions with the Verity=signature setting in partition files. + + + + + + + Takes a file system path. Configures the PEM encoded X.509 certificate to use when + creating verity signature partitions with the Verity=signature setting in + partition files. + + diff --git a/src/partition/repart.c b/src/partition/repart.c index dd544d6415..8e3cfece89 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -1580,7 +1580,7 @@ static int partition_read_definition(Partition *p, const char *path, const char if (p->verity == VERITY_SIG && !arg_certificate) return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL), - "Verity signature partition requested but no PEM certificate provided (--certificate-file=)"); + "Verity signature partition requested but no PEM certificate provided (--certificate=)"); if (p->verity == VERITY_SIG && (p->size_min != UINT64_MAX || p->size_max != UINT64_MAX)) return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL),