Commit Graph
24 Commits
Author SHA1 Message Date
Eric Wustrow 4b5ba56a2d check expiry in hashcash 2012-07-17 22:51:53 -04:00
Eric Wustrow 702b9ca394 Use hashcash python library directly, instead of subprocess.
We should really try to avoid calling out to potentially untrusted
binaries, especially as we are running as root
2012-07-17 21:27:00 -04:00
Eric Wustrow cf45b233f7 sorry, this one adds the previous commit about hashcash being dangerous...previous adds a symlink so clients can use it...grrr git is a mess within a mess 2012-07-17 21:11:38 -04:00
Eric Wustrow 9f1df2b704 fix hashcash bug - if check_validation is set, check function will not verify the stamp (elif to be cosnidered harmful) 2012-07-17 21:10:03 -04:00
Eric Wustrow 70023c5b08 Merge branch 'master' of github.com:research/chocolate 2012-07-12 20:30:52 -04:00
Eric Wustrow 956ea28b95 use M2Crypto in CSR verify/sign/encrypt 2012-07-12 20:30:46 -04:00
Eric Wustrow 0a85d8154f Merge branch 'master' of github.com:research/chocolate 2012-07-12 19:38:44 -04:00
Eric Wustrow 9ccd7d2e1e use M2Crypto (patched to support X509.Request.get_extensions) to read the SANs from the CSR; remove pkcs10.py 2012-07-12 19:38:37 -04:00
Eric Wustrow 94b6e593fb A bit less annoying - you can init a BIO with a string 2012-07-12 19:16:48 -04:00
Eric Wustrow 1c129ea1d7 use M2Crypto for parse function 2012-07-12 19:10:54 -04:00
Eric Wustrow 1bb0fc7286 Merge branch 'master' of github.com:research/chocolate 2012-07-12 18:07:22 -04:00
Eric Wustrow 19df04c516 use M2Crypto instead of openssl command line/subprocess for CSR parsing 2012-07-12 18:07:13 -04:00
Eric Wustrow d54858689a Merge branch 'master' of github.com:research/chocolate 2012-07-12 14:55:06 -04:00
Eric Wustrow 42999f7bb9 use M2Crypto for getting public key length 2012-07-12 14:55:00 -04:00
Eric Wustrow a6f244ec76 use M2Crypto for encrypting (Crypto.PublicKey uses unpaded RSA\!) 2012-07-12 14:54:39 -04:00
Eric Wustrow 1cb25dd143 oops, commited over the c6ac5858e4 server-param changes... 2012-07-11 02:26:04 -04:00
Eric Wustrow 2399b46354 use M2Crypto.RSA instead of Crypto.Public key (which was using an unpadded RSA\!\!\!) 2012-07-11 02:23:44 -04:00
Eric Wustrow e336d2cb0e use hashlib/hmac instead of Crypto 2012-07-10 23:36:23 -04:00
Eric Wustrow 28c9f8fdf2 add comments to verify_sni_challenge, make nonce be an ascii string 2012-07-06 15:28:17 -04:00
Eric Wustrow 7fd249071f make clean removes all generated cruft now 2012-06-28 22:23:35 -04:00
Eric Wustrow 1f02acf1b3 remove old shell script; replaced by Makefile 2012-06-28 22:22:24 -04:00
Eric Wustrow b6eea87587 Merge branch 'master' of github.com:research/chocolate 2012-06-28 22:21:00 -04:00
Eric Wustrow c7e15999ce need to use _ for swig to be happy 2012-06-28 22:20:50 -04:00
Eric Wustrow b98900d3e8 using gnumake instead of shell script to build sni_support.so 2012-06-28 22:00:37 -04:00