helpGnuTLS - Support: sr #108155, GnuTLS doesn't accept passwords...


sr #108155: GnuTLS doesn't accept passwords larger than 32; NSS and OpenSSL do

Submitted by:  None
Submitted on:  Tue 09 Oct 2012 10:42:20 PM UTC  
Category: Core libraryPriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Operating System: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 10 Oct 2012 06:13:43 PM UTC, comment #1:

Does the attached patch fix the issue for you? Could you verify that the longer passwords are compatible with NSS and openssl?


(file #26734)

Nikos Mavrogiannopoulos <nmav>
Project Administrator
Tue 09 Oct 2012 10:42:20 PM UTC, original submission:

> _gnutls_pkcs12_string_to_key():
> pwlen = strlen (pw);
> if (pwlen > 63 / 2)
> {
> gnutls_assert ();
> }

Compatibility issue between NSS, OpenSSL and GnuTLS. Because of the above snippet, passwords larger than 32 characters work fine in the former two; fail in GnuTLS.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #26734:  pkcs12.patch added by nmav (2KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by nmav (Updated the item)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Feb 2014 09:55:42 AM UTCnmavOpen/ClosedOpen=>Closed
    Wed 10 Oct 2012 06:13:43 PM UTCnmavAttached File-=>Added pkcs12.patch, #26734

    Back to the top

    Powered by Savane 3.1-cleanup1