Android Question VAPT apk

falbertini

Member
Licensed User
Longtime User
In a VAPT analysis I have the application that is signed with hash algorithms affected by collision vulnerabilities:
1673286464531.png

In the manifest editor of the app I have set the min sdk version to 30: android:minSdkVersion="30"
How can I do to remove the SHA-1 hash in the sign and keep only a SHA2-256 signing, as required from VAPT analysis ?
Thanks
 

falbertini

Member
Licensed User
Longtime User
Hello Erel,

I was able to verify with jarsigner that the application isn't anymore signed using SHA1.

Despite that, I am now seeing the following warning:

This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2052-10-10) or after any future revocation date.

I would like to know how can I sign and add the timestamp in the packet.

Thank you
 
Upvote 0
Top