Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

![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 Base64

JDK 1.7
Eclipse