summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
commit9a0b1efc24e84c7cf17a0e87c98fd1e22fe1c356 (patch)
tree3abf675a834d23b9064dce2333f7a2e5d0df336a /data
parentd2362719b256f556b862a85dd73a806ccc2faebe (diff)
added a way to load multiple encryption modules at the same and to switch between encryption methods
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data')
-rw-r--r--data/example.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/example.conf b/data/example.conf
index 980740932..8e21845ba 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -255,8 +255,13 @@ options
* - enc_old (old, broken MD5 encryption)
* - enc_md5 (working MD5 encryption)
* - enc_sha1 (SHA1 encryption)
+ *
+ * The first module in this list is the active encryption module. All new passwords are
+ * encrypted by this module. Old passwords stored in another encryption method are
+ * automatically re-encrypted by the active encryption module on next identify.
+ * Changing the order of the modules requires the services to restart.
*/
- encryption = "enc_none"
+ encryption = "enc_none enc_sha1 enc_md5 enc_old"
/*
* These keys are used to initiate the random number generator. These numbers