Key passphrase longer than 31 chars give 'No PIN given' error
Description of problem:
When creating key, if password is longer than 31 characters, certtool gives enigmatic No PIN given.
error and exit with 1.
Also if --template
or --password
option is used certtool exit with No PIN given.
error even for short passwords.
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
certtool --pkcs8 --generate-self-signed --load-privkey test.key --outfile test.cert
- Now type password longer than 31 chars.
Actual results:
No PIN given.
error.
Expected results:
Prompt for cert details.
Edited by Arcus Cinis