Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Verifying that two apk files are signed with the same signature

I would like to verify that two APK files have been signed with the same certificate.

I have the whole Java SDK available but would like to it from Java code to make for cross-platform reasons.

Any ideas?

like image 817
jonasmaturana Avatar asked Sep 20 '12 11:09

jonasmaturana


1 Answers

Try this link here developer guide

And you can know if they are signed using same signatures or not using the validation of the certificate with creation date.

First navigate to the .apk containing folder in terminal

  $ jarsigner -verify -verbose -certs my_application.apk
like image 135
sheetal Avatar answered Sep 20 '22 16:09

sheetal