Skip to content

fix: isolate weekly PNG share grants - #32

Merged
1window2 merged 1 commit into
mainfrom
beta
Aug 11, 2026
Merged

fix: isolate weekly PNG share grants#32
1window2 merged 1 commit into
mainfrom
beta

Conversation

@1window2

@1window2 1window2 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • generate a fresh UUIDv4-backed cache filename for every weekly PNG render
  • revoke prior FileProvider read grants before deleting stale weekly PNG files
  • preserve the friendly GF2logger-week-YYYYMMDD.png document-picker name and pending-save recreation
  • finalize the v2.2.0 changelog date

Security impact

Fixes the security issue "Reused PNG share URI can leak later private exports". A recipient of an earlier share can no longer observe a later privacy projection because later renders use a different content URI and the old grant/file is revoked and removed before new bytes are written.

Validation

  • Pre-fix on-device regression: failed with the same cache path for two renders
  • Post-fix WeeklyReportActivityStateTest: 2 tests, 0 failures (authorized SM-N976N)
  • :app:testDebugUnitTest --tests dev.gf2log.app.management.WeeklyShareProjectionTest: passed
  • :protocol:test :app:testDebugUnitTest :app:lintDebug :app:assembleDebug :app:assembleRelease: passed
  • Signed APK verified as v2.2.0 (20200), v2/v3 signatures, expected certificate SHA-256 3b6af9a1707675494efd042a17d723b23ecb96c9ff53db9255779cf5a5fcbf01

Copilot AI lite review requested due to automatic review settings August 11, 2026 14:38

This comment was marked as outdated.

@1window2 1window2 self-assigned this Aug 11, 2026
@1window2
1window2 merged commit 55fe251 into main Aug 11, 2026
5 checks passed
@1window2
1window2 deleted the beta branch August 11, 2026 14:42
@1window2 1window2 added the bug Something isn't working label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants