clean up crypto options

This commit is contained in:
root 2025-01-05 22:47:41 +00:00
parent 12c8f13b79
commit 60b369f7cd
2 changed files with 15 additions and 15 deletions

View File

@ -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)

View File

@ -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";
@ -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;
};