swtpm/samples
Stefan Berger 3ed0744de0 samples: Add --password parameter for older GnuTLS versions
Older versions of GnuTLS need --password on the command line while
newer versions require GNUTLS_PIN to be set to pass the password.
So, this patch accomodates older versions of GnuTLS.

Older version of GnuTLS seem to NOT be able to handle a CA private
key needing a password and a signing key needing a password when
creating the intermediate CA. So this case of 2 passwords will
always fail.

The value of the local CA is not so high that passing passwords on
the command line would be an issue. Later on when using the CA the
password are set via environment variables, so not visible to other
users.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-09-18 20:12:01 -04:00
..
py_swtpm_localca samples: Add --password parameter for older GnuTLS versions 2020-09-18 20:12:01 -04:00
Makefile.am samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
setup.py samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
swtpm-create-tpmca samples: Extend script to create a CA using a TPM 2 for signing 2020-04-14 13:09:00 -04:00
swtpm-create-user-config-files.in samples: Implement script to create user config files and extend man page 2020-08-20 09:49:33 -04:00
swtpm-localca.conf.in build-sys: Adjust localstatedir and files using it 2019-01-17 11:28:40 -05:00
swtpm-localca.in samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
swtpm-localca.options samples: remove the TPM attribute parameters from the options file 2018-05-05 01:09:46 -04:00