mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-02 05:43:57 +00:00
Generate "prekeys" at push registration time.
This generates a large number of key exchange messages and registers them with the server during signup.
This commit is contained in:
3
protobuf/Makefile
Normal file
3
protobuf/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
all:
|
||||
protoc --java_out=../src/ PreKeyEntity.proto
|
||||
9
protobuf/PreKeyEntity.proto
Normal file
9
protobuf/PreKeyEntity.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
package textsecure;
|
||||
|
||||
option java_package = "org.thoughtcrime.securesms.encoded";
|
||||
option java_outer_classname = "PreKeyProtos";
|
||||
|
||||
message PreKeyEntity {
|
||||
optional uint64 id = 1;
|
||||
optional bytes key = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user