]> git.proxmox.com Git - swtpm.git/commit - tests/test_tpm2_swtpm_localca
samples: Apply password for signing key when creating platform cert (bugfix)
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 15 Sep 2020 22:34:59 +0000 (18:34 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 16 Sep 2020 01:08:32 +0000 (21:08 -0400)
commita73e9cb831acd820dc83ece682f80ceba96a6bcf
treec0c033537acda7e615a38caefb1ff070c5505660
parent79a0bdb483d237b543ec9b1995a33fe96bba3496
samples: Apply password for signing key when creating platform cert (bugfix)

Apply the password for the signing key and parent key when creating a
platform certificate. The bug was introduced in commit 961bb827
"samples: Use new pwd format option for secretly passing passwords"

Extend a test case to ensure that the passwords are always used.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
samples/swtpm-localca.in
tests/test_tpm2_samples_swtpm_localca