certtool ignores --password option
Description of problem:
certtool ignores --password
option and asks for typing it.
Version of gnutls used:
3.6.7
Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Debian 10
How reproducible:
Steps to Reproduce:
certtool --pkcs8 --generate-privkey --outfile test.key --password=QWERTY
certtool --pkcs8 --generate-self-signed --load-privkey test.key --outfile test.cert --password=QWERTY
- Hit CTRL-C and ENTER when certtool asks for password.
Actual results:
--password
option is ignored and certtool asks for it.
Expected results:
certtool should proceed silently from either script or command line.