You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c400713
Browse filesBrowse the repository at this point in the historyBrowse files
This change requires a valid signed Blossom authorization request and
current relay membership for every media GET and HEAD request. It
removes the unauthenticated compatibility path and updates desktop reads
to send the required authorization.
This blocks anonymous retrieval and access after relay-membership
revocation. It does not yet bind a blob to its originating channel, so
someone removed from a private channel can still read a known blob while
remaining a relay member. That channel-ACL follow-up remains required
before closing the full finding.
## Testing
- `git diff --check origin/main...codex/security-media-read-auth`
- Rebased onto `origin/main` at `049080e`
- Full CI pending
Originating Buzz thread:
`buzz://message?channel=3928fe05-df61-4b5d-b9c7-d623b9b10ea1&id=3c6c02312f763fbe0d2bfc33a6c1a362f91d0354f3d18b039cf7a0558c1439d1`
---------
Signed-off-by: Jordan Mecom <[email protected]>
Signed-off-by: Alex Rosenzweig <[email protected]>
Signed-off-by: Eli Foster <[email protected]>
Co-authored-by: Eli Foster <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
Copy file name to clipboardExpand all lines: TESTING.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,7 +277,6 @@ out of the box with `just setup` or `just relay`. Common overrides:
277
277
|`REDIS_URL`|`redis://localhost:6379`||
278
278
|`BUZZ_REQUIRE_AUTH_TOKEN`|`false`| When true, REST requires NIP-98 (no `X-Pubkey` fallback) |
279
279
|`BUZZ_REQUIRE_RELAY_MEMBERSHIP`|`false`| When true, only pubkeys in `relay_members` can connect |
280
-
|`BUZZ_REQUIRE_MEDIA_GET_AUTH`|`false`| When true, `GET`/`HEAD /media/*` require Blossom kind 24242 `t=get` auth plus relay membership. |
281
280
|`BUZZ_DRAIN_JITTER_MS`|`0` (off) | Per-connection upper bound, in ms, for the random delay before each live WebSocket gets its `1012 Service Restart` close on graceful shutdown. `0` closes every socket at once (the previous behavior). A positive value spreads closes uniformly over `[1, value]` ms to avoid a reconnect thundering herd on rolling deploys. Values above `20000` are capped to `20000` (`MAX_DRAIN_JITTER_MS`) to leave close-frame delivery headroom under the relay's 30s hard-drain timeout. Empty or whitespace-only is treated as unset (off); a non-integer fails startup loudly. |
282
281
|`BUZZ_AUDIT_ENABLED`|`true`| Tamper-evident event/media audit log. Set `false`/`0`/`off` to skip its DB pool and writes. Does not disable the separate moderation audit trail. |
283
282
|`BUZZ_AUTO_MIGRATE`|`false`| Opt in with `true`/`1`/`yes`/`on` to run embedded SQLx migrations on relay startup |
0 commit comments