0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
Commit Graph

583 Commits

Author SHA1 Message Date
Jack Lloyd
ddda1a3635 UnidentifiedSenderMessage 2020-11-19 13:24:29 -05:00
Jack Lloyd
4a8705dce1 UnidentifiedSenderMessageContent 2020-11-19 13:24:29 -05:00
Jack Lloyd
507629ff0d Add SenderCertificate and ServerCertificate 2020-11-19 13:24:29 -05:00
Jack Lloyd
3cb8e46ba1 Remove some unused util functions from Java library
The only function Android imports from KeyHelper is generateRegistrationId
2020-11-18 15:42:29 -05:00
Jack Lloyd
61057fe71b Import the libsignal-metadata-java tests
Accidentally omitted from import in #21
2020-11-13 13:45:24 -05:00
Jack Lloyd
b92b5937ca Automatically generate Native.java from the exported symbols of the Rust bridge 2020-11-12 17:47:00 -05:00
Jack Lloyd
aa9eb2122f
Merge pull request #46 from signalapp/jack/bump-java-version
Bump Java .jar to 0.1.3
2020-11-11 13:27:08 -05:00
Jack Lloyd
d3cb29547a Bump Java .jar to 0.1.3 2020-11-11 13:11:34 -05:00
Jack Lloyd
c3fd6fcf6a Use a better name
Unrelated, remove an unused import
2020-11-11 13:00:48 -05:00
Jack Lloyd
54835b0a03 Fixes for Android
- Allow info to be null/empty in HKDF arguments. This is used during
  KBS attestation.
- Allow creating an ECPublicKey from the un-typed key bytes, also used
  when talking to KBS.
2020-11-11 11:48:27 -05:00
Jack Lloyd
82dbf03905
Merge pull request #42 from signalapp/jack/pin-the-nightly
Pin nightly to a specific date
2020-11-09 15:55:00 -05:00
Jack Lloyd
d9e33d0251 Pin nightly to a specific date 2020-11-09 15:39:29 -05:00
Jack Lloyd
9ca168a567 Remove the SenderKey protobufs from Java wrapper 2020-11-06 17:47:56 -05:00
Jack Lloyd
dd57254f8f Move makefile and docker file into java subdir 2020-11-06 16:40:54 -05:00
Jack Lloyd
3c8d85211b Bump version number 2020-11-06 16:40:54 -05:00
Jack Lloyd
2a2a8a70a8 Fix method signature 2020-11-06 16:40:54 -05:00
Jack Lloyd
a3f5b64257 Add ECPublicKey.generate 2020-11-05 17:59:09 -05:00
Jack Lloyd
4db424c3b2 Don't ignore invalid preKeyIds just because preKey is null 2020-11-05 17:59:09 -05:00
Jack Lloyd
c5a8010bff Update license header 2020-11-05 17:59:09 -05:00
Jack Lloyd
383304573c Remove Curve.isNative 2020-11-05 17:59:09 -05:00
Jack Lloyd
5416ef2c5b Remove debug code 2020-11-05 17:59:09 -05:00
Jack Lloyd
b5e410b0f2 Avoid UTF-8 in java test files
If LANG is not set to a UTF-8 encoding the build will fail.
2020-11-05 17:59:09 -05:00
Jack Lloyd
cc201de173 Add Docker based build for Java .jars 2020-11-05 17:59:09 -05:00
Jack Lloyd
26429e15d1 Remove use of IdentityKeyPair protobuf 2020-11-05 17:59:09 -05:00
Jack Lloyd
5b1bf8b96e Remove some unneeded protobufs from the Java lib 2020-11-05 17:59:09 -05:00
Jack Lloyd
58e023f148 Remove many unused functions from ByteUtil
Not used either in this jar nor in Signal-Android, so no need to keep them.
2020-11-05 17:59:09 -05:00
Jack Lloyd
8624331e77 Clean up some imports, remove empty static blocks, other review comments 2020-11-05 17:59:09 -05:00
Jack Lloyd
d5fd5ddf76 Use a script instead of make for building the JNI native libraries 2020-11-05 17:59:09 -05:00
Jack Lloyd
304171fdf3 Import libsignal-metadata-java v0.1.2 2020-11-05 17:59:09 -05:00
Jack Lloyd
1037e6735a Rename jars, reset version, switch license 2020-11-05 17:59:09 -05:00
Jack Lloyd
0fbd07ca81 Modify libsignal-protocol-java to use Rust via JNI
Removes device consistency code (unused)
Removes decryption callbacks (unused)
2020-11-05 17:59:09 -05:00
Jack Lloyd
885756637b Remove README and LICENSE from java subdir 2020-11-05 17:59:09 -05:00
Jack Lloyd
69a4b40423 Import v2.8.1 of libsignal-protocol-java
No changes vs that version in this commit
2020-11-05 17:59:09 -05:00