https://github.com/bertrandmartel/apk-checker
Java APK integrity checker and key comparator
https://github.com/bertrandmartel/apk-checker
android apk java
Last synced: about 1 year ago
JSON representation
Java APK integrity checker and key comparator
- Host: GitHub
- URL: https://github.com/bertrandmartel/apk-checker
- Owner: bertrandmartel
- License: mit
- Created: 2015-08-18T04:37:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-25T22:20:42.000Z (over 9 years ago)
- Last Synced: 2025-04-19T20:17:45.079Z (about 1 year ago)
- Topics: android, apk, java
- Language: Java
- Homepage: https://stackoverflow.com/a/32063994/2614364
- Size: 549 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Java APK integrity checker / app comparator
The aim is to check mutliple APK files in order to know if they refer to the same official Android app
* check integrity of a list of apk files
* compare public keys between mutliple apk files
TODO : parse Android binary XML
Usage
java -jar apkChecker.jar -l
-l / -listlist of jars with separated with empty space(s)
-v / -verifyverify java archive
-c / -comparePubkeycompare public keys of jars
Exemple : ``java -jar ./apkchecker-1.0.jar -l ~/test/app-debug.apk ~/test/app-debug3.apk -v -c``
Output Exemples


Library used
* rewrite of JarSigner by Sun Microsystems under GPLv2 License
* android-sun-jarsign-support-1.1.jar for JarSigner dependencies (NetscapeCertTypeExtension)
* sun.misc.BASE64Decoder.jar for Base64
JDK 1.7
Eclipse