[gnutls-devel] GnuTLS | Key passphrase longer than 31 chars give 'No PIN given' error (#932)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Feb 6 21:09:21 CET 2020



Arcus Cinis created an issue: https://gitlab.com/gnutls/gnutls/issues/932



## Description of problem:

When creating key, if password is longer than 31 characters, `certtool` gives enigmatic `No PIN given.` error and exit with 1.

## 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.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/932
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200206/9cd2db7b/attachment.html>


More information about the Gnutls-devel mailing list