Bug#849638: diffoscope 66 does binary diff on APK files

Reiner Herrmann reiner at reiner-h.de
Thu Dec 29 11:54:17 UTC 2016


On Thu, Dec 29, 2016 at 12:41:16PM +0100, Hans-Christoph Steiner wrote:
> When running diffoscope on two APKs using version 66, it now just does a
> straight binary comparison of the direct file itself.  Running
> diffoscope 64 generated a nice output of the individual files in the ZIP
> (an APK is a signed JAR with some other special features). Attached is
> the output from v66.  You can find v64 output here:
> 
> http://37.218.242.117/
> 
> You can download these two APKs to test with from here:
> 
> http://37.218.242.117/aarddict.android_26.apk
> https://f-droid.org/repo/aarddict.android_26.apk

Just had a short look at this. The reason is that file/libmagic detects
the files differently:

$ file 1/aarddict.android_26.apk 2/aarddict.android_26.apk 
1/aarddict.android_26.apk: Java archive data (JAR)
2/aarddict.android_26.apk: Zip archive data, at least v2.0 to extract

So the APK comparator should probably also work on files detected as zip.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161229/b593ae93/attachment.sig>


More information about the Reproducible-builds mailing list