Outblock / FRW

Product tracker for Flow Wallet
0 stars 0 forks source link

[FEATURE] Restore accounts from Keychain #52

Closed JeffreyDoyle closed 1 month ago

JeffreyDoyle commented 1 month ago

Feature

When setting up a Flow Wallet app on a new iOS device, Flow Wallet checks the user's Apple keychain to see if there are details of secure enclave IDs used to generate key pairs on other devices. If there are, Flow Wallet checks using the new device's secure enclave using each ID to get a public key, which it uses to lookup if there is an existing account. If there are existing accounts, Flow Wallet allows the user to select from them which ones they want available on their new device.

However, for some secure enclave IDs, the secure enclave on the new device is unable to derive a corresponding private key for the key pair. This is causing issues on existing apps where the user is able to select to use the corresponding account, but that device is unable to sign transactions because the secure enclave cannot derive the proper private key.

Instead, what Flow Wallet should do is:

Expected Outcomes

Platforms

Peppermint1020 commented 1 month ago

Waiting for Flow team test this issue

Peppermint1020 commented 1 month ago

Flow team said they test succeed in their device