Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • GnuTLS GnuTLS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 252
    • Issues 252
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gnutlsgnutls
  • GnuTLSGnuTLS
  • Issues
  • #932
Closed
Open
Issue created Feb 06, 2020 by Arcus Cinis@acinis

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 Feb 06, 2020 by Arcus Cinis
Assignee
Assign to
Time tracking