In
modules/gamelib/const.lua
, here:
OTCv8 Development repository (source code). Contribute to OTCv8/otcv8-dev development by creating an account on GitHub.
github.com
Random server-client key pair you can generate here (F5 on site to get new key-pair):
If you are copying
key.pem
from ots.me, make sure you save file with 'LF' line endings (linux), not CRLF (windows). It may make file unreadable on some OTSes running on Linux.
EDIT:
Client-server RSA files/config must be a 'RSA key-pair'.
If for some reason your server prints
RSA Decrypt Failed
when you login with OTC, it means your client does not use RSA client key that pairs with server RSA key. You cannot get server key from client key, so easiest solution is to generate new RSA key-pair and replace it on both sides: server and client.