summaryrefslogtreecommitdiff
path: root/src/v1.erl
Commit message (Collapse)AuthorAgeFilesLines
* 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!