summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_sha256.cpp
AgeCommit message (Collapse)Author
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-03-11Fix comparing passwords in enc_sha256.Sadie Powell
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-10Replace the custom SHA-2 implementation in enc_sha256.Sadie Powell
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-09Misc improvements to the encryption API.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-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-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.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-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
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-12-14Fix a bunch of broken indentation.Peter Powell
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-02-17Move encryption.h to include/modulesAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-04-10Move some of the modules in extras/ that arent really extra out of extras. ↵Adam
Mark our modules as VENDOR and allow modules to have multple types.
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-02enc_sha256: the length of the digest is SHA256_DIGEST_SIZE, not ↵DukePyrolator
SHA256_BLOCK_SIZE. also removed an unneeded trailing NULL byte.
2012-11-30Allow modules to use the encryption modules to encrypt arbitrary things.Adam
Made enc_old depend on enc_md5. Allow not loading any encryption modules if you want to only use an external mechanism. Removed ns_sendpass since it's just a bad idea.
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-07Remove the asynchronous identifing hack and replace it with something ↵Adam
better. Fixes m_*_authentication only being able to properly work when people identify normally using nickserv/identify
2012-09-01Added a web panel module + a default templateAdam
2012-04-23Reworked live SQL support yet againAdam
2012-02-18Use C++11's explicit override feature if availableAdam
2012-02-13Removed our RNG and just use the systems, it's not very widely used. Also ↵Adam
made DNS query ids not random as they don't need to be.
2012-01-02Updated Copyright to 2012Adam
2011-10-24Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as ↵Naram Qashat
use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
2011-08-05Rewrote the example configurations and split themAdam
up into seperate files for each pseudo client. Also reorganized how the modules are stored, and made most of the old "extra" modules "core"