Sajgon
Advanced OT User
Hello friends!
I recently migrated from TFS 1.0 to latest 1.3 but having an issue with the RSA decryption ,
I am using version 7.7 and my server compiles with no problems but crashes when connecting with my OTClient.
(The below file is from vcpkg/buildtrees/cryptopp/src/TOPP_8_2_0../rsa.cpp)
This is the TFS function causing the crash -> otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/src/rsa.cpp#L32)
I have tried to put the code in above function in a try-catch and it doesn't crash anymore but doesn't let me login (ERROR 10054).
(Source: Linux - Login with Client 12 crash the server (https://otland.net/threads/login-with-client-12-crash-the-server.266116/#post-2571800))
I have a key.pem file in main directory same as this -> otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/key.pem)
This is how my OTSERV_RSA looks like client-side otland/otclient (https://github.com/otland/otclient/blob/master/modules/gamelib/const.lua#L227)
I am clueless for now, any ideas?
Thank you in advance.
I recently migrated from TFS 1.0 to latest 1.3 but having an issue with the RSA decryption ,
I am using version 7.7 and my server compiles with no problems but crashes when connecting with my OTClient.
(The below file is from vcpkg/buildtrees/cryptopp/src/TOPP_8_2_0../rsa.cpp)
This is the TFS function causing the crash -> otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/src/rsa.cpp#L32)
I have tried to put the code in above function in a try-catch and it doesn't crash anymore but doesn't let me login (ERROR 10054).
(Source: Linux - Login with Client 12 crash the server (https://otland.net/threads/login-with-client-12-crash-the-server.266116/#post-2571800))
I have a key.pem file in main directory same as this -> otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/key.pem)
This is how my OTSERV_RSA looks like client-side otland/otclient (https://github.com/otland/otclient/blob/master/modules/gamelib/const.lua#L227)
I am clueless for now, any ideas?
Thank you in advance.
Last edited: