<html><head>
<style id="css_styles">
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] { list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius: 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
._em_placeholder {color: gray; border-bottom: 1px dotted lightblue;} ._em_placeholder:before{color:gray; content: '{{ ';} ._em_placeholder:after{color:gray; content: ' }}';}
</style>
</head>
<body>Folks,<div><br /></div><div>I noted on Linux, there is an entry for AES Crypt files. That's awesome, but it doesn't seem to work. For a while, I had been using my own definition I'd place in /etc/magic, oblivious to the entry in /usr/share/misc/magic. It seems the one installed makes some assumptions about optional file fields (e.g., CREATED_BY), though that can be a little dangerous since they are optional and order doesn't matter. That said, the magic data I have used is the one shown below. This should be stable (and has been) for a while.</div><div><br /></div><div>Paul</div><div><br /></div><div><font face="Consolas" size="2" style="font-size: 10pt;"># AES Crypt File
</font></div><div><font face="Consolas" size="2" style="font-size: 10pt;">0x00 string AES
</font></div><div><font face="Consolas" size="2" style="font-size: 10pt;">>0x04 byte <0x10
</font></div><div><font face="Consolas" size="2" style="font-size: 10pt;">>>0x03 byte 0x00 AES Crypt file (stream format 0)
</font></div><div><font face="Consolas" size="2" style="font-size: 10pt;">>0x04 byte 0x00
</font></div><div><font face="Consolas" size="2" style="font-size: 10pt;">>>0x03 byte x AES Crypt file (stream format %u)
</font></div><div style="font-size: 10pt;"><br /></div><div style="font-size: 10pt;"><br /></div></body></html>