Repository navigation
docs: wallet sign-in works on testnet with DashPay's testnet build - #657
Conversation
The guides still said no released wallet can answer (issue #591). The wallet section now describes App Connect v2 as checked on testnet with DashPay Wallet for Android 11.9.2's testnet build, keeps the older code (DashConnect) as a short subsection, and says a v2 sign-in brings no encryption key. Two code comments now match the testnet badge rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Verdict: changes requested
I checked the claims in the diff against the code and wallet sources, and they hold up. Two lines elsewhere in the user-facing guides still say wallet keys have no limits. That now contradicts the rewritten section.
Must fix
docs/guides/identity-and-keys.md:87, in the "where keys live" table, still says the web app holds "a limited key (or a wallet-granted key with no limits, see below)". With App Connect v2 the wallet's key is limited (group-bound, with a budget and an expiry). Only the older code behind Show the older code grants an unlimited key. Suggested wording: "(or the key your wallet granted; through the older code it has no limits, see below)".docs/guides/revoke-keys.md:21says "Wallet keys have no budget and may never expire, which makes them the most worth disabling". That is false for a v2 grant: Forge proposes 0.05 DASH and 90 days, andfindWalletKeyand the verifier refuse a v2 key without both (app-connect-v2.ts:285-294,'key-limits'). Limit the claim to older-code (DashConnect) and other apps' keys.
Nits (optional)
- identity-and-keys, "Check the identity yourself": "Forge refuses if two identities answer, and shows the one that did" reads as if Forge shows an identity after refusing. Suggested: "If two identities answer, Forge refuses; otherwise it shows the one that answered: compare…".
- Stale wallet statements remain outside
docs/guides, and none of them is in this PR's scope:docs/roadmap.md:147-149("no released wallet has DashConnect, and Forge is not on testnet") anddocs/design/wallet-login.md:39("not in a released version yet"). wallet-primary.md already marks wallet-login.md as partly out of date.docs/releases/v0.2.0.md:192is a dated release note, so leaving it is fine. These could go in a follow-up.
Verified
defaultLimits: 0.05 DASH / 90 days (limited-key.ts:35), used by the v2 request (app-connect-v2.ts:85-96). No encryption key is requested, and a grant carrying one is refused (:9,:285). The poll expires after 10 minutes (:117,:314). Two answering identities raiseAmbiguousWalletLogin(:304). Renewal: the wallet disables the previous key for the connection id (:11-13,RENEW_MODE=false). "Renew in your wallet" is real copy (keys-panel.tsx,low-funds-banner.tsx,top-up-sheet.tsx).signInMethods: on testnet the wallet leads, butwalletRecommendedis false there, so Create stays recommended. That matches the newwalletLeadsdoc comment and thelogin-modal.tsxheader.- "Show the older code" exists (
wallet-connect-flow.tsx:576/795/811), and the older code is testnet-only. gh release view v11.9.2 -R dashpay/dash-walletlistsdashpay-wallet-11.9.2-testnet.apk, and/releases/latestcurrently resolves to v11.9.2. At v11.9.2 (654f1540e),DashConnectUri.ktthrowsLEGACY_KEY_REQUEST_ERRORfor v1. The wallet has editable funding-limit and expiry screens (strings_app_connect.xml), which backs "you can change both". The "connection records can't be read" copy matchesdash_connect_records_unavailable_message.- iOS: v9.1.4's
PlatformDashConnectDataSource.parseQRstill parsesdash-key:v1 (parseKeyRequest). Ondevelopthat branch is gone and only v2 anddash-st:remain. The v9.1.4 release has no assets, so "no verified way to put a store build on testnet" is honest and matches wallet-primary.md §"Getting a wallet that works on testnet". - Every anchor and relative link in the diff resolves:
#signing-in-with-the-dash-wallet-app-what-works-today,#replacing-it-after-a-lost-device,#a-browser-key-from-dg,wallet-primary.md,wallet-login.md,revoke-keys.md,docs/upstream/app-connect-responder-auth.md.
🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Verdict: approve
Re-checked 6221d18 against origin/master and the code.
Previous must-fixes: resolved
identity-and-keys.mdkeys table now says a wallet-granted key carries "the budget and expiry you approved there", with no-limits only for the older code. This matchesapp-connect-v2.ts:grantOfthrowsWalletGrantRefused('key-limits')whenisUnlimited(key)(no limits, no total budget, or no expiry;key-registration.ts:198) or the key is unbound, so a v2 key without budget and expiry is refused.revoke-keys.mdnow separates the two: current wallet keys have the approved budget and expiry, while older-code or other-app keys may have none. The v1 path still accepts unlimited keys and warns about them (wallet-connect-flow.tsx:884-890, "Replace with a limited key" inkeys-panel.tsx), so "the older code's keys have no limits" is accurate.- Nit on the two-identities sentence: it now reads cleanly ("Forge refuses if two identities answer. When one does, Forge shows which"). This matches
AmbiguousWalletLoginwhenresponders.size > 1.
Other claims I checked in the diff
- Defaults of 0.05 DASH and 90 days:
BROWSER_KEY_DEFAULTSviadefaultLimits, used in the v2 request. - 10-minute request expiry:
APP_CONNECT_MAX_REQUEST_AGE_MS = 10 * 60_000. - No encryption key with v2:
grantOfrefuses a grant that carriesencryptionKeys. - Renewing disables the old key: the v2 header comment, plus "Renew in your wallet" in
keys-panel.tsxandlow-funds-banner.tsx. - "Show the older code" exists in
wallet-connect-flow.tsx. - On testnet the wallet leads but create stays recommended:
walletRecommended = leads && network !== 'testnet'insign-in-methods.ts. Thelogin-modal.tsxandsign-in-methods.tscomment edits match this.
Nit (non-blocking)
identity-and-keys.md, the last line of the wallet section ("Drafts of the wallet-side fixes (group-scoped, limited grants; …)") reads slightly stale now that App Connect v2 ships group-bound, limited grants. Only the responder-proof half is still upstream work. This can go into the same follow-up asroadmap.mdandwallet-login.md:39.
I can't verify the wallet-version claims (Android 11.9.2 refusing v1, the iOS 9.1.4 behaviour) from this repo. They are consistent with the rest of the PR.
🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.
The user guides still say no released wallet can sign in to Forge (issue #591). Since #655, the app leads with the wallet on testnet, and the guides contradict it. This follows up the independent review of #655.
docs/guides/identity-and-keys.md:docs/guides/README.mdandquick-start.md: one sentence each, updated the same way.sign-in-methods.ts(walletLeads) and the header oflogin-modal.tsxnow say the wallet isn't the recommended option on testnet.docs/qa/2026-11-new-user-pass.mdmentions #591 too, but it is a dated QA record, so I left it as written.Docs and comments only.
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
User Interface