From aef5f0a741497ff88e4f10e64b0dd404198e695d Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Mon, 12 Jan 2026 03:12:42 -0800 Subject: [PATCH] Add Xk0 --- protos/encryption.proto | 9 +++++++++ protos/invite.proto | 4 ---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/protos/encryption.proto b/protos/encryption.proto index a245369..b7eb6f7 100644 --- a/protos/encryption.proto +++ b/protos/encryption.proto @@ -10,6 +10,7 @@ message EncryptedPayload { oneof encryption { encryption.Plaintext plaintext = 1; encryption.Doubleratchet doubleratchet = 2; + encryption.XK0 xk0 = 3; } } @@ -24,3 +25,11 @@ message Doubleratchet { bytes ciphertext = 4; string aux = 5; } + +message XK0 { + bytes initiator_static = 1; + bytes initiator_ephemeral = 2; + bytes responder_static = 3; + bytes responder_ephemeral = 4; + bytes payload = 5; +} diff --git a/protos/invite.proto b/protos/invite.proto index 608f8d4..2121a9d 100644 --- a/protos/invite.proto +++ b/protos/invite.proto @@ -5,10 +5,6 @@ package logoschat.invite; import "encryption.proto"; message InvitePrivateV1 { - bytes initiator = 1; - bytes initiator_ephemeral = 2; - bytes participant = 3; - int32 participant_ephemeral_id= 4; string discriminator = 5; encryption.EncryptedPayload initial_message = 6; }