Skip to main content
← Back to list
01Issue
BugShippedSwamp ClubPublic
AssigneesNone

Relationships

↔ sibling #3792

#3771 Docs: extra-headers how-to systemd snippet puts a path in SWAMP_SERVE_EXTRA_HEADERS

Opened by stack72 · 10/22/2026· Shipped 10/23/2026

content/manual/how-to/swamp-serve/use-extra-headers-with-proxies.md, Keep secrets out of shell history, shows a systemd unit with Environment=SWAMP_SERVE_EXTRA_HEADERS=Tunnel-Token: %d/tunnel-token and LoadCredential=tunnel-token:/etc/swamp/tunnel-token. In systemd, %d expands to the credentials directory path, not the credential's contents, so the header value sent is a filesystem path, not the token. Separately, swamp worker daemon enable now writes SWAMP_SERVE_EXTRA_HEADERS into the unit it generates (swamp-club#3575), so a hand edit to that unit is overwritten the next time enable runs. The snippet should be replaced with a form that actually delivers the secret (for example an EnvironmentFile readable only by root), and should say it applies to a hand-written unit, not one generated by daemon enable. Found while planning swamp-club#3599.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPEDLINKED+ 4 MOREPR_LINKED+ 1 MORESESSION_SUMMARIZED

Shipped

10/23/2026, 3:45:13 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 linked sibling of #379210/23/2026, 2:56:05 PM

Sign in to post a ripple.