ByteSync
ByteSync copied to clipboard
2.3 Implement trusted-session invitation signing
Parent epic: #308
Summary
Sign canonical invitation payloads with the local client private key.
Requirements
- Create a service such as
ITrustedSessionInviteSigner. - Sign the canonical payload with the existing RSA-compatible signing approach, for example RSA-SHA256.
- Include the signature next to the payload inside the content that will be encrypted.
- Return clear errors when signing material is unavailable.
Acceptance criteria
- Valid payloads can be signed.
- Modified payloads fail signature verification in tests.
- Signature algorithm metadata is set consistently.