[File] New magic file for Sydbox encrypted files
Ali Polatel
alip at hexsys.org
Mon Nov 18 09:57:55 UTC 2024
Dear kind people,
I am the developer of Sydbox[1], a sandbox for Linux systems.
It has a mode to encrypt files, below you may find the magic
definition of such encrypted files. Refer to this page[2]
for more information about the format.
--8<--
# Magic file for SYD3 encrypted files
# https://man.exherbolinux.org/syd.7.html#Crypt_Sandboxing
0 string \177SYD SYD encrypted file,
>4 byte x version %d
!:mime application/x-syd-encrypted
# Extract and display the 32-byte HMAC.
>5 ubelong x \b, HMAC: %08x
>9 ubelong x \b%08x
>13 ubelong x \b%08x
>17 ubelong x \b%08x
>21 ubelong x \b%08x
>25 ubelong x \b%08x
>29 ubelong x \b%08x
>33 ubelong x \b%08x
# Extract and display the 16-byte IV.
>37 ubelong x \b, IV: %08x
>41 ubelong x \b%08x
>45 ubelong x \b%08x
>49 ubelong x \b%08x
-->8--
[1]: https://sydbox.exherbolinux.org
[2]: https://man.exherbolinux.org/syd.7.html#Crypt_Sandboxing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - alip at hexsys.org - 0xC22DA9DE.asc
Type: application/pgp-keys
Size: 637 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20241118/c588c48b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20241118/c588c48b/attachment.asc>
More information about the File
mailing list