Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize db:get_by_indices by not fetching entry and implementing index:getrangeoptimize-startup | Magnus Ahltorp | 2014-10-25 | 1 | -1/+7 |
| | | | | | | Conflicts: src/index.erl src/plop.erl | ||||
* | Break include dependency on plop.hrl | Magnus Ahltorp | 2014-10-24 | 1 | -6/+2 |
| | |||||
* | Use raw file storage | Magnus Ahltorp | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Fix api problemsplop-if-cleanup | Magnus Ahltorp | 2014-09-27 | 1 | -2/+2 |
| | |||||
* | Fix api problems | Magnus Ahltorp | 2014-09-27 | 1 | -5/+12 |
| | |||||
* | wip | Linus Nordberg | 2014-09-27 | 1 | -211/+72 |
| | |||||
* | Sign the correct things in SPT's. | Linus Nordberg | 2014-09-25 | 1 | -5/+8 |
| | | | | | First, the log entry (i.e. leaf hash) must be a TLS vector. Second, an empty extension (as a TLS vector), must be included. | ||||
* | Use correct LogID. | Linus Nordberg | 2014-09-25 | 1 | -5/+4 |
| | |||||
* | Rename inclusion_and_more/2. | Linus Nordberg | 2014-09-25 | 1 | -6/+6 |
| | |||||
* | Actually serialise TLS vectors according to specfix-tls-vector | Magnus Ahltorp | 2014-09-23 | 1 | -2/+8 |
| | |||||
* | Store and retrieve extra-data in/from db. | Linus Nordberg | 2014-09-20 | 1 | -20/+26 |
| | | | | Also, add more specs to db. | ||||
* | Fix crash in inclusion() and add inclusion-and-leaf(). | Linus Nordberg | 2014-09-19 | 1 | -6/+22 |
| | |||||
* | Hash over the MerkleTreeLeaf. | Linus Nordberg | 2014-09-19 | 1 | -10/+6 |
| | | | | | Hash over correct timestamp when adding submitted entries. Hash over the full #mtl{} when adding entries from db. | ||||
* | Add field 'mtlhash' to the database, for get-proof-by-hash. | Linus Nordberg | 2014-09-18 | 1 | -11/+13 |
| | | | | | | | | | | Also, in db: Add field 'mtlhash' to record 'plop'. Rename 'hash' -> 'entryhash'. Add leaf_hash(), calculating a leaf hash from data. Fix a bug where print_tree() print half a byte of the hashes. Rename tree_hash() -> root(). Closes CATLFISH-3. | ||||
* | Have inclusion/2 return Index too. | Linus Nordberg | 2014-09-15 | 1 | -5/+5 |
| | |||||
* | Add inclusion/2. | Linus Nordberg | 2014-09-15 | 1 | -1/+11 |
| | |||||
* | Make two comments @doc. | Linus Nordberg | 2014-09-15 | 1 | -3/+2 |
| | |||||
* | Add consistency/2. | Linus Nordberg | 2014-09-15 | 1 | -5/+6 |
| | |||||
* | Adjust plop for changes in ht. | Linus Nordberg | 2014-09-14 | 1 | -43/+25 |
| | |||||
* | Make dialyzer happier. | Linus Nordberg | 2014-09-10 | 1 | -2/+2 |
| | | | | | Make sure test function returns something. I would imagine that eunit.hrl should take care of this but haven't investigated. | ||||
* | Fix missing spec change. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Fix (unused) test function. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Make dialyzer happier. | Linus Nordberg | 2014-09-10 | 1 | -2/+2 |
| | | | | Protocol version can be 0. | ||||
* | New hash tree implementation, using an ETS table for the hashes. | Linus Nordberg | 2014-09-09 | 1 | -15/+16 |
| | | | | | Also, add an untested entry storage implementation, using multiple DETS tables. | ||||
* | Add licensing information. | Linus Nordberg | 2014-06-09 | 1 | -0/+3 |
| | |||||
* | Make serialise/1 return a binary. | Linus Nordberg | 2014-06-04 | 1 | -45/+36 |
| | | | | Lists became nested. | ||||
* | plop.hrl has finally moved into include/. | Linus Nordberg | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Add get/1; remove debug printouts; formatting. | Linus Nordberg | 2014-06-04 | 1 | -14/+23 |
| | |||||
* | Fix add_more_test/0 and rename it. | Linus Nordberg | 2014-06-02 | 1 | -6/+8 |
| | | | | | One probably don't want it to be run automatically since it bloats the db. | ||||
* | Test adding 200 3kB entries. | Linus Nordberg | 2014-05-29 | 1 | -0/+7 |
| | |||||
* | Add db:size/0 and some error checking. | Linus Nordberg | 2014-05-29 | 1 | -6/+22 |
| | |||||
* | Formatting. | Linus Nordberg | 2014-05-27 | 1 | -1/+2 |
| | |||||
* | Improve basic description of plop. | Linus Nordberg | 2014-05-27 | 1 | -6/+12 |
| | |||||
* | Make tests use v1=0 too. | Linus Nordberg | 2014-05-26 | 1 | -4/+3 |
| | |||||
* | Handle error from db:find/1. | Linus Nordberg | 2014-05-26 | 1 | -10/+9 |
| | |||||
* | Change default protocol version from 1 to 0. | Linus Nordberg | 2014-05-19 | 1 | -4/+2 |
| | | | | | | RFC6962 "v1" is 0, not 1. Also, use a define and not a literal. Also also, move the define to plop.hrl. | ||||
* | Merge remote-tracking branch 'devp/master' | Linus Nordberg | 2014-05-19 | 1 | -2/+2 |
|\ | |||||
| * | Be consistent with naming of variables for priv/pub keyfiles. | Linus Nordberg | 2014-05-19 | 1 | -2/+2 |
| | | |||||
* | | Clarify DSS signature encoding. | Linus Nordberg | 2014-05-16 | 1 | -0/+3 |
|/ | |||||
* | Fix typo in e7e1782. | Linus Nordberg | 2014-05-16 | 1 | -2/+2 |
| | |||||
* | Add length field to serialised signature. | Linus Nordberg | 2014-05-16 | 1 | -2/+5 |
| | | | | | This seems to contradict the spec but is something Googles reference implementation does. | ||||
* | Encode signatures properly. | Linus Nordberg | 2014-05-12 | 1 | -6/+43 |
| | |||||
* | Define #sth{} and have sth() return those. | Linus Nordberg | 2014-05-05 | 1 | -11/+13 |
| | |||||
* | Make #spt_signed{} private. | Linus Nordberg | 2014-05-05 | 1 | -0/+11 |
| | |||||
* | Rename #sth -> #sth_signed and make it private. | Linus Nordberg | 2014-05-05 | 1 | -8/+16 |
| | |||||
* | Rename spt_on_wire -> spt. | Linus Nordberg | 2014-05-04 | 1 | -4/+4 |
| | |||||
* | Limit the debug printing some. | Linus Nordberg | 2014-05-04 | 1 | -4/+7 |
| | |||||
* | Adopt to first user -- ctls. | Linus Nordberg | 2014-05-04 | 1 | -12/+22 |
| | | | | | | | | | | Return #spt_on_wire instead of serialised version of it -- user wants the timestamp in there. Store that in db too. Export serialise/1 for user to do it themselves. Add get_logid/1 -- user needs that for the CST. Make sure 'now' is turned into a proper timestamp at all levels. Debug printout in plop start_link. | ||||
* | Remove start_link/0. | Linus Nordberg | 2014-05-04 | 1 | -3/+1 |
| | | | | I.e. require arguments to always be passed. | ||||
* | Don't need quotes around module name. | Linus Nordberg | 2014-05-04 | 1 | -1/+1 |
| |