Description:
On receiving an envelope (live #144 or via sync #137), look up the sender device's public key by senderDeviceId (#122), decrypt, verify, and render. Cache decrypted plaintext only in memory (optionally an encrypted local cache, #185). Handle unavailable placeholders (#127) for pre-link messages.
Acceptance criteria:
- Messages decrypt + render in
sequenceNumber order
senderDeviceId used to fetch the right public key
- Undecryptable/pre-link messages shown as a graceful placeholder
Description:
On receiving an envelope (live #144 or via sync #137), look up the sender device's public key by
senderDeviceId(#122), decrypt, verify, and render. Cache decrypted plaintext only in memory (optionally an encrypted local cache, #185). Handleunavailableplaceholders (#127) for pre-link messages.Acceptance criteria:
sequenceNumberordersenderDeviceIdused to fetch the right public key