summaryrefslogtreecommitdiff
path: root/tools/certtools.py
Commit message (Collapse)AuthorAgeFilesLines
* Verify SSL certificates and hostnames in python codeMagnus Ahltorp2015-04-101-7/+16
| | | | Closes CATLFISH-34
* Pass an SSL context to urrllib2.Linus Nordberg2015-03-311-4/+4
|
* Cleanup tests and use urllib2.build_openerMagnus Ahltorp2015-03-311-18/+32
| | | | | | | | | Remove unused files Generate test config files directly in release directory Move test database files to "tests" directory Generate log key when preparing tests Report error when STH not found in v1.erl Make merge, fetchallcerts, submitcert, verifysct, and testcase1 take log key as argument
* Merge remote-tracking branch 'refs/remotes/map/compileconfig2'Linus Nordberg2015-03-251-11/+91
|\ | | | | | | | | Conflicts: .gitignore
| * Generate config from master config. Verify responses in merge.py.Magnus Ahltorp2015-03-231-8/+35
| |
| * Added precert handling for SCT calculationMagnus Ahltorp2015-03-231-5/+15
| |
| * Added validatestore.pyMagnus Ahltorp2015-03-231-0/+20
| |
| * Add submission of precertsMagnus Ahltorp2015-03-231-0/+23
| |
* | Add tools/fetchacert.py, fetching exactly one chain from a log.Linus Nordberg2015-03-251-0/+10
|/ | | | Also move a piece of common code from fetchallcerts.py to certtools.py.
* Add precert handling.Linus Nordberg2015-03-231-7/+7
|
* merge.py: use external signingMagnus Ahltorp2015-03-031-6/+14
|
* Move http_request to certtoolsMagnus Ahltorp2015-03-031-0/+18
|
* Add consistency proof checking to testcase1Magnus Ahltorp2015-02-271-1/+4
| | | | Fix consistency proof checking when first size is power of 2
* testcase1: Actually verify inclusion proofMagnus Ahltorp2015-02-201-2/+24
|
* Move public keys to separate fileMagnus Ahltorp2015-02-201-14/+1
|
* Added verification of consistency proofsMagnus Ahltorp2015-02-201-0/+89
|
* Implement function to fetch consistency proofMagnus Ahltorp2015-02-201-9/+99
| | | | | Implement function to calculate tree head from disk Implement function to calculate an intermediate node from disk
* fetchallcerts.py: handle precertsMagnus Ahltorp2015-02-201-3/+90
| | | | | | | submitcert.py: handle .zip files fetchallcerts.py: Always calculate full tree fetchallcerts.py: Cache level 16 hashes fetchallcerts.py: Save STH
* Wait after first submission. Continue on http error 400. Print submission ↵Magnus Ahltorp2015-02-201-1/+3
| | | | rate and number of submissions every 1000 submissions.
* Move hardcoded merge parameters to command lineMagnus Ahltorp2015-02-201-14/+23
|
* certtools.py: fix bug in build_merkle_treeMagnus Ahltorp2014-10-281-0/+3
|
* merge.py: send whole sth in sendsth callMagnus Ahltorp2014-10-271-0/+20
|
* fetchallcerts.py: calculate root hashMagnus Ahltorp2014-10-271-0/+24
|
* Added fetchallcerts.pyMagnus Ahltorp2014-10-271-0/+8
|
* submitcert.py: submit multiple cert chainsMagnus Ahltorp2014-10-271-0/+14
|
* Add copyright and licensing information.copyrightLinus Nordberg2014-10-151-0/+3
| | | | After offline discussions with Magnus Ahltorp.
* Added basic system testMagnus Ahltorp2014-10-081-13/+36
|
* Simplify submitcertMagnus Ahltorp2014-10-081-8/+40
|
* submitcert: Validate SCT and compare log idMagnus Ahltorp2014-09-251-1/+40
|
* submitcert.py: Get submitted entry from log and compareMagnus Ahltorp2014-09-241-1/+29
|
* Import sys.Linus Nordberg2014-09-231-0/+1
| | | | Fix by map.
* Add whitespace in order to break long lines.certtools-whitespaceLinus Nordberg2014-09-231-8/+14
| | | | Also, use /usr/bin/env.
* Added submitcert.pyMagnus Ahltorp2014-09-231-0/+74