The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats

Modules/oper hash

From the makers of InspIRCd.

Jump to: navigation, search

oper hash module (InspIRCd-oper hash version)

1.0 Documentation 1.1 Documentation 1.2 Documentation
Description
Allows oper passwords to be hashed using a secure hashing algorithm rather than stored in plaintext.
Configuration Tags
To use this module, you must add the a value like the following to every oper in your configuration file that you want to have a hashed password:
<oper name="Brain" host="*@*" type="NetAdmin" hash="md5" password="ad0234829205b9033196ba818f7a872b">

The value for 'hash'may be either md5 or sha256, to select either MD5 hashing (less secure) or SHA256 hashing (more secure).

Additional Modes
This module does not implement any extra user or channel modes.
Additional Commands
This module adds the following command:
/MKPASSWD <hash> <plaintext>

Encodes <plaintext> to a hash using the hashing algorithm <hash> and displays the result.

Special Notes
This module will operate alongside plaintext passwords. To use hashes simply replace the plaintext password in <oper:password> with the hash MKPASSWD gives you.

Please note that once you move ALL your oper passwords to hashes, you will be unable to oper up without this module loaded -- if you unload it, you will be left unable to reload it if you lose oper status.

This module can enumerate any module which implements the HashRequest interface. Currently, this includes m_sha256.so and m_md5.so

Dependencies
The SHA256 Service Provider Module and/or the MD5 Service Provider Module
Personal tools
head
Navigation
head
head
head
head
 
head
head
Toolbox
head
head