]> granicus.if.org Git - file/commitdiff
Pr/79: cisba: new opentimestamps magic
authorChristos Zoulas <christos@zoulas.com>
Mon, 27 May 2019 01:27:31 +0000 (01:27 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 27 May 2019 01:27:31 +0000 (01:27 +0000)
magic/Magdir/opentimestamps [new file with mode: 0644]
magic/Makefile.am

diff --git a/magic/Magdir/opentimestamps b/magic/Magdir/opentimestamps
new file mode 100644 (file)
index 0000000..f2f0e3e
--- /dev/null
@@ -0,0 +1,16 @@
+
+#------------------------------------------------------------
+# $File: opentimestamps,v 1.1 2019/05/27 01:27:31 christos Exp $
+# OpenTimestamps related magic entries 
+# https://opentimestamps.org/
+# https://en.wikipedia.org/wiki/OpenTimestamps
+# "Emanuele Cisbani" <emanuele.cisbani@gmail.com>
+#------------------------------------------------------------
+
+# OpenTimestamps Proof .ots format. 
+# Magic is defined here:
+# https://github.com/opentimestamps/python-opentimestamps/\
+# blob/master/opentimestamps/core/timestamp.py#L273
+
+0      string  \x00\x4f\x70\x65\x6e\x54\x69\x6d\x65\x73\x74\x61\x6d\x70\x73\x00 OpenTimestamps
+>16    string  \x00\x50\x72\x6f\x6f\x66\x00\xbf\x89\xe2\xe8\x84\xe8\x92\x94\x01 Proof
index 7caf40778dfc16af7498ab190f31b165ca16bbbf..2759a89a44214ee5262840684db5ed61c6a9a593 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.144 2019/05/20 17:25:09 christos Exp $
+# $File: Makefile.am,v 1.145 2019/05/27 01:27:31 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -202,6 +202,7 @@ $(MAGIC_FRAGMENT_DIR)/ocaml \
 $(MAGIC_FRAGMENT_DIR)/octave \
 $(MAGIC_FRAGMENT_DIR)/ole2compounddocs \
 $(MAGIC_FRAGMENT_DIR)/olf \
+$(MAGIC_FRAGMENT_DIR)/opentimestamps \
 $(MAGIC_FRAGMENT_DIR)/os2 \
 $(MAGIC_FRAGMENT_DIR)/os400 \
 $(MAGIC_FRAGMENT_DIR)/os9 \