summaryrefslogtreecommitdiff
path: root/modules/encryption
AgeCommit message (Collapse)Author
2025-03-14Warn if enc_bcrypt is the first module and maxpasslen is >72.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-25Reject passwords bigger than Bcrypt can handle.Sadie Powell
2025-01-17Qualify a use of auto.Sadie Powell
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-12-15Add example code for how to validate SHA2 passwords in PHP.Sadie Powell
2024-03-18Fix an off by one error in enc_sha2.Sadie Powell
2024-03-12Fix an inverted condition in enc_bcrypt.Sadie Powell
2024-03-11Fix comparing passwords in enc_sha256.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-10Ensure that verify-only encryption modules can never encrypt passwords.Sadie Powell
If another module was loaded first and then later unloaded it was possible for a deprecated module to encrypt passwords.
2024-03-10Implement verify-only support for raw SHA-2 passwords.Sadie Powell
2024-03-10Refactor the enc_bcrypt module and expose an encryption provider.Sadie Powell
2024-03-10Refactor the enc_old module.Sadie Powell
2024-03-10Add self-tests to the encryption providers.Sadie Powell
2024-03-10Replace the custom SHA-2 implementation in enc_sha256.Sadie Powell
2024-03-09Move the HMAC function to the encryption header.Sadie Powell
This will be useful for doing challenge authentication on InspIRCd.
2024-03-09Add the enc_sha2 module which hashes passwords with HMAC-SHA-2.Sadie Powell
Using HMAC instead of changing the IV is a lot safer.
2024-03-09Convert enc_md5 to use a vendored MD5 library.Sadie Powell
2024-03-09Misc improvements to the encryption API.Sadie Powell
2024-03-07Consistently use email instead of e-mail.Sadie Powell
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-03-07Add the initial version of the Atheme database importer.Sadie Powell
2024-02-27Make functions that don't use `this` static.Sadie Powell
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-10-22Import InspIRCd's vendoring tool and use it to vendor crypt_blowfish.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Use C++11 header names instead of their deprecated equivalents.Sadie Powell
2022-01-04Merge branch '2.0' into 2.1.Sadie Powell
2022-01-03Fix some minor issues discovered whilst working on 2.1.Sadie Powell
2022-01-03Replace anope_{final,override} with their C++11 equivalent.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-02-18Merge branch '2.0' into 2.1.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-09-28Require a secure password hashing algorithm for new accounts.Sadie Powell
Insecure algorithms can still be used for existing accounts.
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-03-14Update enc_bcrypt with upstream crypt_blowfish 1.3 changes.Robby
Also reverted the URLs in the header to the original ones provided by upstream.
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;