Unlock Freighter with biometrics (passkey + WebAuthn PRF)
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript, web-dev
- Domain
- authentication, desktop, security
Research direction
Start by locating the Settings flow, keystore unlock and password reset or wallet removal paths in the extension. Check whether the extension's WebAuthn implementation supports the PRF extension on target devices, and trace how the popup, side panel and full tab handle unlock prompts. Done means biometric setup and unlock work with password fallback, cleanup runs on password reset or wallet removal, and the security review is complete.
Written by the indexing model from the issue text.
Description
Summary
Let users unlock Freighter with a fingerprint or face (Touch ID, Windows Hello, etc.) instead of typing their password every time.
Proposed approach
Use a passkey (WebAuthn) created by the extension, with the PRF extension.
- Setup: The user turns on biometric unlock in Settings and enters their password. Freighter creates a passkey and gets a secret from it (PRF output). Freighter uses this secret to encrypt the key that unlocks the keystore, and saves the encrypted copy.
- Unlock: Freighter asks for the passkey. The OS shows the biometric prompt. If it passes, Freighter gets the same secret back, decrypts the key, and unlocks.
- The password stays the main unlock method and is always available as a fallback.
Nothing that can unlock the wallet is stored in a readable form. Without the biometric check, the saved data is useless.
Notes
- Only offer the feature if the device supports PRF. Check this during setup.
- The OS prompt may close the popup. We may need to run the unlock in the side panel or a full tab.
- Remove the biometric setup when the password is reset or the wallet is removed.
- This adds a new way to reach the keys, so it needs a security review.
- Dominant language
- TypeScript
- Stars
- 122
- Forks
- 62
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stellar/freighter
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Write the banner publishing guidePossibly taken @aristidesstaffieri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stellar/freighter#3152 · 1 assignee ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
Dont call blockaid on empty token listMay be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
All issues in stellar/freighter
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day