This commit is contained in:
Jazz Turner-Baggs 2026-01-12 03:12:42 -08:00
parent 7995313ca1
commit aef5f0a741
No known key found for this signature in database
2 changed files with 9 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}