Support dovecot password scheme prefixes #2

Open
opened 2021-10-30 18:48:41 +02:00 by binaryDiv · 0 comments
Owner

Dovecot prefixes password hashes with the password scheme, e.g. {PLAIN}foo for a plaintext password or {BLF-CRYPT}$2y$05$... for a bcrypt password.

If no prefix is specified in a password hash, the default_pass_scheme setting will be used as default.

While this prefix is not necessary, it would be nice to support both reading and writing it. (Currently passwords hashed by dovecot will be shown as "[Not hashed / unknown hash algorithm]" in the web interface.)

See also: https://doc.dovecot.org/configuration_manual/authentication/password_schemes/

Dovecot prefixes password hashes with the password scheme, e.g. `{PLAIN}foo` for a plaintext password or `{BLF-CRYPT}$2y$05$...` for a bcrypt password. If no prefix is specified in a password hash, the `default_pass_scheme` setting will be used as default. While this prefix is not necessary, it would be nice to support both reading and writing it. (Currently passwords hashed by dovecot will be shown as "\[Not hashed / unknown hash algorithm\]" in the web interface.) See also: https://doc.dovecot.org/configuration_manual/authentication/password_schemes/
binaryDiv added the
Type: enhancement
Priority 3: medium
Component: auth
labels 2021-10-30 18:48:41 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0xbd/mail-account-admin#2
No description provided.