Skip to content

Commit 696c7ee

Browse files
authored
refactor(docs): improve wording, fix section
I've changed the wording and reorganized the text a bit. There was also a formatting bug in the md5-crypt section.
1 parent ab84924 commit 696c7ee

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/core/config/auth/schemes.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ A strong scheme. The encrypted password will start with `$6$`.
9292

9393
A strong scheme. The encrypted password will start with `$5$`.
9494

95-
### MD5-CRYPT: A weak but common scheme often used in `/etc/shadow`. The
95+
### MD5-CRYPT
96+
97+
A weak but common scheme often used in `/etc/shadow`. The
9698
encrypted password will start with `$1$`.
9799

98100
## Generating Encrypted Passwords
@@ -165,16 +167,10 @@ Password is in cleartext.
165167

166168
### CRYPT
167169

168-
Traditional DES-crypted password in `/etc/passwd` (e.g.
169-
"pass" = `vpvKh.SaNbR6s`.
170-
171-
* Dovecot uses libc's `crypt()` function, which means that CRYPT is usually
172-
able to recognize MD5-CRYPT and possibly also other password schemes. See
173-
all of the `*-CRYPT` schemes at the top of this page.
170+
Password is encrypted.
174171

175-
* The traditional DES-crypt scheme only uses the first 8 characters of the
176-
password, the rest are ignored. Other schemes may have other password length
177-
limitations (if they limit the password length at all).
172+
Dovecot uses libc's `crypt()` function, which means that it is able to recognize
173+
all password schemes available on your system (e.g. the ones used in `/etc/passwd`).
178174

179175
#### BLF-CRYPT
180176

@@ -184,6 +180,10 @@ Bcrypt based hash. (`$2y$`)
184180

185181
Traditional DES based hash.
186182

183+
The DES-crypt scheme only uses the first 8 characters of the password, the rest
184+
is ignored. Other schemes may have other password length limitations (if they
185+
limit the password length at all).
186+
187187
::: warning [[changed,crypt_des_md5_schemes]]
188188
Disabled by default.
189189
:::

0 commit comments

Comments
 (0)