summaryrefslogtreecommitdiff
path: root/tools/certtools.py
Commit message (Collapse)AuthorAgeFilesLines
* WIPLinus Nordberg2016-07-161-6/+7
| | | | NOTE: tests don't work -- SCT's don't validate
* Change application URL to open/gaol/v1.Linus Nordberg2016-02-011-6/+6
|
* make tests work(s)Linus Nordberg2016-02-011-1/+1
|
* 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.internal-apiLinus Nordberg2015-08-201-1/+1
|
* Added storage gc scriptMagnus 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.Magnus Ahltorp2015-05-221-1/+6
|/
* 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