alibaba / alibaba/AndFix

点击修复或者打开app 加载加载补丁出现这个问题。修复无效,怎么解决?

Open
#263 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

E/SecurityChecker: /data/data/amoy.com.test1/files/apatch/first.apatch
java.security.SignatureException: error:04091077:rsa routines:INT_RSA_VERIFY:wrong signature length
at com.android.org.conscrypt.NativeCrypto.X509_verify(Native Method)
at com.alipay.euler.andfix.security.SecurityChecker.check(SecurityChecker.java:158) at com.alipay.euler.andfix.security.SecurityChecker.verifyApk(SecurityChecker.java:124) at com.alipay.euler.andfix.AndFixManager.fix(AndFixManager.java:127) at com.alipay.euler.andfix.patch.PatchManager.loadPatch(PatchManager.java:214)
at amoy.com.test1.App.onCreate(App.java:32)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at App.onCreate and follow the reported path through PatchManager.loadPatch, AndFixManager.fix, and SecurityChecker.verifyApk/check in SecurityChecker.java. Reproduce the failure with /data/data/amoy.com.test1/files/apatch/first.apatch and inspect the signature-verification inputs. Done means the cause of the wrong signature length is identified and the patch-loading flow is verified without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.