Go Back   EQEmulator Home > EQEmulator Forums > Misc > Misc::Off Topic

Misc::Off Topic Want to talk about something that has nothing to do with EverQuest or the emulator? Post here.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2004, 12:17 PM
darcnier88
Fire Beetle
 
Join Date: Nov 2004
Posts: 10
Default RSA

Does anyone have a clue how to decrypt RSA encryption? and then reencrypt it so the file will work?
Reply With Quote
  #2  
Old 12-20-2004, 12:44 PM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

I understand RSA encryption but I'm not exactly sure what you mean here. What do you want to decrypt? Do you have the public and private keys?
Reply With Quote
  #3  
Old 12-20-2004, 01:13 PM
darcnier88
Fire Beetle
 
Join Date: Nov 2004
Posts: 10
Default

Ok. For example Lineage 2 has a file now with there new release and if you run a server you cant edit the weapons, armor, ect files without putting it back to the state it was before. You can open it and add what you wont but it wont show up until you can reencrypt it so the client will read it.
Reply With Quote
  #4  
Old 12-20-2004, 01:35 PM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Ah, I see. :(

It sounds more like a digital signature than encryption as such.
If it is an RSA digital signature then what they do is calculate a SHA1 hash of the contents of the file, and then encrypt that hash value using the private RSA key.

The client will have the public RSA key and can use that to deterrmine if the file was properly signed using tha matching private key. It proves both that the file was not modifed since it was signed, and also that it was signed using the private key that matches the public key in the client.

If that's the case then without the public key you can't re-sign the modifed files. I'm speculating here with no knowledge of what they have actually done but If this *is* what they are using then you're unfortunatly not going to be able to sign the files.

Your only hope would be to modify the client to expect your own key instead but that's not the question you asked.
Reply With Quote
  #5  
Old 12-20-2004, 02:51 PM
darcnier88
Fire Beetle
 
Join Date: Nov 2004
Posts: 10
Default

How would I modify the client to do that?
Reply With Quote
  #6  
Old 12-20-2004, 08:26 PM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

No idea :(
Well, I expect there would be many, many hours of work with a disassembler and debugger to figure out how it did what it did and how to change it.

Not something I could do myself
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:16 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3