diff options
Diffstat (limited to 'service/diagrams/backup_account.puml')
-rw-r--r-- | service/diagrams/backup_account.puml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/service/diagrams/backup_account.puml b/service/diagrams/backup_account.puml new file mode 100644 index 00000000..7af99608 --- /dev/null +++ b/service/diagrams/backup_account.puml @@ -0,0 +1,39 @@ +@startuml +title Backup Account Flow + +actor User + +User -> PixUA : backup email +note left + existing user adds backup email +end note + +PixUA -> SoledadClient +note right + generate recovery code + encrypt secret + save to secrets doc +end note + +SoledadClient -> PixUA: recovery code + +PixUA -> BonafideClient : recovery code +note right + generate salt and verifier +end note + +BonafideClient -> LeapWebapp : recovery code + +LeapWebapp -> BonafideClient +BonafideClient -> PixUA + +alt successful case + PixUA -> SoledadClient + note right: delete old recovery code + PixUA -> User : email with recovery code +else bonafide failure + PixUA -> SoledadClient + note right: delete new recovery code + PixUA -> User : error message +end +@enduml |