Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-matrix-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas aece1c26d0 hive-matrix-mcp: never enable recovery over secret storage it did not create
`recovery().enable()` refuses only when a key backup exists. It then makes
a new secret-storage key and sets it as the account's default regardless
of the default already there, so an account with secret storage but no
backup (set up in another client, backup since deleted) would have its
default key replaced and its other clients' recovery key locked out.

`recover_or_enable` now asks `secret_storage().is_enabled()` before
`enable` and returns an error instead, which `ensure_recovery` logs at
WARN with the account and the passphrase's store path. The decision is
behind a small trait over the matrix-sdk calls so a fake can pin it: with
no backup and secret storage present, neither `enable` nor `recover` runs.

Review: argus on #5188.
2026-10-14 02:09:57 +02:00
..
accounts.rs matrix: the agent's daemon pulls its linked accounts from bao itself 2026-10-01 17:43:28 +02:00
client.rs hive-matrix-mcp: never enable recovery over secret storage it did not create 2026-10-14 02:09:57 +02:00
credential.rs matrix: back up agents' room keys with a controller-minted recovery passphrase 2026-10-14 02:09:57 +02:00
handlers.rs hive-matrix-mcp: fix list_rooms/list_invites docs to say room_id, not id 2026-10-04 20:40:15 +02:00
lib.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
main.rs matrix: back up agents' room keys with a controller-minted recovery passphrase 2026-10-14 02:09:57 +02:00
mcp.rs hive-matrix-mcp: surface the inviter and topic in list_invites 2026-10-04 20:40:15 +02:00
paths.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
protocol.rs matrix: wake and unread-guard on own read receipt, not push-rule count 2026-08-03 17:41:24 +02:00
timeline.rs feat(#2659): serve hive-matrix-mcp over persistent streamable-http, drop stdio bridge 2026-07-24 12:44:39 +02:00
wake.rs feat(#3245): gate rustdoc in nix flake check, and clear the workspace 2026-08-14 02:30:55 +02:00