mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #1253] password scheme {MD5-CRYPT} #1018
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1018
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moumour on GitHub (Sep 27, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1253
Impacted versions
The scheme {MD5-CRYPT} produce a hash with $1 at the first character
usually in the password /etc/shadow first character $1 mean: $1 = MD5 hashing algorithm, but after the first
1 has one morewith the salt, after the salt has one more $ with the md5 hash of password.Your {MD5-CRYPT} scheme has only $1 without salt.
{MD5-CRYPT} scheme is the same as MD5 with additional $1? or the {MD5-CRYPT} scheme support salt?
@tonioo commented on GitHub (Oct 6, 2017):
Modoboa relies on
passlibto hash passwords. Looks like MD5Crypt supports salt (http://passlib.readthedocs.io/en/stable/lib/passlib.hash.md5_crypt.html).