Skip to content

OpenSSL does not accept DNs longer than 65 characters #5479

@awesome-manuel

Description

@awesome-manuel

Describe the bug

When the user enters a "Signer name" longer than 65 characters, openssl will fail to create a CSR

To reproduce

  • Create a new signing request
  • Invite user with a long name and long mail address by mail
  • LibreSign will put Prename Surname ([email protected]) into the "Signer name" field by default
  • Finalize the request
  • As invited user try to sign the document
  • LibreSign fails silently (just does not perform the signature, but does not show any error)
  • In the Nextcloud protocol look for openssl_csr_new(): dn: add_entry_by_NID 13 -&gt

Expected behavior

LibreSign should limit the number of characters in "Signer name" to 65

Screenshots

No response

Environment information

  • OS: Docker
  • LibreSign Version 11.4.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    0. Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions