ByteSync
ByteSync copied to clipboard
2.4 Implement trusted-session invitation encryption
Parent epic: #308
Summary
Encrypt signed invitations for a specific trusted recipient.
Requirements
- Create a service such as
ITrustedSessionInviteEncryptor. - Resolve the recipient trusted public key.
- Reject non-trusted recipients.
- Encrypt the signed payload for the recipient.
- Use hybrid encryption if direct RSA encryption is too small for the payload.
- Produce a transmissible envelope.
Acceptance criteria
- The intended recipient can decrypt the invitation.
- Another private key cannot decrypt it.
- Non-trusted recipients are rejected.