summaryrefslogtreecommitdiff
path: root/src/v1.erl
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup tests and use urllib2.build_openercleanup-testsMagnus Ahltorp2015-03-311-2/+14
| | | | | | | | | 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
* Add precert handling.Linus Nordberg2015-03-231-30/+31
|
* Save STH instead of calculating a new one each time.Magnus Ahltorp2015-03-041-10/+2
|
* Stop using jiffyMagnus Ahltorp2014-10-251-99/+90
|
* Catch badly ASN.1-encoded certificates.Linus Nordberg2014-10-241-5/+5
| | | | | | Now not crashing badly encoded certs in the list of known roots, which is good. They're simply ignored. Next step is to figure out if we should accept some anomalies, due to reality.
* Use mochiweb for v1 APIMagnus Ahltorp2014-10-241-43/+43
| | | | | | Conflicts: catlfish.config src/v1.erl
* Merge branch 'validate-certchain' into staging1Linus Nordberg2014-10-241-2/+14
|\ | | | | | | | | Conflicts: src/catlfish.erl
| * Log (info) when adding and rejecting a certificate chain.Linus Nordberg2014-10-231-0/+4
| | | | | | | | Writing to stdout for now, until we've decided on logging framework.
| * Implement cert chain validation.Linus Nordberg2014-10-221-2/+10
| | | | | | | | NOTE: Presence of and constraints on names are not being validated.
* | Break include dependency on plop.hrlMagnus Ahltorp2014-10-241-7/+4
|/
* Fix bug in get-entries limitation of entries.Linus Nordberg2014-10-101-2/+1
|
* Limit get-entries to 1000 entries at the time.Linus Nordberg2014-10-091-3/+2
|
* Make cert chains and CtExtensions variable length (TLS) vectors.Linus Nordberg2014-09-251-56/+5
| | | | Also move some CT-specific code to new file catlfish.erl.
* Decode chain in 'add-chain' properly.Linus Nordberg2014-09-201-28/+43
| | | | | Also, present extra_data in response from get-entries and get-entry-and-proof.
* Add get-entry-and-proof and adopt to new plop:inclusion/2 signature.Linus Nordberg2014-09-191-6/+38
|
* Encode get-sth-consistency and get-proof-by-hash properly.Linus Nordberg2014-09-151-4/+6
|
* Implement get-proof-by-hash.Linus Nordberg2014-09-151-7/+28
|
* Remove spurious parentheses.Linus Nordberg2014-09-151-1/+1
|
* Don't try to JSON-encode error messages.Linus Nordberg2014-09-151-5/+8
|
* It's plop:consistency/2.Linus Nordberg2014-09-151-1/+1
|
* Implement get-sth-consistency.Linus Nordberg2014-09-141-2/+16
|
* Add licensing information.Linus Nordberg2014-06-101-0/+3
|
* Base64-encode that empty string in extra_data.Linus Nordberg2014-06-041-1/+1
|
* Add get-entries and s/_/-/g in function names.Linus Nordberg2014-06-041-20/+44
| | | | | URL's now has hyphens rather than underscores. Rewriting URL's is no longer necessary.
* Don't crash when reporting bad input to add-chain.Linus Nordberg2014-05-201-4/+5
|
* Set protocol version to 0, i.e. v1.Linus Nordberg2014-05-201-1/+1
|
* Make 'extensions' field the empty string.Linus Nordberg2014-05-201-1/+1
| | | | Not the empty list.
* Merge branch 'master' of /home/linus/repo/ctlsLinus Nordberg2014-05-121-2/+5
|\ | | | | | | | | Conflicts: src/v1.erl
| * Signatures must now be serialised and base64 encoded.Linus Nordberg2014-05-121-2/+5
| |
* | Merge branch 'master' of /home/linus/repo/ctlsLinus Nordberg2014-05-101-2/+2
|\ \ | |/ | | | | | | Conflicts: src/v1.erl
| * The tree head signature from get-sth is not base64 encoded.Linus Nordberg2014-05-101-2/+2
| |
| * It's `tree_size'.Linus Nordberg2014-05-071-1/+1
| | | | | | | | Not `treesize'.
* | Correct treesize -> tree_size in get-sth response.Linus Nordberg2014-05-101-5/+8
|/ | | | | Move call to mod_esi:deliver into own function, for easier changing of HTTP headers and such.
* Add (empty) get-roots.Linus Nordberg2014-05-051-2/+4
|
* Add support for get-sth.Linus Nordberg2014-05-051-1/+11
|
* Follow s/spt_on_wire/spt/g in plop.Linus Nordberg2014-05-041-5/+25
| | | | Also, add NIY placeholders for all URLs.
* Get going, first cut.Linus Nordberg2014-05-041-0/+45
add-chain looks like it might work properly. Not verified!