aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_argon2.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix needlessly separating threads and lanes in the argon2 module.•••We were not using these correctly and Argon2 uses the thread count as the lane count anyway so its pointless to even have a setting for this. Gravatar Sadie Powell2024-09-051-5/+1
* Deprecate the raw overload of GenRandomStr in favour of GenRandom.•••The raw overload was almost always misused where GenRandom would be better. While we're making changes to this code switch the printable mode to use a static array like Anope does. Gravatar Sadie Powell2024-08-271-3/+4
* Modernise PackageInfo directives.•••- Add Alpine packages. - Add missing directives to log_json. - Drop obsolete version constraints. - Use system-like for debian and rhel. Gravatar Sadie Powell2024-07-131-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+1
* Don't allow users to opt-in to older versions of Argon2.Gravatar Sadie Powell2024-05-101-8/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-04-281-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
| * Work around a bug in reading the config for the Argon2 module.•••ProviderConfig::version is set to an argon2 version not a base 10 version so using it as a default for the config may result in the default being ignored. Luckily 0x10 and 0x12 are 16 and 18 respectively so we can just allow them as valid values until v4 where we can eradicate the SanitiseArgon2Version function and use getEnum instead. Gravatar Sadie Powell2023-01-251-0/+3
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-27/+11
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-1/+1
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-3/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-271-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-251-0/+1
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-071-1/+1
|\|
| * Fix the argon2 package name on newer versions of Debian.Gravatar Sadie Powell2022-05-061-1/+1
* | Tweak the compiler flags for extra modules a bit.•••- Use pkg-config for the pgsql module. - Remove defaults from argon2, geo_maxmind, and regex_re2 (these are not needed with newer package versions). - Remove old library warning from geo_maxmind (no longer needed). [skip windows ci] Gravatar Sadie Powell2022-05-061-2/+2
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-6/+6
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+2
* | Revert "Remove support for defaults in find_{compiler,linker}_flags()".•••This is needed for compat with older versions of some libraries. This reverts commit 83327a1978eddef854cad9e937263f80bf25f056. Gravatar Sadie Powell2021-12-141-1/+0
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
* | Mark all hash provider classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-6/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-12-041-1/+1
|\|
| * Fix default linker flags in libargon2•••It's -largon2, not -llibargon2. I've experienced build failures due to this.Gravatar Elizabeth Myers2020-12-031-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-10-271-27/+7
|/
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-10-151-1/+1
* Implement support for Argon2 password hashing.•••Resolves #1540.Gravatar ShutterQuick2020-10-101-0/+214