Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up the mkhash / gethash name mess a bit. | Linus Nordberg | 2014-06-01 | 1 | -9/+8 |
| | |||||
* | Implement audit_path/2. | Linus Nordberg | 2014-06-01 | 1 | -19/+54 |
| | |||||
* | Add note about appending trees. | Linus Nordberg | 2014-06-01 | 1 | -6/+10 |
| | | | | Also remove unused code and clearify append/1. | ||||
* | Implement path/1 for testing. | Linus Nordberg | 2014-06-01 | 1 | -4/+44 |
| | |||||
* | Start db prior to plop. | Linus Nordberg | 2014-05-29 | 1 | -9/+7 |
| | | | | So that plop can read the database at startup. | ||||
* | 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 | 2 | -14/+37 |
| | |||||
* | 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 |
| | |||||
* | Add db:get_by_index/2. | Linus Nordberg | 2014-05-26 | 1 | -2/+14 |
| | |||||
* | 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 |
| | |||||
* | Remove a debug printout. | Linus Nordberg | 2014-05-07 | 1 | -1/+0 |
| | | | | In a test. | ||||
* | Function documentation. | Linus Nordberg | 2014-05-07 | 1 | -13/+23 |
| | |||||
* | Formatting. | Linus Nordberg | 2014-05-07 | 1 | -10/+13 |
| | |||||
* | Remove support for crypto:sha(). | Linus Nordberg | 2014-05-07 | 1 | -11/+1 |
| | | | | We're not on R15 any more. | ||||
* | Doc and placeholders for audit path and consistency proof functions. | Linus Nordberg | 2014-05-07 | 1 | -6/+41 |
| | |||||
* | 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 | 2 | -5/+5 |
| | |||||
* | Limit the debug printing some. | Linus Nordberg | 2014-05-04 | 1 | -4/+7 |
| | |||||
* | Adopt to first user -- ctls. | Linus Nordberg | 2014-05-04 | 4 | -16/+27 |
| | | | | | | | | | | 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. | ||||
* | Send all arguments to plop. | Linus Nordberg | 2014-05-04 | 1 | -4/+4 |
| | |||||
* | Don't need quotes around module name. | Linus Nordberg | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | Use mnesia:index_read() instead of select() bc simpler. | Linus Nordberg | 2014-05-03 | 1 | -2/+1 |
| | |||||
* | Sign using ECDSA and fix a couple bugs. | Linus Nordberg | 2014-05-02 | 3 | -54/+141 |
| | | | | | | | | | | | Revive the plop_entry and hash over that instead of the full MTL, for the db hash. We don't want the timestamp in that hash! Use ECDSA instead of RSA for signing stuff. That's what Google does and we want to use their test suites. An annoyance with DSA is that the signature isn't deterministic. Testing just became less easy. Fix db:find() now that the hash is no longer the primary key. | ||||
* | Merge remote-tracking branch 'remotes/origin/db' into db | Linus Nordberg | 2014-05-02 | 1 | -2/+5 |
|\ | | | | | | | | | Conflicts: src/plop.erl | ||||
| * | Move keyfile name and pass phrase. | Linus Nordberg | 2014-05-01 | 1 | -2/+5 |
| | | |||||
* | | Store MTL in database -- we need the meat. | Linus Nordberg | 2014-05-01 | 1 | -25/+23 |
| | | |||||
* | | Change a comment. | Linus Nordberg | 2014-05-01 | 1 | -1/+1 |
| | | |||||
* | | Add plop_app:install(). | Linus Nordberg | 2014-05-01 | 1 | -1/+5 |
| | | |||||
* | | Follow changes to headers. | Linus Nordberg | 2014-05-01 | 1 | -1/+2 |
| | | |||||
* | | Move some records out of public header file. Improve db initialisation some. | Linus Nordberg | 2014-05-01 | 3 | -6/+19 |
| | | | | | | | | Wait for mnesia tables in init() and make the init-functions do some more. | ||||
* | | Move test files from src/test/ to test/. | Linus Nordberg | 2014-05-01 | 2 | -134/+0 |
|/ | |||||
* | Add init functions, for testing. | Linus Nordberg | 2014-04-30 | 1 | -2/+14 |
| | |||||
* | Turn it all into an application. | Linus Nordberg | 2014-04-29 | 5 | -81/+40 |
| | | | | Warning: Rough edges. | ||||
* | First cut at adding DB support. | Linus Nordberg | 2014-04-29 | 4 | -92/+359 |
| | | | | Including half crazy rewrite of most of the data structures. | ||||
* | Test adding and checking STH in sequence. | Linus Nordberg | 2014-04-26 | 1 | -32/+42 |
| | |||||
* | Fix bug with adding first element of empty tree. | Linus Nordberg | 2014-04-26 | 1 | -6/+17 |
| | | | | And tests! | ||||
* | Won't test sth's in ht. | Linus Nordberg | 2014-04-26 | 1 | -3/+0 |
| | |||||
* | Add STH support, with failing tests due to gen_server testing woes. | Linus Nordberg | 2014-04-26 | 3 | -81/+149 |
| | | | | Move things out of spt() for reuse by sth(). |