Closed USA-RedDragon closed 11 months ago
I’m Looks good to me. Very happy we can remove all that cert validation code. I can test this in about an hour.
@TormStorm Confirmed this is working properly
@TormStorm Confirmed this is working properly
With all the dependencies removed as well?
Yep. I used a clean virtual environment to run it.
Fixes #126
Jagex seems to not be shipping a JWT with their latest release. This change swaps the code to use the proper hostname and lets
requests
validate the CA certificate chain. This removes all dependencies. SSL certificates that do not validate still get the following exception:I also removed unused imports and added a fix for a potential extra error message by importing
binascii