Block a user
Pass-through proxy with timeouts, size limits and a request log
Rework for sneak/smallwebwaf#39 (comment):
MaxHeaderBytesis now 28 KiB, with a comment saying Go reads 4 KiB past it, so the limit is 32 KiB. `TestRefuses…
golangci config drift guard: failure message loops the operator when the org standard legitimately updates
Built in sneak/netwatch#93. On a hash mismatch, backend/script/lint now says to compare .golangci.yml with the org standard: restore the file if they differ, or…
Lint's .golangci.yml check says which fix applies (closes #34)
Pin golangci-lint v2.14.0; disable exhaustruct_v5 (closes #65)
Two findings, both in the new sentences of the .golangci.yml paragraph of prompts/REPO_POLICIES.md:
- "A repo moving to a new version changes that digest and re-vendors
.golangci.ymlin…
Lock the state directory and write vault files atomically (closes #34)
Reworked:
- Kept out of scope as the review allowed: sneak/secret#71 (title and body), the PR body and
TODO.mdnow name the passphrase, PGP, keychain and Secure…
Exit with the shutdown's code and wait for image processing (closes #86)
Pass-through proxy with timeouts, size limits and a request log
- The header limit is 36 KiB, not 32 KiB.
internal/proxy/proxy.gosets Go'sMaxHeaderBytesto 32 KiB, but Go's server accepts 4 KiB more than that value. So a request line and headers of up…
Reject invalid secret names before any command builds a path (closes #33)
FAIL: needs rework.
- A move within one vault written as
vault:namechecks each name twice.internal/cli/secrets.go:752-760checks both names inMoveSecret, then `moveSecretWithinVa…
Each target's row shows its result as soon as its check ends (closes #91)
needs-rebase
TODO.mdconflicts with currentnext(aa35625): both add an entry at the top of Completed Steps, this one and the one for sneak/netwatch#88.…
fetch: a hard link at the temp file's name lets fetch overwrite a file outside the destination
Implemented in sneak/mfer#118: fetch now removes whatever is at the temp name and creates the temp file only if the name is free, so a hard link there can no longer…
Never write fetch's temp file into an existing file (closes #115)
Entrypoint acts as root on nothing outside /data (closes #80)
Rework of sneak/netwatch#81 (comment):
/dataandDATA_DIRare each opened through theos.Root, refused unless a directory, and given their mode on the…