Fixed
Status Update
Comments
ga...@google.com <ga...@google.com> #3
Reopening in order to update apksig version in studio-main.
ga...@google.com <ga...@google.com> #4
Fixed in ag/Ia15c9a830cde13eebe30893e904677fa5aab5a3c and ag/I6ded1b2959fd685e115d3c1781abc8c6b0f145ab.
This will be released with 8.0.0-alpha02.
wa...@gmail.com <wa...@gmail.com> #5
Can we backport this change to 7.3.x
branch?
ga...@google.com <ga...@google.com> #6
We are unable to cherry-pick this change in 7.3 and 7.4. In those versions, please use Java reflection to access this method.
Description
Affected library:'com.android.tools.build', name: 'apksig', version: '4.1.1'
In class
com.android.apksig.ApkVerifier$Result
is the methodgetV4SchemeSigners()
marked private which makes it impossible to use it.The other methods
getV1SchemeSigners()
,getV2SchemeSigners()
,getV3SchemeSigners()
are all public. Please apply this also forgetV4SchemeSigners()
so that it is possible to retrieve the details of the v4 signature when using apksig library.Source code reference:https://android.googlesource.com/platform/tools/apksig/+/refs/heads/master/src/main/java/com/android/apksig/ApkVerifier.java