What is Nostr?
andrew / Andrew
npub1kun…p0ge
2022-12-27 06:04:25

andrew on Nostr: My little patch got accepted by Christos Zoulas and with any luck should end up in ...

My little patch got accepted by Christos Zoulas and with any luck should end up in file-5.45 next year (coming to Debian stable before 2035).

I looked at dozens of binary parses last week and magic(5) is by far the neatest syntax.

Unfortunately file(1) is hardcoded to have limitations on how much information it can output per file (something like 1000 characters), so I can only display information about the very first Bitcoin block in each blk.dat.

Perhaps it’s time to relax the limitations a bit and let it bloom into a first-class wire-speed parser.

https://github.com/file/file/blob/813b3304bafc77dd14da7a59d47a13e034a7cde9/magic/Magdir/crypto
Author Public Key
npub1kundug94z4c9llhf29v3ar657she8wu9p80cr2z3e4dujj0vzveqwpp0ge