This is Jorji:
Jorji has a forged passp^H^H^H^H^Hcertificate:
Would you spot it? Would your software?
(Jorji and his passport are part of the excellent Papers, Please, a dystopian game about border control in a fictional communist country by Lucas Pope. Lucas has graciously allowed me to use the above artwork, because he's awesome. You should go buy his games.)
jorji
(this project) contains the tools you need to produce a TLS
server (by default, an HTTPS server) with bogus certificates. This is
useful to write integration tests to verify that your application
actually checks the certificate provided by the server.
TLS clients have pretty much one job: verify certificates correctly. Most clients don't bother to verify certificates at all, and give forgeries way less credible than Jorji's passport a pass.
Create some bogus certs:
>>> from jorji import make_cert >>> TODO
If you're already using Twisted:
>>> from jorji import start >>> TODO
The recommended way to use jorji without Twisted is crochet. It will run the Twisted reactor off in a thread somewhere so you don't have to worry about it.
I'd like to thank Rackspace for giving me the opportunity to produce open-source software on company time.
Please see the CONTRIBUTING file.