Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Treeston
73922d2a85
Core/Authserver: Re-organize the accounts table (PR #25135 )
...
- 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-03 22:37:47 +02:00
Treeston
77380f032b
Core/Authserver: Split SRP6 into its own file (PR #25131 )
...
(cherry picked from commit 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76)
2020-08-03 21:16:30 +02:00
Treeston
ac37ca040b
how does VC++ never catch these? 5e36bf7 follow-up
...
(No more witty one-liners. Let me go to bed please.)
(cherry picked from commit 35411e5ed99584c7061a5feede8cb9b8d71c9b68)
2020-08-03 19:47:19 +02:00
Treeston
287e18a57c
Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. Sorry. (5e36bf7 follow-up)
...
(cherry picked from commit 4f570e5d08d0338ac16aace81865c04b0605b0a5)
2020-08-03 19:45:11 +02:00
Treeston
059bd630e9
Core/Authserver: Auth cleanup phase 1a, the "stuff I ran across while making 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-03 19:41:41 +02:00
Treeston
e9392ad287
Core/Authserver: Authserver cleanup (PR#25093)
...
- 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-08-03 19:39:00 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
aa64226b64
Core/Misc: Suppress openssl random generator uninitialized variable errors under valgrind
2019-11-08 20:17:59 +01:00
Shauren
3bb26a04f2
Core/PacketIO: Fix sending uninitialized data
2019-07-16 20:39:25 +02:00
Shauren
ce1091cf88
Fix build for openssl 1.0
2019-07-14 19:32:31 +02:00
Shauren
74a801182a
Core/PacketIO: Updated packet encryption to 8.2
2019-07-14 19:20:45 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
e9bcae1fad
Core/Misc: Fixed nopch and clang 6.0 warnings
2018-12-09 16:07:38 +01:00
Warlockbugs
87bd1126ff
Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 ( #21534 )
...
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.
Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.
Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
2018-03-04 15:26:08 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
b49fa9658a
Tools/Patcher: Properly sign certificate bundle
2017-12-29 12:50:12 +01:00
Shauren
b54d1ab35f
Core/Crypto: Remove unused declaration
2017-12-26 01:42:38 +01:00
Shauren
130d3eb0ae
Core/Crypto: Add const_cast hack to fix linux build with openssl
2017-12-26 01:37:02 +01:00
Shauren
2628daadeb
Nopch build fix2
2017-12-25 21:51:20 +01:00
Shauren
6a4c40126d
Nopch build fix
2017-12-25 21:47:21 +01:00
Shauren
e161769c4f
Build fix
2017-12-25 21:45:07 +01:00
Shauren
61ca3d6235
Core/Crypto: Refactor RSA encryption to use openssl functions instead of doing it manually
2017-12-25 21:41:34 +01:00
Aokromes
90badf9d7e
Misc: More cleanup
2017-11-25 02:50:29 +01:00
Shauren
4226eb2ea5
Core/Misc: Some /W4 warning fixes
2017-06-07 17:23:50 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
jackpoz
37fedcc8f6
Common/Crypto: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 17:03:25 +02:00
jackpoz
ab40f20bad
Common/Crypto: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-03 23:34:01 +02:00
Naios
a679829050
Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
...
(cherry picked from commit 3271f328de35f940f682a0dbe1d9466e29190182)
2016-04-18 22:11:16 +02:00
Naios
501fd9b502
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-03-24 01:28:58 +01:00
Shauren
680c12a4bf
Core/Crypto: Renamed SHA1Randx/WardenKeyGeneration and made it a template class
2016-03-19 23:15:54 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
StormBytePP
ba2e9fbe95
Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem)
2015-08-24 03:35:19 +02:00
StormBytePP
1d2aafd39b
Core/Build: Merge common library and move database out of shared
2015-08-21 17:52:42 +02:00