The APK format is a ZIP file that always includes the files
AndroidManifest.xml and classes.dex. Then it also always
has a JAR signature (i.e. META-INF/). It does not have the
JAR magic number CAFEBABE in it.
___
Reproducible-builds mailing list
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
Processing control commands:
> tags -1 - pending
Bug #868486 [diffoscope] diffoscope often fails to detect APKs
Removed tag(s) pending.
--
868486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868486
Debian Bug Tracking System
Contact ow...@bugs.debian.org with probl
tags 868486 + pending
thanks
Fixed in Git:
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=c14424059b7836d59da8e18c260e34dc797cb02e
Thanks for providing the testcases! :)
Regards,
--
,''`.
: :' : Chris Lamb, Debian Project Leader
`. `'`
Package: diffoscope
Version: 83
APKs are basically a ZIP file with a JAR signature, but not necessarily
the CAFEBABE byte sequence that marks a JAR. This means that comparing
APKs with diffoscope often results in a straight binary diff, which is
useless.
Here's one example: