ByteSync icon indicating copy to clipboard operation
ByteSync copied to clipboard

2.4 Implement trusted-session invitation encryption

Open marwannettour opened this issue 6 months ago • 0 comments

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.

marwannettour avatar May 19 '26 12:05 marwannettour