Skip to content
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
efee42d
feat(model): add the legacy identity recovery plan and additive merge
lklimek Jul 28, 2026
3bab9a9
feat(database): read one legacy identity row through the shared row d…
lklimek Jul 28, 2026
b677776
feat(identity): restore keys stranded in the previous version's saved…
lklimek Jul 28, 2026
c2e859f
feat(masternodes): offer the previous version's stranded keys on the …
lklimek Jul 28, 2026
c274558
feat(identities): offer stranded legacy keys on the Key Info screen
lklimek Jul 28, 2026
e484589
docs(identity): record the legacy-key recovery flow and close the mig…
lklimek Jul 28, 2026
63991b7
fix(model): only offer legacy keys that still correspond to the identity
lklimek Jul 28, 2026
f405098
fix(identity): stop holding the storage guard across the password prompt
lklimek Jul 28, 2026
7caf529
fix(ui): keep the restore offer and the record it wrote in step
lklimek Jul 28, 2026
fc125f4
docs(identity): record what the recovery flow actually shipped
lklimek Jul 28, 2026
24d3081
fix(model): stop the legacy blob from vouching for its own voter key
lklimek Jul 29, 2026
4c42e55
fix(identity): gate the recovery offer on legacy rows, not on data.db…
lklimek Jul 29, 2026
cdde7f1
fix(ui): re-read the key screen on arrival and attribute a finished r…
lklimek Jul 29, 2026
be5299b
test(identity): pin the mid-flight protection guard against regression
lklimek Jul 29, 2026
ad22a2c
fix(model): stop the legacy blob from vouching for its own operator key
lklimek Jul 29, 2026
bff08f7
fix(masternodes): drop the missing-voter message that can never be shown
lklimek Jul 29, 2026
171c512
fix(ui): let the recovery section read as a whole when it can restore…
lklimek Jul 29, 2026
1612fc7
docs(identity): stop promising a voting-key restore that cannot happen
lklimek Jul 29, 2026
2ade1b8
fix(identity): give the identity keys list a way into each key
lklimek Jul 29, 2026
8db5341
test(identity): pin the restore outcome and the key naming on the key…
lklimek Jul 29, 2026
b1e2f28
test(identity): report both restore outcomes on the keys list in the …
lklimek Jul 29, 2026
ef665b1
fix(identity): make the keys list and Key Info agree on where a key i…
lklimek Jul 30, 2026
a237497
fix(identity): return from a key to a current list, in the identity's…
lklimek Jul 30, 2026
cb5b0de
fix(identity): one attribution rule for both hosts of the recovery offer
lklimek Jul 30, 2026
f36b4ca
fix(identity): identify a key by its public half, and name it the sam…
lklimek Jul 30, 2026
2dbc996
fix(identity): Key Info names a user's keys the way the keys list does
lklimek Jul 30, 2026
d39457b
fix(identity): a disabled key the device holds is still reported as held
lklimek Jul 30, 2026
91fbc73
fix(masternodes): a key opened from a node's page keeps the name the …
lklimek Jul 30, 2026
4042c01
refactor(identity): one held-key resolution rule for every Manage key…
lklimek Jul 30, 2026
a028d7e
refactor(identity): make an upstream key field a build failure, not a…
lklimek Jul 30, 2026
1a944eb
Merge remote-tracking branch 'origin/v1.0-dev' into fix/889-key-info-…
lklimek Jul 30, 2026
f334875
fix(identity): reach Key Info's re-read, share the restore offer, nam…
lklimek Jul 30, 2026
2c264bb
docs(user-stories): point IDN-008 at the key list that shipped
lklimek Jul 30, 2026
af84ea6
docs(changelog): document the Key Info refresh and label-consistency …
lklimek Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

### Added

- **Restore keys an upgrade left behind**: an identity that was already in the
app before the update — a masternode loaded from its ProTxHash, or one that
held only some of its keys — kept its remaining keys in the previous
version's data with no way to reach them. Its page now offers to bring them
across: the node detail page and the Key Info screen list what can be
restored, named by role, and restore only what you press Restore on. Nothing
happens at launch or during the update, keys already saved are never replaced
or removed, and on a password-protected identity the identity password is
asked for first — cancelling or mistyping it leaves everything as it was. A
saved key that no longer matches one this identity uses — a key rotated or
retired since the previous version saved it — is listed with an explanation
instead of being restored, so a key that could not sign can never make the app
report a role as held. The same applies to a key held on a separate voting or
operator identity that this identity does not currently link to: nothing
outside the old data says that key is still in use, so it is listed with its
explanation and entering it by hand stays the way to bring it back. A
masternode loaded from its ProTxHash alone is exactly that case — its owner
and payout keys come back, its voting key is listed as one that cannot be, and
checking that key against the chain instead is tracked as issue #942. The
previous version's data is only ever read, so this is safe to repeat.

- **Automatic Platform node refresh during upgrades**: migrating a pre-1.0
installation now triggers a best-effort Mainnet or Testnet node refresh.
Failed attempts retry on later launches until fresh addresses are saved and
Expand Down Expand Up @@ -63,6 +84,41 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

### Fixed

- **An identity's keys are reachable again**: the keys list under an identity's
Settings → Advanced now opens each key's own page, so keys can be inspected
and restored — and, once a key is on this device, signed with or
password-protected — without changing the interface mode and without starting
a payment. Previously that list was a read-only table with no way onward, and
every route to a key's page ran through an action screen — sending,
withdrawing, a token operation — each of which offers it only when the
identity already holds a key of the kind that action needs. So an identity
missing its keys, the one case where this matters most, could not get to them
at all. The offer to restore keys left behind by an earlier version now also
appears on the keys list itself, above the keys, rather than only inside a
key's page. Each key is named by its role and states whether it is saved on
this device. Keys are named for the identity they belong to: a user identity's
keys are described in plain language rather than in masternode registration
terms, which previously appeared on every identity. Leaving a key returns to
the list with both its keys and the restore offer brought up to date, so a
restore made from a key's page is reflected immediately instead of being
offered again.

A key opened from a masternode's page keeps its name too. A voting key is the
node's voting key however it is recorded, and its own page now says so instead
of describing it as another kind of key, which also means the page no longer
reports such a key as missing while the list it was opened from shows it as
saved on this device.

One known limitation, for a voting key stored on the identity itself rather
than on a separate voting identity: the keys list and the key's page now agree
on whether such a key is saved here, but saving or removing one by hand can
affect a voting key of the same number on a linked voting identity, and
removing it may leave the original in place. So until then, after saving or
removing a voting key on an identity like that, open the keys list and check
that each key still reads as you expect, and re-enter any key that should be
saved but no longer is. This will be closed by the in-progress key-placement
resolution fix.

- **Wallet rename consistency**: renaming a wallet no longer overwrites other
saved wallet details when metadata cannot be read. Overlapping renames and
wallet removals also keep displayed aliases and deleted-wallet metadata
Expand Down
18 changes: 14 additions & 4 deletions docs/ai-design/2026-07-13-legacy-identity-migration/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,20 @@ trip the vault-first downgrade guard. Rather than a heuristic that risks
resurrecting removed keys or failing the whole pass, the safe behaviour is to
skip and defer recovery to a dedicated, provenance-aware flow.

The proper recovery flow — an interactive, opt-in re-import that reads the
preserved legacy blob and merges only genuinely-missing key material under the
identity password — is tracked as a follow-up in
[issue #889](https://github.com/dashpay/dash-evo-tool/issues/889).
**Resolved.** The recovery flow this limitation defers to has since shipped:
`docs/ai-design/2026-07-28-legacy-identity-recovery/design.md`
([issue #889](https://github.com/dashpay/dash-evo-tool/issues/889)). It is an
interactive, opt-in, per-identity action reached from the node detail page and
the Key Info screen. It answers the provenance question by asking the only
party who holds it: detection lists what the legacy blob has and the modern
record does not, and the user's approved list is what the merge writes. The
merge is additive from the fresh modern record, so nothing present is replaced
or removed; a protected identity verifies its password first and every restored
key is sealed before the record is written, so the downgrade guard cannot trip.

The importer itself is unchanged — skip-if-present still stands, `data.db` is
still opened read-only and never modified, and nothing about the recovery flow
runs at migration or launch time.

---

Expand Down
Loading
Loading