check file order in apk_implant_signature
When first using common.apk_strip_signatures
and then common.apk_implant_signature
diffoscope gives me this:
% diffoscope urzip.orig.apk urzip.apk
|#################################################################| 100% Time: 0:00:00
--- urzip.orig.apk
+++ urzip.apk
├── zipinfo {}
│ @@ -1,10 +1,10 @@
│ - Zip file size: 9969 bytes, number of entries: 8
│ + Zip file size: 9933 bytes, number of entries: 8
│ + -rw---- 2.0 fat 470 b- defN 80-Jan-01 00:00 META-INF/CERT.SF
│ + -rw---- 2.0 fat 776 b- defN 80-Jan-01 00:00 META-INF/CERT.RSA
│ + -rw---- 2.0 fat 417 b- defN 80-Jan-01 00:00 META-INF/MANIFEST.MF
│ -rw---- 1.0 fat 1413 bx stor 13-Oct-15 18:21 res/drawable/ic_launcher.png
│ -rw---- 2.0 fat 588 bl defN 13-Oct-15 18:21 res/layout/activity_main.xml
│ -rw---- 2.0 fat 4636 bl defN 13-Oct-15 18:21 AndroidManifest.xml
│ -rw---- 1.0 fat 1172 b- stor 13-Oct-15 18:21 resources.arsc
│ -rw---- 2.0 fat 7336 bl defN 13-Oct-15 18:21 classes.dex
│ - -rw---- 2.0 fat 417 bl defN 13-Oct-15 18:21 META-INF/MANIFEST.MF
│ - -rw---- 2.0 fat 470 bl defN 13-Oct-15 18:21 META-INF/CERT.SF
│ - -rw---- 2.0 fat 776 bl defN 13-Oct-15 18:21 META-INF/CERT.RSA
│ - 8 files, 16808 bytes uncompressed, 8929 bytes compressed: 46.9%
│ + 8 files, 16808 bytes uncompressed, 8939 bytes compressed: 46.8%
Should fix this...