mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #205] Problem with passwords that contain non-ascii caracters #188
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#188
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 @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/205
Originally assigned to: @tonioo on GitHub.
Originally created by Antoine Nguyen on 2011-12-28T10:53:32Z
Passwords that contain non-ascii caracters are translated to unicode strings by python but the crypto module uses strings. The encrypt function padds the clear password to make its length a multiple of 16 but using a unicode object :p
The size of a unicode object is twice the size of a string one so the resulting string lenght is not correct.
@tonioo commented on GitHub (Dec 4, 2013):
Posted by Redmine Admin on 2011-12-28T12:29:54Z
In [2f5d9dd42083af091a0ed9b05f0d102440357960]: