roots-id / rootswallet

An open source identity/credential wallet built for grass roots efforts in multiple countries.
https://www.rootswallet.com
Apache License 2.0
18 stars 1 forks source link

Plan wallet backup/restore #27

Closed 2byrds closed 2 years ago

2byrds commented 2 years ago

https://github.com/roots-id/rootswallet/wiki/Roots-Wallet-Implementation-Proposal#layer-4-uiux https://cardano.ideascale.com/c/idea/396593

2byrds commented 2 years ago
2byrds commented 2 years ago

Aries Askar storage design https://github.com/hyperledger/aries-askar/blob/main/docs/storage.md

2byrds commented 2 years ago

AFJ update assistant backup https://github.com/hyperledger/aries-framework-javascript/blob/6d88aa4537ab2a9494ffea8cdfb4723cf915f291/packages/core/src/storage/migration/UpdateAssistant.ts#L139

2byrds commented 2 years ago

UpgradeAssistant backup

  1. Create unique backup id
  2. configure backup directory
  3. get wallet key
  4. export the wallet using key and backup dir
2byrds commented 2 years ago

There is a large move toward more modular AFJ. There are many disucssions about it ongoing regarding Multi-tenancy, etc.

Node Postgres plugin for wallet storage https://github.com/hyperledger/aries-framework-javascript/blob/cbdff28d566e3eaabcb806d9158c62476379b5dd/packages/node/src/PostgresPlugin.ts

2byrds commented 2 years ago

Bifold keychain https://github.com/hyperledger/aries-mobile-agent-react-native/blob/1f5dc05b1dc9bc1ce160c167c6d60b3d2e681e64/core/App/services/keychain.service.ts

2byrds commented 2 years ago

Bifold AuthContext https://github.com/hyperledger/aries-mobile-agent-react-native/blob/1f5dc05b1dc9bc1ce160c167c6d60b3d2e681e64/core/App/contexts/auth.tsx#L51

2byrds commented 2 years ago

I'll start with brining AFJ in and continue to consider RootsWallet as a Aries Bifold later

2byrds commented 2 years ago

We couldn't easily leverage the Aries work, since storage is very app/OS specific. eventually we can migrate our implementation when AFJ integration has happened. implemented this as part of #90