Jack Lloyd
21ddb9f112
Merge pull request #93 from signalapp/jack/docker-clean
...
Fix clean target and use it during Docker builds
2020-12-10 13:20:33 -05:00
Jack Lloyd
adb4a65772
For clean target on Desktop, also remove dll and dylib
2020-12-10 13:08:31 -05:00
Jack Lloyd
4131f8075c
Merge pull request #105 from signalapp/jack/no-more-java-protobuf
...
Remove protobuf from Java binding
2020-12-10 10:24:14 -05:00
Jack Lloyd
4b4af51b08
Remove more of SessionState from the Java binding
...
Leaving only a few bits still directly used by Android
2020-12-09 17:29:20 -05:00
Jack Lloyd
f471a455c0
Merge pull request #102 from signalapp/jack/java-session-cleanup
...
Cleanup Java Session logic
2020-12-09 16:52:14 -05:00
Jack Lloyd
f4f2a98985
Remove bogus constructor
2020-12-09 15:31:29 -05:00
Jack Lloyd
4b4b7e3df6
Make some changes on the road to removing SessionState from Java
2020-12-09 13:48:14 -05:00
Jack Lloyd
612ef9f44c
Remove protobuf from Java
2020-12-09 13:01:31 -05:00
Jordan Rose
d05089e6e8
Java: get local tests working on Mac as well
2020-12-08 17:24:03 -08:00
Jack Lloyd
a8c0555f4e
Transfer SessionRecords via handle instead of serialization
2020-12-08 18:18:46 -05:00
Jack Lloyd
f8182af008
Invoke native methods instead of manipulating protobufs within Java
2020-12-08 18:13:12 -05:00
Jack Lloyd
a32efa2d24
Remove some Java API surface no longer needed
...
Some cruft still remains for the tests which is hard to avoid, eg getAliceBaseKey
2020-12-08 18:13:06 -05:00
Jordan Rose
64ee8d34ef
Java: add old JUnit as a dependency for the on-Android tests
2020-12-08 14:44:40 -08:00
Jack Lloyd
07ac8befdc
Merge pull request #100 from signalapp/jack/log-java-exceptions
...
Have Maven log stack traces of tests that fail with exceptions
2020-12-07 17:55:32 -05:00
Jack Lloyd
fe45db9c82
Have Maven log stack traces of tests that fail with exceptions
2020-12-07 17:28:03 -05:00
Jack Lloyd
9f11b256a8
Expose AES-GCM-SIV to Java and Swift
2020-12-04 18:13:16 -05:00
Jordan Rose
725ded881b
Java: Generate debug symbols for the native Rust library
2020-12-04 11:35:03 -08:00
Jack Lloyd
ffa29d133a
Fix clean target and use it during Docker builds
2020-12-03 16:34:11 -05:00
Jordan Rose
d1df148cc8
Java: Escape some non-ASCII characters in a test case
2020-12-01 16:54:35 -08:00
Jordan Rose
df87cd2edf
UnidentifiedSenderMessageContent: Don't validate the sender up front
...
Both the Android and iOS clients currently allow customizing this
validatation logic for testing purposes, and iOS additionally wants to
log the information about the unwrapped message even if there are
problems with it.
iOS does also currently log information about the unwrapped message
even if the static key being used is wrong, but in order to fix that
we'd have to have a secondary return value (either the expected static
key, computed during decrypt-to-USMC, or a flag saying whether the
comparison failed).
2020-12-01 16:50:49 -08:00
Jack Lloyd
643a637b34
Merge pull request #77 from signalapp/jack/sealed-sender
...
Sealed Sender
2020-12-01 17:43:30 -05:00
jimio-signal
97e3da2adc
modify Dockerfile for openjdk installation again
2020-11-30 21:37:13 -08:00
jimio-signal
e7ee1a617a
bump version number, publish clean build artifacts
2020-11-30 17:26:50 -08:00
Jordan Rose
84c380b0cd
Bump Java version number to 0.1.4
2020-11-24 10:17:06 -08:00
Jordan Rose
e64fa771e5
JNI: Handle InvalidKeyIdException in (Signed)PreKeyStore
...
And test that the exception is handled and not propagated.
2020-11-23 13:20:23 -08:00
Jack Lloyd
153fe71238
Remove Java-side protobufs for Sealed Sender
...
They were still being used in the tests
2020-11-21 04:58:57 -05:00
Jordan Rose
f7c6e27a90
Skip Gradle's daemon when building in Docker
2020-11-19 16:37:29 -08:00
Jordan Rose
99bffda143
Docker: Remove unnecessary extra copy of rust-toolchain
2020-11-19 16:20:16 -08:00
Jack Lloyd
786b9b5792
SealedSessionCipher decrypt
2020-11-19 16:06:04 -05:00
Jack Lloyd
405d071ead
SealedSessionCipher encrypt
2020-11-19 13:24:29 -05:00
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