summaryrefslogtreecommitdiff
path: root/docs/conf/opers.conf.example
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-09-12 16:44:30 +0200
committerGitHub <noreply@github.com>2016-09-12 16:44:30 +0200
commit2bba78dd3b7ea08fcbe5647a9156feb27ea78d3d (patch)
treeb7aaa748662b48f3f3a2a8930c0f33b8cf2e71fe /docs/conf/opers.conf.example
parent02b32f624c0037614c0041cfbc4bbda0299024cf (diff)
parent957be44dcca09f50936cb0deb260fe975d4f0b11 (diff)
Merge pull request #1214 from SaberUK/master+hash
Update documentation for password hashing.
Diffstat (limited to 'docs/conf/opers.conf.example')
-rw-r--r--docs/conf/opers.conf.example13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/conf/opers.conf.example b/docs/conf/opers.conf.example
index 3ede475f6..5e1ec28f5 100644
--- a/docs/conf/opers.conf.example
+++ b/docs/conf/opers.conf.example
@@ -141,13 +141,14 @@
# Remember: This is case sensitive.
name="Adam"
- # hash: What hash this password is hashed with.
- # Requires the module for selected hash (md5, sha256 or ripemd160)
- # be loaded and the password hashing module (password_hash) loaded.
- # Options here are: "md5", "sha256" and "ripemd160", or one of
- # these prefixed with "hmac-", e.g.: "hmac-sha256".
+ # hash: the hash function this password is hashed with. Requires the
+ # module for the selected function (bcrypt, md5, sha1, sha256, or
+ # ripemd160) and the password hashing module (password_hash) to be
+ # loaded.
+ # You may also use any of the above other than bcrypt prefixed with
+ # either "hmac-" or "pbkdf2-hmac-" (requires the pbkdf2 module).
# Create hashed passwords with: /mkpasswd <hash> <password>
- hash="hmac-sha256"
+ hash="bcrypt"
# password: A hash of the password (see above option) hashed
# with /mkpasswd <hash> <password>. See the password_hash module