aboutsummaryrefslogtreecommitdiff
path: root/archive/2021-06-29-tooling-mockup
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-06-29 14:24:49 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-06-29 14:24:49 +0200
commitc7f1ed4172cfa642271ea1c08bbe642edec54448 (patch)
treeaf363f2807f059041a67898c5f8865e85bef4097 /archive/2021-06-29-tooling-mockup
parenta1f628c445a6ac4145ea6d191e6bcd72a96d894c (diff)
persisted pads from meeting minutes
Diffstat (limited to 'archive/2021-06-29-tooling-mockup')
-rw-r--r--archive/2021-06-29-tooling-mockup23
1 files changed, 23 insertions, 0 deletions
diff --git a/archive/2021-06-29-tooling-mockup b/archive/2021-06-29-tooling-mockup
new file mode 100644
index 0000000..25e0003
--- /dev/null
+++ b/archive/2021-06-29-tooling-mockup
@@ -0,0 +1,23 @@
+Example snippet with signify to log a new checksum
+- The only thing that should change with e.g. minisign, yubihsm, or any other tool that signs what we ask for with ed25519 -> specify this tool with -f FORMAT flag.
+
+$ signify -G -p rgdd.pub -s rgdd.sec
+$ ls
+rgdd.pub rgdd.sec
+$
+$ echo 'print("hello, world!")' > hello.py
+$ sha256sum hello.py | awk '{print $1}' > hello.sum
+$ ls
+hello.py hello.sum rgdd.pub rgdd.sec
+$
+$ sigsum-format abcd --to-sign -c hello.sum > hello.tosign
+$ signify -S -s rgdd.sec -m hello.tosign
+$ ls
+hello.py hello.sum hello.tosign hello.tosign.sig rgdd.pub rgdd.sec
+$
+$ sigsum-format abcd --to-log -d example.com -c hello.sum -s hello.tosign.sig -k rgdd.pub
+...
+$ !! | curl --data-binary @- $(siglog-format abcd --endpoint add-leaf)
+...
+
+And from here on, fetch cosigned tree head, inclusion proof, bundle them up into a format that is suitable for the use-case, etc. That's what I'm thinking the "bundle" option could do, so that we have concrete examples of what we mean by "you can distribute proofs of public logging in any format that suits you".