tAdd magic file - cream - Stream encryption utility
(HTM) git clone git://git.z3bra.org/cream.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit b6e68ff5ede5ac54872fc506176722308b7e89d9
(DIR) parent cb347b39542d4ddd60695660dc0b4338a0f35c4f
(HTM) Author: Willy Goiffon <contact@z3bra.org>
Date: Tue, 18 Oct 2022 15:19:46 +0200
Add magic file
Diffstat:
A magic | 12 ++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/magic b/magic
t@@ -0,0 +1,12 @@
+# Magic data for the cream(5) encryption format.
+# Add the following to $HOME/.magic for immediate use with file(1),
+# or use it with "file -m ./magic <file>"
+
+0 string CREAM\1 CREAM encrypted data,
+>6 beshort x version %d,
+>8 belong x xchachapoly1305
+>8 belong x bs=%d,
+>12 belong x argon2id
+>12 belong x m=%d
+>16 belong x t=%d
+>20 belong x p=%d