Skip to content

Fix trusted APK removal#109

Open
besendorf wants to merge 1 commit into
mainfrom
fix/trusted-apk-removal
Open

Fix trusted APK removal#109
besendorf wants to merge 1 commit into
mainfrom
fix/trusted-apk-removal

Conversation

@besendorf

Copy link
Copy Markdown
Collaborator

Closes #108.

This updates package APK certificate handling so both the disk-backed and streaming paths use the same trusted APK decision logic.

The root cause was that trusted-certificate handling lived inline in separate code paths. This made the removal behavior harder to reason about and left the disk path dependent on a nested verification branch. The shared helper now records certificate metadata consistently, preserves APKs when certificate verification fails, and removes/skips APKs only when the signature verifies and the verified signing certificate is in the trusted list.

For users, selecting trusted APK removal should now consistently limit output size without dropping APKs whose signatures could not be verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

androidqf ignoring trusted apk list

1 participant