ThauEx / ffrk-proxy

Proxy for Final Fantasy Record Keeper written in node.js
GNU Lesser General Public License v3.0
39 stars 21 forks source link

iOS fix proposal #136

Closed jm97 closed 6 years ago

jm97 commented 6 years ago

@ThauEx Here is how you fix the iOS issue. In certs.js: keys = forge.pki.rsa.generateKeyPair(2048);

The root CA is already 2048 bit, but the other certs are not. iOS probably sunsetted 1024 bit cert support around the time your proxy started failing. So just make sure the certs you include in the repo are 2048 as well. Easy enough to regenerate them (after updating certs.js) with:

npm run renew-root-ca npm run renew-certs

Now my problem is that most of the filters don't work because the game has changed so much since the last time the proxy was fixed. Good times.

jm97 commented 6 years ago

Tested and verified that this fixes the issue with iOS

ThauEx commented 6 years ago

Wow... Thank you very much! Didn't know that the fix is that simple. Will try to implement the fix and check the filters today (or tomorrow)

jm97 commented 6 years ago

The filters actually work fine if I go the intercept route (rather than your new inject route). So all is working great with 0.12 with the intercept code from 0.9.1. Works like a charm, thanks again for all the great work on this project. It's made playing the game more fun for me!