mirror of
https://github.com/logos-messaging/chat_proto.git
synced 2026-02-21 13:33:07 +00:00
Add Xk0
This commit is contained in:
parent
7995313ca1
commit
aef5f0a741
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user