diff --git a/Dockerfile b/Dockerfile index aba90fd..422485f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /tmp/atheme RUN git submodule update --init --recursive -RUN ./configure --prefix=/usr/local --enable-large-net --enable-contrib --enable-legacy-pwcrypto --enable-contrib +RUN ./configure --prefix=/usr/local --enable-large-net --enable-contrib --enable-legacy-pwcrypto --with-idn RUN make -j$(nproc) diff --git a/data/atheme.conf b/data/atheme.conf index 36da3ab..1ddcda2 100755 --- a/data/atheme.conf +++ b/data/atheme.conf @@ -5,7 +5,7 @@ loadmodule "/usr/local/modules/protocol/inspircd"; # loadmodule "/usr/local/modules/protocol/mixin_noprotect"; # loadmodule "/usr/local/modules/protocol/mixin_noowner"; loadmodule "/usr/local/modules/backend/opensex"; -# loadmodule "/usr/local/modules/crypto/argon2"; +loadmodule "/usr/local/modules/crypto/argon2"; loadmodule "/usr/local/modules/crypto/scrypt"; # loadmodule "/usr/local/modules/crypto/pbkdf2v2"; loadmodule "/usr/local/modules/crypto/bcrypt"; @@ -21,7 +21,7 @@ loadmodule "/usr/local/modules/crypto/rawmd5"; loadmodule "/usr/local/modules/crypto/ircservices"; # loadmodule "/usr/local/modules/crypto/crypt3-des"; loadmodule "/usr/local/modules/crypto/base64"; -#loadmodule "/usr/local/modules/auth/ldap"; +# loadmodule "/usr/local/modules/auth/ldap"; loadmodule "/usr/local/modules/nickserv/main"; loadmodule "/usr/local/modules/nickserv/access"; loadmodule "/usr/local/modules/nickserv/badmail"; @@ -165,7 +165,7 @@ loadmodule "/usr/local/modules/operserv/restart"; loadmodule "/usr/local/modules/operserv/rmatch"; loadmodule "/usr/local/modules/operserv/rnc"; loadmodule "/usr/local/modules/operserv/rwatch"; -loadmodule "/usr/local/modules/operserv/set"; +# loadmodule "/usr/local/modules/operserv/set"; # loadmodule "/usr/local/modules/operserv/sgline"; loadmodule "/usr/local/modules/operserv/shutdown"; loadmodule "/usr/local/modules/operserv/soper"; @@ -260,19 +260,19 @@ loadmodule "/usr/local/modules/proxyscan/dnsbl"; include "/usr/local/etc/include.conf"; crypto { - # argon2_type = "argon2id"; - # argon2_memcost = 16; - # argon2_timecost = 3; - # argon2_threads = 1; - # argon2_saltlen = 16; - # argon2_hashlen = 64; - # scrypt_memlimit = 14; - # scrypt_opslimit = 524288; - # pbkdf2v2_digest = "SHA2-512"; + argon2_type = "argon2id"; + argon2_memcost = 16; + argon2_timecost = 3; + argon2_threads = 1; + argon2_saltlen = 16; + argon2_hashlen = 64; + scrypt_memlimit = 14; + scrypt_opslimit = 524288; + # pbkdf2v2_digest = "SHA256"; # pbkdf2v2_rounds = 64000; # pbkdf2v2_saltlen = 32; - # scram_mechanisms = "SCRAM-SHA-1,SCRAM-SHA-256,SCRAM-SHA-512"; - # bcrypt_cost = 7; + # scram_mechanisms = "SCRAM-SHA-1,SCRAM-SHA-256"; + bcrypt_cost = 12; # crypt3_sha2_256_rounds = 5000; # crypt3_sha2_512_rounds = 5000; };