Skip to content

Concepts: identity trust, TOFU, and safety numbers #626

Closed

Description

@codebestia

Branch: Open your PR against dev. PRs targeting main are closed automatically.

Description:
Write apps/web/docs/concepts-identity-trust.md for lib/identityTrust.ts and its UI in app/app/conversations/[id]/page.tsx. The server enforces key-format invariants but has no notion of "is this still the identity key I trust" — that is a client-side trust-on-first-use decision, as in Signal.

Acceptance criteria:

  • Documents the trusted-snapshot model (trustDevices, getTrustedSnapshot, checkIdentityChange) and where it is persisted (localStorage, with an in-memory fallback)
  • Documents exactly when IdentityKeyChangedError is raised, what onSessionReset subscribers do, and what the user is shown
  • Documents how the safety number is computed from the backend key-fingerprint endpoint and how two users compare them
  • States the limits: TOFU trusts the first key seen, and clearing browser storage resets trust silently

Activity

  1. Luna-netty commented on Oct 19, 2026

    @Luna-netty

    @Luna-netty has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello Maintainer, I’m ready to handle this issue. I’ll begin immediately and target a clean, production-ready PR within 1–2 hours.

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

  2. aabolari commented on Oct 19, 2026

    @aabolari

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

    hi maintainer, i understand the expectations and i would love to work on this issue

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

  3. Mawuli-tech commented on Oct 20, 2026

    @Mawuli-tech

    @Mawuli-tech has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I would like to work on this issue

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

  4. josephchimebuka commented on Oct 20, 2026

    @josephchimebuka
    Contributor

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

    Hi GM, I have reviewed this issue and taken the time to understand the requirements, current implementation, and the expected outcome. Based on my analysis, I believe this is something I can successfully handle and contribute to... Kindly assign

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

  5. drips-wave commented on Oct 20, 2026

    @drips-wave

    Congratulations, @josephchimebuka! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @josephchimebuka: 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 🌊

  6. added 2 commits that reference this issue on Oct 22, 2026
  7. github-actions commented on Oct 22, 2026

    @github-actions

    Closed by #683, merged into dev.

  8. drips-wave commented on Oct 22, 2026

    @drips-wave

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

    😎 @josephchimebuka: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, 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

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions