Repository navigation
Conversation
* fix(website): serve the 404 page on filesystem misses and answer /404 with 404 * docs: state when v2 and legacy signatures are still accepted
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* perf(auth): skip the file lock when the key is already locked * fix(docker): refuse a registry server that looks like a flag * refactor: use stdlib helpers in edge and metrics
Docker Hub now redirects image blob downloads to docker-images-prod.s3.dualstack.<region>.amazonaws.com. harden-runner blocked it, so Integration (real dockerd) failed pre-pulling alpine on PR #459 twice. Adds the us-east-1 and us-west-2 hosts wherever registry-1.docker.io is allowed.
* fix(auth): expire nonces on the same clock as the timestamp window Nonce eviction compared monotonic readings while the timestamp window uses wall time, so a backward clock step could evict a nonce whose signature was still valid. Record and evict on wall time. * fix(auth): keep signature locks when the lock file disappears A deleted lock file cleared every in-memory lock. Keep them, log at error, and re-persist through the dirty retry. * fix(auth): check timestamp and replay only after the signature verifies Skew and replay were decided before ed25519.Verify, so a caller without the key could probe them. Move both after verification; an unparseable timestamp now reads as invalid-signature. Policy rejections still don't burn nonces. * docs: pin v3 per agent and correct signature details
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
* chore(release): prepare v1.1.1 * docs(changelog): describe the nonce clock and lock fast path accurately
|
@coderabbitai review |
|
@greptileai Review exact head |
Action not completed
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
* fix(auth): evict nonces only after both clocks pass the window * docs(changelog): describe nonce expiry on both clocks
|
@coderabbitai review |
Action performed
|
|
@coderabbitai review |
Action performed
|
Promotes v1.1.1 to main: #457, #440, #458, #460, #459 and #461. Headline: hardening from a security review of v3 signatures. Controllers pin v3 per agent, nonces expire on wall time, deleting the lock file at runtime keeps locks, and skew and replay are checked after the signature verifies. Also the website 404 fix (verified on a preview deploy), a lock fast path, a
docker loginargument fix, npm updates and the Docker Hub S3 egress hosts.Each source PR had an orchestrator review and green checks. Threat model: a network attacker replaying or downgrading captured signed requests, including with TLS terminated in between; unauthenticated remote clients; and a public static site with per-route CSP.
Changelog
ErrBadSignaturewithout exposing those check results.--before the Docker registry argument and reject registry values that begin with-.Concerns