Skip to content

Commit

Permalink
update sequence.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreddow committed Apr 19, 2024
1 parent 8a86177 commit 2c9cabf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ sequenceDiagram
Note left of Charger Frontend: Holds: <br> - login-key
Charger Frontend->>Backend: Request encrypted secret
Backend->>Charger Frontend: Respond with encrypted secret and salt for it
Note over Charger Frontend: Derive key with user password and salt and<br>decrypt secret with it.
Note over Charger Frontend: Derive secret-key with user password and salt.
Note over Charger Frontend: Generate WireGuard keys
Note left of Charger Frontend: Holds: <br> - decrypted secret <br> - secret-key <br> - login-key <br> - unencrypted WireGuard keys
Note left of Charger Frontend: Holds: <br> - encrypted secret <br> - secret-key <br> - login-key <br> - unencrypted WireGuard keys
Charger Frontend->>Charger: Save configuration containing<br>unencrypted secret, login key<br>and WireGuard keys
Note over Charger: Encrypt WireGuard keys used for<br>remote connections using the secret.
Note left of Charger: Saves: <br> - unencrypted secret <br> - login-key <br> - unencrypted WireGuard keys
Expand Down

0 comments on commit 2c9cabf

Please sign in to comment.