So I have little experience in these things. The first thing I thought is "doesn't file/magic do this form me"? Eg, <a href="https://github.com/file/file" rel="nofollow">https://github.com/file/file</a> .<p>My cursory view suggests that the shibboleth file could be exported into something that file could parse. But of course there's the overhead of all the things which shibboleth doesn't try to handle.<p>I then wondered where the signatures came from. My again cursory view shows many file signatures which aren't in file/magic. Which makes me think they could be folded in.<p>I'm left wondering. Cursorily.