summaryrefslogtreecommitdiff
path: root/README
blob: 5689b449d2b72859c1dd976e4f0e35ce830b7512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
plop is a public log based on a Merkle tree. It can be used for
implementing Certificate Transparency (RFC 6962).

The first implementation is in Erlang. The only interface supported
initially is Erlang messages.

Requires Erlang/OTP 17 [erts-6.0] or later.

Compile the application

  $ erl -make

Start the application locally

  Very first time, before there is a database:
  $ erl -boot start_sasl -pa ebin -eval "plop_app:install([node()])."
  There should now exist a directory Mnesia.nonode@nohost/ with four
  files in it.

  Start the application:
  $ erl -boot start_sasl -pa ebin \
    -eval "mnesia:start(), application:start(plop)."

  FIXME: mnesia isn't starting automagically, why?
  TODO: -plop Keyfile "test/rsakey.pem" -plop Passphrase "sikrit"

Test the application

  [FIXME]

Debugging

  Dump the database to a file:
  1> db:dump_to_file("dump.txt").