Skip to content

Remove raw stdout prints from MMCS Ford downloads - #41

Open
aandrx wants to merge 1 commit into
OpenBubbles:masterfrom
aandrx:fix/mmcs-stdout-print
Open

aandrx wants to merge 1 commit into
OpenBubbles:masterfrom
aandrx:fix/mmcs-stdout-print

Conversation

@aandrx

@aandrx aandrx commented Oct 27, 2026 •

Copy link
Copy Markdown

Summary

get_mmcs wrote decrypted Ford container bytes and a SHA-1 to stdout. In an embedding process that reserves stdout for a line protocol, those writes appear as foreign output and expose decrypted payload. Remove both debug prints; the Ford payload is still decoded and the key map is unchanged.

Context

The branch runs when an MMCS AuthorizeGetResponse carries a ford_reference; it is shared by attachment, shared-stream and CloudKit downloads.

Verification

  • cargo build --release --features 'macos-validation-data,remote-clearadi' --package rustpush --lib passes locally on Linux.\n- git diff --check passes.\n- GitHub Actions Build is awaiting maintainer approval for this fork PR; GitGuardian passes.

The Ford download branch wrote decrypted container bytes and a SHA-1 to
stdout. Those lines interleave with an embedding app's stdout protocol and
expose decrypted payload. Remove both debug prints; the payload is still
decoded and the Ford key map is unchanged.
@aandrx

aandrx commented Oct 27, 2026

Copy link
Copy Markdown
Author

Local verification passed: cargo build --release --features 'macos-validation-data,remote-clearadi' --package rustpush --lib completed successfully on Linux (existing upstream warnings only). The Build workflow is currently action_required awaiting maintainer approval; there is no code failure to address.

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.

1 participant