summaryrefslogtreecommitdiff
path: root/tools/certtools.py
Commit message (Collapse)AuthorAgeFilesLines
* Added benchmark reporting.benchreportMagnus Ahltorp2017-03-171-3/+3
| | | | Change timing_point to time.time interface.
* Verify http auth signature correctly.Magnus Ahltorp2017-03-171-2/+5
| | | | Don't interpret http contents when content type is "application/octet-stream".
* Have loginfo.py tolerate 500 for a while when waiting for STH.Linus Nordberg2017-02-081-0/+10
|
* Create and use the minsize file.Linus Nordberg2017-02-071-0/+1
|
* Parallelised merge, sth phase.Linus Nordberg2017-02-071-0/+18
|
* Merge remote-tracking branch 'refs/remotes/map/config-api-key'Linus Nordberg2017-01-231-8/+16
|\
| * API keys are now provided in the config file.Magnus Ahltorp2017-01-201-8/+16
| | | | | | | | Also added CA cert verification for internal TLS connections.
* | Update copyright headers.Linus Nordberg2017-01-121-1/+1
|/
* Add session capability to unauth web requestsrobust-distributionMagnus Ahltorp2016-11-221-6/+9
|
* Limit HTTP chunk size to 900000 bytesMagnus Ahltorp2016-03-171-1/+8
|
* Make http_request take optional session parameterMagnus Ahltorp2016-03-151-32/+38
|
* Make it work with older python-requestsMagnus Ahltorp2016-03-091-3/+12
|
* Use python requests package instead of urllib2Magnus Ahltorp2016-03-091-106/+88
|
* Add a test for when merge backup fails.Linus Nordberg2015-11-101-0/+3
| | | | Also, avoid tracebacks on ECONNREFUSED by catching urrllib2.URLError.
* Cosmetic.Linus Nordberg2015-11-101-2/+2
|
* Follow internal HTTP API URL changes.Linus Nordberg2015-08-201-1/+1
|
* Added storage gc scriptstoragegcMagnus Ahltorp2015-07-311-0/+9
|
* Removed python 2.6 SSL workaroundMagnus Ahltorp2015-06-101-19/+5
| | | | | On certain errors from the web server, the workaround was called even though 2.7 was used. The workaround doesn't parse URL:s correctly.
* Don't exit on signing errorMagnus Ahltorp2015-06-101-1/+1
|
* Merge remote-tracking branch 'refs/remotes/john/https_get_for_old_python'Linus Nordberg2015-06-011-6/+48
|\
| * Added a https get function for old pythonJohn Van de Meulebrouck Brendgard2015-05-221-6/+48
| |
* | Don't require --publickey, but print better error message.check-sth3Magnus Ahltorp2015-05-221-1/+6
|/
* Verify SSL certificates and hostnames in python codesslverifyMagnus 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_openercleanup-testsMagnus 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.Linus 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
|