Skip to content

clock_skew; @hellocoop/httpsig 2.6.0 - #11

Merged
dickhardt merged 1 commit into
mainfrom
clock-skew
Sep 8, 2026
Merged

clock_skew; @hellocoop/httpsig 2.6.0#11
dickhardt merged 1 commit into
mainfrom
clock-skew

Conversation

@dickhardt

Copy link
Copy Markdown
Member

AAuth -11 §Expiry and the Refresh Margin (dickhardt/AAuth#153) and the signature-key clock_skew code (dickhardt/signature-key#38).

  • exp judged against mockin's clock with no tolerance.
  • A signature created, an agent token iat, or a presented token iat more than 60 s ahead of mockin's clock is clock_skew: 401 + Signature-Error: error=clock_skew for the signature or the agent token, 400 for a presented token.
  • @hellocoop/httpsig ^2.6.0 (passes clock_skew through for created).
  • Four tests; README. 229 passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEeAq61zr1oVg5FAFf3JTH

AAuth -11 §Expiry and the Refresh Margin and the signature-key clock_skew
code (#38): exp is judged against mockin's clock with no tolerance, and a
signature created, an agent token iat, or a presented token iat more
than 60 s ahead of that clock is clock_skew — 401 with Signature-Error
for the signature or the agent token (passed through from httpsig 2.6.0,
or raised by verifyAgentToken), 400 for a presented token. The agent
waits the difference out rather than refreshing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEeAq61zr1oVg5FAFf3JTH
@dickhardt
dickhardt merged commit 5f4ee3a into main Sep 8, 2026
2 checks passed
@dickhardt
dickhardt deleted the clock-skew branch September 8, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant