Repository navigation
Directly stream to encrypted zip archive - #70
Merged
Merged
Conversation
apk verification in memory instead of using temporary files
roaree
reviewed
Sep 11, 2025
| } | ||
|
|
||
| // Create a ReadSeeker from the APK data for apkverifier library | ||
| readSeeker := bytes.NewReader(apkData) |
Collaborator
There was a problem hiding this comment.
Would be nice to see if we can read these from the encrypted age container instead of memory.
Collaborator
Author
There was a problem hiding this comment.
Unfortunatly we cant read these apks from the encrypted container because we dont have the secret key. Androidqf users only have the public key. Instead I pushed a commit to skip the certificate checks when doing encrypted aquisitions.
The only other solution would be to save to a symmetric encrypted archive first, read the apks, do verification checks, delete known apks and encrypt with the public key. This however is more complicated and takes longer to run. I suggest merging the current implementation for now.
roaree
approved these changes
Oct 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
implements #9
WIP, still writes bugreport and backup to disk first.