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:
Moxie Marlinspike
2013-08-15 08:25:30 -07:00
parent cfb7b8fcba
commit 2042ca6cb7
25 changed files with 1015 additions and 109 deletions

3
protobuf/Makefile Normal file
View File

@@ -0,0 +1,3 @@
all:
protoc --java_out=../src/ PreKeyEntity.proto

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