element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.19k stars 2k forks source link

Store private keys in a secure enclave where available #11633

Open jryans opened 4 years ago

jryans commented 4 years ago

On devices with a secure enclave, we should use this to store the SSSS (secure secret storage and sharing) default key to avoid prompting the user for every interaction requiring key access.

aaronraimist commented 4 years ago

Dup of #10495?

jryans commented 4 years ago

They are related, but I believe https://github.com/vector-im/riot-web/issues/10495 is more about evaluating libraries and approaches, while this will implement the outcome of that.