summaryrefslogtreecommitdiff
path: root/docs/conf/inspircd.conf.example
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-09-09 10:20:16 +0100
committerPeter Powell <petpow@saberuk.com>2016-09-12 15:35:28 +0100
commit957be44dcca09f50936cb0deb260fe975d4f0b11 (patch)
treeb7aaa748662b48f3f3a2a8930c0f33b8cf2e71fe /docs/conf/inspircd.conf.example
parent02b32f624c0037614c0041cfbc4bbda0299024cf (diff)
Update documentation for password hashing.
- Follow best current practises by using bcrypt almost everywhere in the example configuration files. - Document the existence of new hashing modules in master.
Diffstat (limited to 'docs/conf/inspircd.conf.example')
-rw-r--r--docs/conf/inspircd.conf.example14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example
index d56ac55ac..db7c069bb 100644
--- a/docs/conf/inspircd.conf.example
+++ b/docs/conf/inspircd.conf.example
@@ -255,12 +255,14 @@
# allow: What IP addresses/hosts to allow for this block.
allow="203.0.113.*"
- # 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.
- # Optional, but recommended. Create hashed passwords with:
- # /mkpasswd <hash> <password>
- #hash="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="bcrypt"
# password: Password to use for this block/user(s)
password="secret"