sequences update and async crypto keys optimization
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -22,15 +22,15 @@ message PackedServerMessage {
|
||||
|
||||
// structure to hold an invitation through a server
|
||||
message Invitation {
|
||||
bytes payload = 1; // invitation payload, encrypted after step 2
|
||||
int32 timeout = 2; // how long do I want the invitation to remain available on the server
|
||||
int32 shortcodeLen = 3; // len of the shortcode you wish for short url transmission
|
||||
string shortcode = 4; // shortcode that the friend shall request to get the invitation
|
||||
string password = 5; // password to set for accessing invitation (optional)
|
||||
string uuid = 6; // id that the friend gave you, that you should include to your reply to get recognized
|
||||
int64 expiry = 7; // the server allowed expiry date, it may be samller than the requested timeout according to server policy
|
||||
int32 step = 8; // progress in the inviattion process : 1=invite friend, 2=friend requests invitation, 3=friend's answer
|
||||
string from = 9; // used in step 3 the answer public key to check the signature in user message
|
||||
bytes payload = 1; // invitation payload, optionaly encrypted with payload password(transmitted OOB) on step 1
|
||||
int32 timeout = 2; // how long do I want the invitation to remain available on the server
|
||||
int32 shortcode_len = 3; // len of the shortcode you wish for short url transmission
|
||||
string shortcode = 4; // shortcode that the friend shall request to get the invitation
|
||||
string password = 5; // optional password(transmitted OOB) to set for accessing invitation (server check)
|
||||
string uuid = 6; // invitation uuid
|
||||
int64 expiry = 7; // the server allowed expiry date, it may be smaller than the requested timeout according to server policy
|
||||
int32 step = 8; // progress in the invitation process : 1=initiator pub key, 2=invited data enc with pub key, 3=initator data full encrypted, 4=invited All OK !
|
||||
string from = 9; // used in step 1 the public key to encrypt step 2 message
|
||||
}
|
||||
|
||||
// structure for requesting incoming messages
|
||||
|
||||
Reference in New Issue
Block a user