Watch
0
0
Fork
You've already forked hyperhive
0

revoking a linked Matrix account also deletes its key-backup passphrase; a plain unlink keeps it for a relink

This commit is contained in:
maia 2026-11-16 22:21:20 +01:00 • committed by mara
commit 6b3e1f0fb2

View file

@ -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