ByteSync
ByteSync copied to clipboard
4.1 Implement local trusted-session invitation decryption
Parent epic: #310
Summary
Decrypt received trusted-session invitation envelopes locally.
Requirements
- Create a service such as
ITrustedSessionInviteDecryptor. - Decrypt envelopes with the local private key.
- Rebuild the signed payload structure.
- Return clear errors when decryption fails.
Acceptance criteria
- Valid envelopes addressed to the local client decrypt successfully.
- Envelopes encrypted for another client fail cleanly.