Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 147888 Details for
Bug 228269
luma computes invalid SMD5 hashes
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
SMD5 hash computation fix
luma-smd5-mkpasswd.py.patch (text/plain), 662 bytes, created by
Tomas Hoger
on 2007-02-12 11:30:41 UTC
(
hide
)
Description:
SMD5 hash computation fix
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2007-02-12 11:30:41 UTC
Size:
662 bytes
patch
obsolete
>--- mkpasswd.py.orig 2007-02-12 09:43:32.000000000 +0100 >+++ mkpasswd.py 2007-02-12 09:43:58.000000000 +0100 >@@ -108,7 +108,7 @@ > return pwString[:-1] > elif default =='smd5': > salt = getsalt(length=4) # Newer versions of OpenLDAP should support the default length 16 >- pwString = "{SMD5}" + base64.encodestring(md5.new(str(pwd)).digest() + salt) >+ pwString = "{SMD5}" + base64.encodestring(md5.new(str(pwd) + salt).digest() + salt) > return pwString[:-1] > elif default =='crypt': > return "{CRYPT}" + crypt.crypt(str(pwd),getsalt(length=2)) # crypt only uses a salt of length 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228269
: 147888