Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sender/signature/content encoding/decoding/verification #58

Open
jagerman opened this issue Sep 18, 2023 · 1 comment
Open

Add sender/signature/content encoding/decoding/verification #58

jagerman opened this issue Sep 18, 2023 · 1 comment
Assignees

Comments

@jagerman
Copy link
Member

For group messages we need encrypted messages to decrypt to something (probably a new protobuf type?) that contains sender, signature, and content, where content is encoded Content protobuf, sender is a Session ID, and signature is an XEd25519 signature*.

(* sort of -- official XEd25519 has a reliance on a random value to make the signature, but since we have full ed keys we can make that EdDSA-style deterministic and do a negation, if necessary, so that we can always verify with the positive of the two possible X->Ed pubkeys).

@jagerman jagerman self-assigned this Sep 18, 2023
@jagerman
Copy link
Member Author

This should probably be done directly in the encrypt_message/decrypt_message interface. Might depend on #51 if we go with a protobuf wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant