Backup/Restore Device
Key Steps
- The user generates a backup code on the TrustFactorApp on their current device.
- The TrustFactorApp encrypts the contract private keys and securely stores them in the TrustFactor Cloud.
- When the user wants to recover the contracts on a new device, they enter the backup code on the TrustFactorApp.
- The TrustFactorApp requests the encrypted contract private keys from the TrustFactorAPI using the backup code.
- The TrustFactorAPI provides the encrypted contract private keys to the TrustFactorApp.
- The TrustFactorApp decrypts the contract private keys using the backup code.
- The TrustFactorApp informs the TrustFactorAPI of the new device association.
- The TrustFactorAPI notifies the application of the new association through a callback.
- The application responds with a 2xx HTTP code to confirm the contract recovery.
- The TrustFactorAPI sends a success response to the TrustFactorApp.
- The TrustFactorApp displays a success message to the user.
Device Backup Process
Safely store contracts' private keys in TrustFactor cloud.
Assumptions:
- User already has TF App opened and authenticated
- Device has contracts registered
Create a Device Backup Flow Demonstration
Restore a Device Backup Process
Recover user contracts private keys on a new device using a backup code. Users can securely authenticate transactions on the new device without losing access to its contracts.
Assumptions:
- User already has TF App opened and authenticated