revoking a linked Matrix account also deletes its key-backup passphrase; a plain unlink keeps it for a relink
This commit is contained in:
parent
87dc4c5533
commit
6b3e1f0fb2
1 changed files with 287 additions and 16 deletions
|
|
@ -173,6 +173,12 @@ registration's `as_token`, and `swarm-controller` reads it from there.
|
|||
primary-token reset therefore comes back with its history. With no passphrase
|
||||
stored yet the account comes up without backup and picks it up on the
|
||||
next daemon start. A failure is a `WARN` and never stops the daemon.
|
||||
The passphrase outlives a plain unlink, so a relink reuses it. A revoking
|
||||
unlink (`?revoke=true`, after the logout succeeded) deletes it too, every
|
||||
version, after the account's own entry; when that last delete fails the route
|
||||
answers 500 with the account already gone, and sending the revoking delete
|
||||
again finishes it (the controller's `delete` grant on
|
||||
`metadata/swarm/agents/+/matrix-recovery/+`).
|
||||
|
||||
The module's retired hive-side code, its evaluation assertions and the
|
||||
fluffychat-web build fixes are in the
|
||||
|
|
|
|||
Loading…
Reference in a new issue