MetaMask / metamask-ios-sdk

MetaMask SDK for iOS
Other
39 stars 36 forks source link

feat: session persistence v2 support #164

Closed elefantel closed 4 months ago

elefantel commented 4 months ago

This PR adds support for session persistence v2 protocol, whereby the encryption keys for the client to decrypt data and the server public key to encrypt data are stored in the secure enclave (keychain) and reused for future interactions.

The attached video is a demo for this feature, demonstrating how the wallet is able to handle dapp requests even after it was killed without requiring a connection request.

https://github.com/MetaMask/metamask-ios-sdk/assets/17785504/b5cf22d8-2d25-46a7-9647-09a9aa36076f

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud