Add direct private key login option (UserWallet-style) #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Changes
Linked Issues / Tickets
None
Testing Procedure
Manually tested:
WAB login flow works identically to before
Mnemonic-advanced login flow works identically to before
Direct-key login with mnemonic (12/24 word) authenticates successfully
Direct-key login with hex key authenticates successfully
Generate Random works for both mnemonic and hex modes
Public key (66 chars) rejected with clear error message
All dashboard pages load without errors in direct-key mode
Security page reveals recovery phrase and private key correctly
Profiles hidden from sidebar menu in direct-key mode
Internal Transfer tab hidden in Payments in direct-key mode
Privileged identity key section hidden in direct-key mode
Login type persists across app restarts via snapshot
Build passes with no type errors
I have added new unit tests
All tests pass locally
I have tested manually in my local environment
Checklist:
CHANGELOG.mdwith my changesnpm run docandnpm run lintone final time before requesting a reviewts-standardnpm version patchso that my changes will trigger a new version to be released when they are merged