Withheld both directions; UTD persistence, redecryptor, metrics #29

Closed
opened 2026-08-04 21:20:36 +02:00 by thecrealm · 1 comment
Owner

§10.4.3/§10.4.4: send m.room_key.withheld when refusing to share; received withheld codes mark UTDs non-retriable. Every decryption failure persists as a sealed UTD state with versioned cause taxonomy + isRetriable (CR-8); redecryptor heals in place on key arrival keeping item identity (CR-12); occurrence/resolution/time-to-decrypt via §7.

§10.4.3/§10.4.4: send m.room_key.withheld when refusing to share; received withheld codes mark UTDs non-retriable. Every decryption failure persists as a sealed UTD state with versioned cause taxonomy + isRetriable (CR-8); redecryptor heals in place on key arrival keeping item identity (CR-12); occurrence/resolution/time-to-decrypt via §7.
Author
Owner

Deferred from #27 into this issue (adjacent to withheld/no_olm): olm unwedging — on an undecryptable olm message, claim a fresh OTK, establish a new session and send m.dummy (rate-limited per sender/device), alongside the one-time m.no_olm withheld the corpus expects. #27's machine returns sealed decryption outcomes but does not auto-unwedge.

Deferred from #27 into this issue (adjacent to withheld/no_olm): olm unwedging — on an undecryptable olm message, claim a fresh OTK, establish a new session and send m.dummy (rate-limited per sender/device), alongside the one-time m.no_olm withheld the corpus expects. #27's machine returns sealed decryption outcomes but does not auto-unwedge.
Sign in to join this conversation.
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
thecrealm/katrix#29
No description provided.