ConsenSysMesh / web3studio-sojourn

A React Native DevKit with code for a Web3 Decentralized Data Storage Pattern.
https://consensys.github.io/web3studio-sojourn/
Apache License 2.0
31 stars 5 forks source link

Secure storage with secure-storage #40

Closed barlock closed 5 years ago

barlock commented 5 years ago

Related Issue
Supports #39

Related PRs
This PR is not dependent on any other PR

What does this PR do?
Adds secure-storage (with biometrics) to encrypt/decrypt the state which will eventually include notes. So, this protects the notes at rest on the device and forces a faceId login always before opening the app.

Description of Changes
Uses react-secure-storage to do all the things. I investigated redux-persist-sensitive-storage, which still looks like a better option, but I couldn't get it to faceId, or touchId, or anything really? It would be nice to have it though sense it looks more mature.

What gif most accurately describes how I feel towards this PR?
vault