Skip to content

Nonce and challenge store lifecycle #563

Closed

Description

@codebestia

Write apps/backend/docs/concepts-nonce-lifecycle.md for lib/nonce.ts: how challenge nonces are minted, stored, consumed and expired, for both the sign-in challenge and the separate device-link challenge.

Acceptance criteria:

  • Documents creation, single-use consumption and TTL for both nonce kinds
  • Explains why device-linking uses a separate nonce namespace from sign-in, so hammering one flow cannot lock out the other
  • Documents where nonces live and the behaviour across a restart or in a multi-node deployment
  • Explains the replay resistance this provides and its limits

Activity

  1. Davichi-1 commented on Aug 30, 2026

    @Davichi-1

    @Davichi-1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer! I’m interested in contributing to this task and can ensure timely delivery with clean implementation

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Davichi-1 to this issue.

  2. BigManly4 commented on Aug 30, 2026

    @BigManly4

    @BigManly4 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I'd like to contribute to this issue. As a full-stack and backend developer with open-source experience, I'll provide a high-quality implementation and keep the discussion updated throughout the process.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @BigManly4 to this issue.

  3. drips-wave commented on Aug 30, 2026

    @drips-wave

    Congratulations, @BigManly4! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @BigManly4: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. github-actions commented on Aug 31, 2026

    @github-actions

    Closed by #599, merged into dev.

  5. drips-wave commented on Aug 31, 2026

    @drips-wave

    This issue has been completed by @BigManly4 as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @BigManly4: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions