Current location - Quotes Website - Personality signature - How to judge whether the Apk signatures of two Android applications with different package names are consistent?
How to judge whether the Apk signatures of two Android applications with different package names are consistent?
See META-INF/CERT. RSA, which should check the specific signature file in apk.

1.FILE="yourapp.apk "

cert_XSA=`jar tf $FILE | grep SA '

The cert_XSA obtained at this time may be META-INF/*. RSA or META-INF/*.DSA.

2. Extract a specific signature file from 2.apk.

jar xf $FILE $cert_XSA

At this point, you will get the cert_XSA file in the current directory.