Skip to content

User authentication and personal data storage in trusted execution environments

License

Notifications You must be signed in to change notification settings

secretarium/personal-data-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secretarium Personal Data App

This app is dedicated to user authentication and personal data storage in trusted execution environments.

APIS

User Registration


preRegister - Transaction, registers the user email address

{ "email": "alice@bob.com" }
{ "success": true }

emailChallenge - Query, sends a challenge to the user email address for verification

{ }
{ "success": true }

register - Transaction, verifies email challenge and finalises registration

{ "emailChallenge": "1234ABCD", "deviceName": "Name", "pushNotificationConfig": { "token": "123456789", "encryptionKey": "abcde...zyx==" } }
{ "success": true, "result": { "deviceId": "abcde...zyx==", "seedTOTP": "abcde...zyx==" } }

Account recovery configuration


getRecoveryConfig - Query, get the user recovery config

{ }
{ "success": true, "result": { "friends": [ "chloe@bob.com", "david@bob.com", "elodie@bob.com" ], "threshold": 2 } }

manageRecoveryFriend - Transaction, add/remove a trusted friend for the account recovery process

{ "email": "francois@bob.com", "operation": "add", "threshold": 3 }
{ "success": true }

About

User authentication and personal data storage in trusted execution environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published