summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-10-03Authenticator: avoid move assignments to self (#5315)Tiger Wang1-8/+14
If authentication was off cClientHandle::m_Username ended up moved into itself. Add a copy to avoid this. Thanks @Seadragon91!
2021-10-02Authentication flow: move construction, slim down classes (#5312)Tiger Wang1-13/+12
- Remove extra members in ForgeHandshake
2021-08-23Use more URL-Encoding when sending API requests.Alexander Harkness1-2/+2
2021-03-28Fix Windows XP to 7 compatibility (#5167)Tiger Wang1-1/+1
* Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API
2021-03-07Some emplace_back replacements (#5149)12xx121-1/+1
* replace push_back with emplace_back when a new object was created in the function call
2020-05-09Update submodules (#4727)peterbell101-2/+2
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
2020-04-16Using Super.Mattes D1-3/+3
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-1/+1
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-22cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258)peterbell101-2/+1
This allows threads to be restarted after stopping. Fixes #4257
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-1/+1
* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
2017-08-25Add cUUID class (#3871)peterbell101-4/+9
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-2/+2
2015-09-25Namechange to CuberiteMattes D1-2/+2
2015-05-21Added Equifax root CA.Mattes D1-0/+8
Fixes #2076. Closes #2081. Ref.: #2072.
2015-05-16Initial implementation of IniFile overloadingtycho1-6/+6
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-08-03cMojangAPI: Added UUID-to-Name lookup.madmaxoft1-2/+2
Also fixed the bindings, now all functions are static-like.
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft1-10/+1
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft1-211/+5
The cache is persisted into a SQLite DB file on server shutdown.
2014-07-28cAuthenticator: Added GetUUIDsFromPlayerNames().madmaxoft1-3/+96
2014-07-19Authenticator.cpp: Killed a global destructor warningarchshift1-53/+56
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-16Function renameTiger Wang1-2/+2
2014-07-16Unified functionsTiger Wang1-28/+23
Thanks @Howaner!
2014-07-16Store properties as Json::ValueTiger Wang1-5/+10
2014-07-14Player properties are now retrievedTiger Wang1-101/+180
2014-07-07Implemented trapped chests & othersTiger Wang1-2/+2
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-05-03Hotfixed Chunked transfer encoding in Yggdrasil.madmaxoft1-1/+1
By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
2014-04-30Removed the unused cBlockingTCPLink class.madmaxoft1-1/+0
2014-04-29Removed unneeded #includes.madmaxoft1-6/+0
2014-04-28Added the G1 root cert.madmaxoft1-2/+29
Now the authenticator finally works.
2014-04-27Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes.madmaxoft1-91/+45
2014-04-26Fixes resource leaks in the yggdrasil authenticator. (CID 43617)jfhumann1-0/+33
2014-04-24Authenticator uses some C++ SSL objects.madmaxoft1-19/+40
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft1-80/+67
Server works both in online and offline modes with 1.7.9.
2014-04-13Fixed mistakedaniel09161-1/+1
2014-04-13Fixed Error?daniel09161-2/+2
2014-04-13Code Updatedaniel09161-4/+5
2014-04-13Added Yggdrasil Authentication Systemdaniel09161-0/+325
Code by Howaner. Fixes/Changes by me.