Skip to content

Commit c975971

Browse files
chenkinsdkocher
authored andcommitted
Refer to flow to retrieve user keys.
1 parent 65f1f47 commit c975971

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,20 @@ sequenceDiagram
148148
activate keychain
149149
session->>keychain: Save OIDC Tokens
150150
151-
session->>katta: GET /api/users/me?withDevices=true
152-
Note over session,katta: Retrieve public keys and registered devices
153-
katta->>session: application/json
154-
155-
session->>katta: PUT /api/users/me
156-
Note over session,katta: Upload User Keys
157-
katta->>session: 201 Created application/json
151+
Note over User,keychain: Flow to retrieve user keys
152+
alt
153+
opt
154+
Note over User,katta: Device key not found on server
155+
end
156+
else
157+
alt
158+
Note over User,katta: Setting up new device
159+
else
160+
Note over User,katta: Setting up new user keys and account key
161+
end
162+
Note over katta,keychain: Save device keys
163+
end
158164
159-
session->>katta: PUT /api/devices/8ED7FAA95D4F912FFC80585D776261C8D32205FB03B59BF0311193DD5E482D90
160-
Note over session,katta: Register Device
161-
katta->>session: 201 Created application/json
162165
163166
loop Storage Profile Sync
164167
session->>katta: GET /api/storageprofile

0 commit comments

Comments
 (0)