summaryrefslogtreecommitdiff
path: root/ebin
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-02 18:21:47 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-02 18:21:47 +0200
commitdf6fca69a7d9bb11d7c6116a9cc4062a6e5e040d (patch)
treeddb03b65a863384057696300bc756bd863621f59 /ebin
parentd1adbd1523f6d584fd9d060e4224ca07251aeb46 (diff)
Sign using ECDSA and fix a couple bugs.
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.
Diffstat (limited to 'ebin')
-rw-r--r--ebin/plop.app2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebin/plop.app b/ebin/plop.app
index 55d5648..dd40311 100644
--- a/ebin/plop.app
+++ b/ebin/plop.app
@@ -3,7 +3,7 @@
[{description, "The plop store"},
{vsn, "0.0.1"},
{modules, [plop_app, plop_sup, plop, db, ht, hex]},
- {applications, [kernel, stdlib, mnesia]}, % crypto, public_key, mnesia
+ {applications, [kernel, stdlib, mnesia]}, % crypto, public_key
{registered, [plop, db]},
{mod, {plop_app, []}} % <-- key file and pass phrase
]}.