fix: complete Matrix E2EE room recovery #2

Merged
ksamaschke merged 4 commits from fix/matrix-e2ee-followups into main 2026-08-24 15:40:41 +00:00
Owner

Summary

  • Keep Matrix connected when one encrypted room cannot reconcile; outbound sends remain fail-closed.
  • Validate Mautrix typed KeyID device keys correctly.
  • Recreate Olm sessions for current eligible peer devices during room recovery.
  • Include credential-redacted reconciliation diagnostics.

Verification

  • 249 passed, 2 skipped, 1 xfailed
  • Ruff passed
  • Python compilation passed
  • git diff --check passed
  • No crypto database reset, token rotation, or live Matrix infrastructure change.

This follows the already-merged E2EE key-delivery patch on main.

## Summary - Keep Matrix connected when one encrypted room cannot reconcile; outbound sends remain fail-closed. - Validate Mautrix typed KeyID device keys correctly. - Recreate Olm sessions for current eligible peer devices during room recovery. - Include credential-redacted reconciliation diagnostics. ## Verification - 249 passed, 2 skipped, 1 xfailed - Ruff passed - Python compilation passed - git diff --check passed - No crypto database reset, token rotation, or live Matrix infrastructure change. This follows the already-merged E2EE key-delivery patch on main.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hermes/hermes-agent!2
No description provided.