Skip to content

Stream acquisitions to zip archives#110

Merged
besendorf merged 7 commits into
mainfrom
stream-output-archives
Jul 20, 2026
Merged

Stream acquisitions to zip archives#110
besendorf merged 7 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

@besendorf
besendorf merged commit 95c2647 into main Jul 20, 2026
2 checks passed
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