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

 
 

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

Submitter:  None
Submitted:  Tue 09 Oct 2012 10:42:20 PM UTC
   
 
Category:  Core library Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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?

regards,
Nikos


(file #26734)

Nikos Mavrogiannopoulos <nmav>
Group 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 ();
>        return GNUTLS_E_INVALID_REQUEST;
>      }


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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by nmav (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-06 nmav Open/ClosedOpen Closed
    2012-10-10 nmav Attached File- Added pkcs12.patch, #26734

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code