Skip to content

Stream acquisitions to zip archives#110

Open
besendorf wants to merge 2 commits into
mainfrom
stream-output-archives
Open

Stream acquisitions to zip archives#110
besendorf wants to merge 2 commits into
mainfrom
stream-output-archives

Conversation

@besendorf

@besendorf besendorf commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

This changes androidqf so every acquisition is written through the streaming zip path. When key.txt is present, the zip stream is age-encrypted as <UUID>.zip.age; when no key is available, androidqf writes an unencrypted <UUID>.zip instead of building an acquisition folder.

The change removes the old folder-output and post-processing compression/encryption path, so modules write through one shared archive writer.

APK acquisition now preserves unique archive names for split APKs, raises the in-memory pull limit to 500 MiB, and handles oversized APKs without dropping them. Unencrypted oversized APKs are spooled to a temporary file for certificate checks before being archived; encrypted oversized APKs are streamed directly into the archive and record that certificate verification was skipped because they exceeded the streaming buffer limit.

Trusted-certificate filtering is applied consistently for encrypted and unencrypted archives whenever the APK fits within the streaming buffer, so trusted APKs are removed when the user chooses that option.

Closes #20

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.

Compress data extracted from androidqf into a zip file

1 participant