Skip to content

fix(desktop): keep imported key when leaving harness setup#2356

Open
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/preserve-imported-key
Open

fix(desktop): keep imported key when leaving harness setup#2356
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/preserve-imported-key

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • importing a key then backing out of harness setup remounted an empty import form
  • keep the nsec in the parent flow and pass it back as initialNsec (still masked by default)

Closes #2320

Test plan

  • use an existing key → continue to harness setup → back
  • private key field is populated again and stays masked until reveal

Made with Cursor

@Chessing234
Chessing234 requested a review from a team as a code owner July 22, 2026 10:58
@Chessing234

Copy link
Copy Markdown
Author

imported nsec is kept in the parent flow and restored (masked) when you back out of harness setup.

@Chessing234
Chessing234 force-pushed the fix/preserve-imported-key branch 2 times, most recently from 9dc1b1e to 30dc17e Compare July 22, 2026 11:01
Signed-off-by: Taksh <takshkothari09@gmail.com>
@Chessing234
Chessing234 force-pushed the fix/preserve-imported-key branch from 30dc17e to 4dab00a Compare July 22, 2026 11:02
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.

[Bug] Imported private key is cleared when returning from the agent harness setup screen

1 participant