aboutsummaryrefslogtreecommitdiff
path: root/src/common/Cryptography
AgeCommit message (Collapse)Author
2025-05-13Core/Misc: Make string and string_view literal suffixes globally availableShauren
2025-01-17Core/Misc: Remove return type std::enable_if based SFINAEShauren
2024-12-18Core: Updated to 11.0.7Shauren
2024-12-18Core/Crypto: Added HMAC_SHA512 definitionShauren
2024-12-18Core/Crypto: Allow different AES key lengthsShauren
2024-11-14Core/Misc: Support IPv6 ip2locationShauren
2024-10-09Core/Crypto: Respect OPENSSL_MODULES environment variable if set by user ↵Shauren
that points to where legacy.dll should be found
2024-10-01Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow ↵Shauren
it to create deleters with compile time constant functions (reduces its size to just sizeof(void*))
2024-06-02Core/Crypto: Rename our Argon2 to avoid possible conflict with library file ↵Shauren
on some configurations
2024-05-12Core/Cryptography: dropped support for OpenSSL 1.1Ovahlord
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x
2024-05-07Core/Misc: Minor change to make_unique_ptr_with_deleter to make it accept ↵Shauren
only pointers
2023-12-26Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in ↵Shauren
battlenet_accounts to separate salt and verifier columns * passwords can now be case sensitive and up to 128 characters long
2023-12-19Core/Crypto: Added SHA 512 definitionsShauren
2023-12-17Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as ↵Shauren
http backend and extract generic http code to be reusable elsewhere
2023-09-16Core/SSL: Support more certificate formatsShauren
2023-08-24Core/Misc: Modernize comparison operatorsShauren
2023-01-31Core/Misc: Fixed clang 15 warningsShauren
2022-09-06Core/Crypto: Remove support for OpenSSL 1.0Shauren
2022-09-05Core/Crypto: Fixed build with openssl 1.1daMaex
(cherry picked from commit 9368823c8dfa0587ef915d2f1e0aa443355d7854)
2022-09-05Core/Crypto: Fixed loading legacy openssl provider for RC4 on windowsShauren
2022-09-05Core/Crypto: Updated ARC4 code with openssl 3.0 supportdaMaex
(cherry picked from commit 9fca5e9117317d6706fdf7d09fb86acaa3361129)
2022-08-01Core/Crypto: Removed unneccessary std::reverse in Ed25519::SignShauren
2022-08-01Core/Crypto: Added Ed25519 implementationShauren
2022-06-17Core/Crypto: Fixed openssl 3.0 compatibility for custom hmac_sha256 digest ↵Shauren
for RSA
2022-06-16Core/Crypto: Fixed GenericHMAC::Finalize wth openssl 3.0daMaex
(cherry picked from commit 0b6f77a0062389ea0bc90427a56d2cc90eda6768)
2022-05-06Core/Crypto: Fixed EVP_PKEY reference counting for copied objectsShauren
Closes #27943
2022-05-03Codestyle fix - remove empty linesShauren
2022-05-03Core/Crypto: Fix nopch buildShauren
2022-05-03Core/Crypto: Switch away from most deprecated openssl functions and removed ↵Shauren
upper version limit
2022-05-03Core/Misc: Prefix include guard to avoid possible conflict with external libraryShauren
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-05Core/Authserver: Removal of sha_pass_hash, compatibility fields, and ↵Treeston
everything that uses them (PR #25156) (cherry picked from commit bcdbdd6f23ce65cc0e381e61d2840140dce79311)
2022-01-23Core/Crypto: c++17-ify crypto code cherry picked earlier that was downgraded ↵Shauren
to c++14
2022-01-23Common/Crypto: #ifdef out unnecessary locking code for OpenSSL 1.1+ (PR #25110)Peter Keresztes Schmidt
(cherry picked from commit 7ea33120a03d70aaa856c2c66f183d684131746e)
2021-12-24Core/Misc: C++17 cleanups, commit 2, the advstd commitTreeston
(cherry picked from commit 857f8d9231d148d4f2def9c83548b40059923029)
2021-12-21Core/Misc: Resolve c++17 TODOs left in code as commentsShauren
2021-12-18[3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)Treeston
- Proper management commands (.account 2fa) - Secrets can now be encrypted (set TOTPTokenSecret in .conf) - Secret now stored in binary - Argon2 and AES primitives - Base32/64 support (cherry picked from commit 4211645834c467a03c60248e80818d3607be9ea7)
2021-10-06Core/Misc: Fix another gcc warningShauren
2021-10-06Common/Misc: Clean-up a GCC sign comparison warningTreeston
(cherry picked from commit 643b9209f8f1bc90fa4e26fc06e95f89b2b04899)
2021-03-02Core/PacketIO: Increase max allowed incoming packet size for CMSG_HOTFIX_REQUESTShauren
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-08-03Core/Authserver: Re-organize the `accounts` table (PR #25135)Treeston
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA) - salt/verifier/session_key are now binary - old s/v/sha_pass_hash fields kept around for backwards compatibility - sha_pass_hash is still updated (for now), s/v are not - sha_pass_hash is only read if s/v have been manually changed - SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19) (cherry picked from commit 3164b58c7d170810b69378950c0891e5f5b8678b)
2020-08-03Core/Authserver: Split SRP6 into its own file (PR #25131)Treeston
(cherry picked from commit 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76)
2020-08-03how does VC++ never catch these? 5e36bf7 follow-upTreeston
(No more witty one-liners. Let me go to bed please.) (cherry picked from commit 35411e5ed99584c7061a5feede8cb9b8d71c9b68)
2020-08-03Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. ↵Treeston
Sorry. (5e36bf7 follow-up) (cherry picked from commit 4f570e5d08d0338ac16aace81865c04b0605b0a5)
2020-08-03Core/Authserver: Auth cleanup phase 1a, the "stuff I ran across while making ↵Treeston
phase 2" commit. - Did you know BigNumber quietly assumes every byte array it gets is little-endian, even though openssl bignums use big-endian? Now you do! - In entirely unrelated news, make the above behavior explicit through a default-true boolean, same as existing GetBytes derivatives. - Also, if you are in the enlightened openssl 1.1 crowd, there's no more endian wrangling involved, because openssl now does all of that for us. Progress! (cherry picked from commit 5e36bf7c67e077bd1664eee59d5758fbae7666cd)
2020-08-03Core/Authserver: Authserver cleanup (PR#25093)Treeston
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber - Get rid of (most of) the C-style arrays in authserver - CryptoRandom as a unified source for cryptographic randomness - Bring our other crypto APIs into 2020 - BigNumber usability improvements - Authserver is now actually readable as a result of all of the above (cherry picked from commit 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)
2020-01-02New YearAokromes
2019-11-08Core/Misc: Suppress openssl random generator uninitialized variable errors ↵Shauren
under valgrind