Commit f110ed04 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Demo script: simulate a directory update to better test verify-diff

parent 6c4052f7
......@@ -59,7 +59,14 @@ mv ballots.tmp ballots.jsons
header "Perform verification"
belenios-tool verify
belenios-tool verify-diff --dir1=. --dir2=.
header "Simulate and verify update"
tdir="$(mktemp -d)"
cp election.json public_creds.txt public_keys.jsons "$tdir"
head -n3 ballots.jsons > "$tdir/ballots.jsons"
belenios-tool verify-diff --dir1="$tdir" --dir2=.
rm -rf "$tdir"
header "Perform decryption"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment