summaryrefslogtreecommitdiff
path: root/src/plop.erl
Commit message (Collapse)AuthorAgeFilesLines
* Define #sth{} and have sth() return those.Linus Nordberg2014-05-051-11/+13
|
* Make #spt_signed{} private.Linus Nordberg2014-05-051-0/+11
|
* Rename #sth -> #sth_signed and make it private.Linus Nordberg2014-05-051-8/+16
|
* Rename spt_on_wire -> spt.Linus Nordberg2014-05-041-4/+4
|
* Limit the debug printing some.Linus Nordberg2014-05-041-4/+7
|
* Adopt to first user -- ctls.Linus Nordberg2014-05-041-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 Nordberg2014-05-041-3/+1
| | | | I.e. require arguments to always be passed.
* Don't need quotes around module name.Linus Nordberg2014-05-041-1/+1
|
* Sign using ECDSA and fix a couple bugs.Linus Nordberg2014-05-021-49/+127
| | | | | | | | | | | 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 dbLinus Nordberg2014-05-021-2/+5
|\ | | | | | | | | Conflicts: src/plop.erl
| * Move keyfile name and pass phrase.Linus Nordberg2014-05-011-2/+5
| |
* | Store MTL in database -- we need the meat.Linus Nordberg2014-05-011-25/+23
| |
* | Follow changes to headers.Linus Nordberg2014-05-011-1/+2
|/
* Turn it all into an application.Linus Nordberg2014-04-291-2/+2
| | | | Warning: Rough edges.
* First cut at adding DB support.Linus Nordberg2014-04-291-64/+163
| | | | Including half crazy rewrite of most of the data structures.
* Add STH support, with failing tests due to gen_server testing woes.Linus Nordberg2014-04-261-46/+86
| | | | Move things out of spt() for reuse by sth().
* Clean up data types.Linus Nordberg2014-04-261-28/+29
|
* Make plop a gen_server.Linus Nordberg2014-04-261-46/+58
|
* Initialise plop_entry properly.Linus Nordberg2014-04-251-1/+1
|
* Formatting and comments.Linus Nordberg2014-04-251-41/+22
|
* Clean up plop a bit.Linus Nordberg2014-04-251-9/+3
|
* Produce SPT's, add tests.Linus Nordberg2014-04-251-21/+113
| | | | NOTE: Test vectors not verified.
* WIP plop.erlLinus Nordberg2014-04-211-0/+77