summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_bcrypt.cpp
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-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-03-12Fix an inverted condition in enc_bcrypt.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-10Refactor the enc_bcrypt module and expose an encryption provider.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-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-03Replace anope_{final,override} with their C++11 equivalent.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-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-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' {} \;
2018-11-10Update most URLs to use HTTPS if available, and fix some dead ones too.Robby
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2014-11-03enc_bcrypt is no longer extra because it doesn't depend on external ↵Adam
dependencies anymore
2014-02-20enc_bcrypt.cpp: Get rid of the libxcrypt dependency by including code from ↵Daniel Vassdal
libxcrypt, and move enc_bcrypt out of extras