Official cwtch.im peer and server implementations. https://cwtch.im
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cwtch-profile.proto 505B

123456789101112131415161718192021
  1. syntax = "proto3";
  2. package protocol;
  3. message CwtchPeerPacket {
  4. CwtchIdentity cwtch_identify = 1;
  5. GroupChatInvite group_chat_invite = 2;
  6. }
  7. message CwtchIdentity {
  8. string name = 1;
  9. bytes ed25519_public_key = 2;
  10. }
  11. // [name] has invited you to join a group chat: [message]
  12. message GroupChatInvite {
  13. string group_name = 1;
  14. bytes group_shared_key = 2;
  15. string server_host = 3;
  16. bytes signed_group_id = 4;
  17. bytes initial_message = 5;
  18. }