Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bertrandmartel/apk-checker
Java APK integrity checker and key comparator
https://github.com/bertrandmartel/apk-checker
android apk java
Last synced: 4 days 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-25T22:20:42.000Z (almost 8 years ago)
- Last Synced: 2023-03-01T16:41:38.734Z (over 1 year ago)
- Topics: android, apk, java
- Language: Java
- Homepage: https://stackoverflow.com/a/32063994/2614364
- Size: 549 KB
- Stars: 9
- Watchers: 1
- 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 filesTODO : 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
![exemple_success](https://raw.github.com/bertrandmartel/apk-checker/master/success.png)
![exemple_failure](https://raw.github.com/bertrandmartel/apk-checker/master/failure.png)
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 Base64JDK 1.7
Eclipse