Hans-Christoph Steiner: > > 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. >
Right, I can get that much by looking it up on wikipedia. What I don't know is why file(1) detects some of these as DOS/MBR partition even though the test case you gave starts with "PK" and can quite obviously be recognised as a zip file (ignoring the APK aspect for now). zipinfo(1) works. So I want to know why libfile didn't accept your patch, what were their reasons? X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git