mainGNU Simple Authentication and Security Layer - Support: sr #109240, SCRAM-SHA-1 requires plain text...

 
 

sr #109240: SCRAM-SHA-1 requires plain text password on server side

Submitter:  Sebastian Fedrau <centaurifux>
Submitted:  Sat 28 Jan 2017 11:26:59 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  jas
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Jan 2021 11:02:27 AM UTC, comment #1: 

Thanks for the report!  I believe this has been adressed in recent releases.

Simon Josefsson <jas>
Group administrator
Sat 28 Jan 2017 11:26:59 AM UTC, original submission:  

Hello,

I've got a question regarding the SCRAM-SHA-1 implementation of GSASL.

One of the benefits of the SCRAM-SHA-1 authentication mechanism is that you can store hashed and salted versions of user passwords. I wonder why GSASL needs the password as plain text when generating the server-final message. Wouldn't it be a better approach to query for the GSASL_SCRAM_SALTED_PASSWORD property instead of GSASL_PASSWORD? That's exactly the way the client code works.

Please find a patch attached. I moved the "hex" functions to a separate source file.


Kind regards,

Sebastian

Sebastian Fedrau <centaurifux>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #39578:  scram.diff added by centaurifux (6KiB - 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 jas (Posted a comment)
  • -email is unavailable- added by centaurifux (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-08 jas StatusNone Done
        Assigned toNone jas
        Open/ClosedOpen Closed
    2017-01-28 centaurifux Attached File- Added scram.diff, #39578

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code