secondlife
Member
- Joined
- Aug 1, 2009
- Messages
- 298
- Reaction score
- 23
Hi guys!
Can anyone who has some knowledge about RSA keys try to help me with this problem?
Is it possible to generate new unique RSA Keys for use on my server? I know how to change RSA on client (HexEdit) and server (Sources/ServerSide)
But my question is related to how it is possible to generate new keys that are "unique" for my client.
I've tried it with openssl, but the key format has nothing like the keys used in otservers.
OTServer format (look that - there are only numbers):
OpenSSL is like this (512bit):
Many thanks!
Hugs.
Can anyone who has some knowledge about RSA keys try to help me with this problem?
Is it possible to generate new unique RSA Keys for use on my server? I know how to change RSA on client (HexEdit) and server (Sources/ServerSide)
But my question is related to how it is possible to generate new keys that are "unique" for my client.
I've tried it with openssl, but the key format has nothing like the keys used in otservers.
OTServer format (look that - there are only numbers):
Code:
std::clog << ">> Loading RSA key" << std::endl;
const char* p("14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113");
const char* q("7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101");
const char* d("46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073");
OpenSSL is like this (512bit):
Code:
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALGnKHHyAoNwD2Hd1vCN4S0N2xBz0Ttx
N2aX0GKHhy/3s7zeYl8jPCnHo9HtWUs9ainKIS9muJULKqKL/p1IQw8CAwEAAQ==
Many thanks!
Hugs.