Bug 20370

Summary: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it
Product: Koha Reporter: Saketh Katari <saketh9977>
Component: Architecture, internals, and plumbingAssignee: David Roberts <david.roberts>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: 1joynelson, david.roberts, fridolin.somers, jonathan.druart, lucas, nick
Version: unspecifiedKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00, 19.11.06
Circulation function:
Attachments: Bug 20370: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it
Bug 20370: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it

Description Saketh Katari 2018-03-10 07:40:09 UTC
Where is it? At line 67 of AuthUtils.pm, link : https://github.com/Koha-Community/Koha/blob/master/Koha/AuthUtils.pm
Comment 1 David Roberts 2020-04-13 01:24:33 UTC
Created attachment 102789 [details] [review]
Bug 20370: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it

This patch changes the wording of the comment

To test:

1) Check the wording of Line 67 of Koha/AuthUtils.pm
2) Apply the patch
3) Check that the wording has changed from "Encrypt it" to "Hash it"
Comment 2 Katrin Fischer 2020-04-13 15:14:36 UTC
Created attachment 102858 [details] [review]
Bug 20370: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it

This patch changes the wording of the comment

To test:

1) Check the wording of Line 67 of Koha/AuthUtils.pm
2) Apply the patch
3) Check that the wording has changed from "Encrypt it" to "Hash it"

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 3 Katrin Fischer 2020-04-13 15:14:54 UTC
Comment change - moving to PQA directly.
Comment 4 Martin Renvoize (ashimema) 2020-04-14 07:36:37 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 5 Joy Nelson 2020-05-05 21:09:52 UTC
backported to 19.11.x for 19.11.06
Comment 6 Lucas Gass (lukeg) 2020-05-13 22:15:06 UTC
backported to 19.05.x for 19.05.11