Bug#849782: .apk files not consistently detected

2023-01-12 Thread Christoph Biedl
Control: tags 849782 pending Hans-Christoph Steiner wrote... > APKs can be a totally standard JAR with a valid JAR signature, and they > can be assembled with any tool that can make a valid ZIP archive with a > valid JAR signature. The vast majority of APKs are made with the same > toolchain,

Bug#849782: .apk files not consistently detected

2017-01-09 Thread Hans-Christoph Steiner
So the test result files were cluttering things, and are small in a tarball, so I removed them from here: https://verification.f-droid.org/*.apk.file.txt https://verification.f-droid.org/*.apk.file.unsigned.txt And they are now attached. file-libmagic-tests.tar.bz2 Description:

Bug#849782: .apk files not consistently detected

2016-12-31 Thread Christoph Biedl
Control: tags 849782 upstream Hans-Christoph Steiner wrote... > I'm not sure exactly where and when or if things changed. The essential > part of the bug report is that valid APK files are being inconsistently > detected as either JAR or ZIP. Now I get it, it's "why are these files detected

Bug#849782: .apk files not consistently detected

2016-12-31 Thread Hans-Christoph Steiner
I'm not sure exactly where and when or if things changed. The essential part of the bug report is that valid APK files are being inconsistently detected as either JAR or ZIP. APK files are always JARs and always ZIPs. If they are not being detected as APK, then JAR would make the most sense,

Bug#849782: .apk files not consistently detected

2016-12-30 Thread Christoph Biedl
Control: tags 849782 moreinfo Control: merge 849782 849783 Hans-Christoph Steiner wrote... > Previously, with 1:5.29-2, APK files seemed to be always detected as JAR > files. Please clarify. The "tmp" (md5:67b44d779578cbddf6e17db92290e987) gets detected as Zip in all versions of file supported

Bug#849782: .apk files not consistently detected

2016-12-30 Thread Hans-Christoph Steiner
Package: file Version: 1:5.29-2 Severity: important Android APK files are the standard app package for Android. They are a slightly custom version of JAR format. Basically, they are JAR files with standard files included in them, a custom padding method, and now a new custom signature format.