Bug#868486: diffoscope often fails to detect APKs

Ximin Luo infinity0 at debian.org
Mon Jul 24 14:22:00 UTC 2017


Control: tags -1 - pending

Hans-Christoph Steiner:
> [..]
> 
> I'd like a way to force the file type in diffoscope.   We are calling it
> from a build process, so we already know all files are going to be APKs.
> Also,  I tried to get this added to libfile, but upstream is not willing
> to accept detection routines that rely on more complicated things like
> presence of a file in a ZIP. They just want byte patterns, which is not
> enough to consistently detect APKs.
> 

Do you have a link to the libfile discussion, and could you provide some more detail on the APK file format? I think in diffoscope we *are* happy to add more complicated detection logic.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Reproducible-builds mailing list