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

1651 Commits

Author SHA1 Message Date
moiseev-signal
f9471c9c68
Set up and apply code formatting for Java 2023-08-22 09:15:23 -07:00
Jordan Rose
0df9163aae swift/build_ffi.sh: only set IPHONEOS_DEPLOYMENT_TARGET for iOS
Otherwise, local builds on macOS hosts try to build some CMake-based
dependencies for Catalyst.
2023-08-17 16:44:19 -07:00
Sebastian
81a8360606 Add Automatic-Module-Name attribute to jar manifest
This allows using the libraries from java modules.

https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular_auto
2023-08-15 18:08:00 -07:00
moiseev-signal
c07da6f938
Update x25519-dalek to v2.0.0 2023-08-15 12:02:37 -07:00
moiseev-signal
1e9492ef60
java: Piggyback on base.clean Gradle task 2023-08-14 15:22:57 -07:00
moiseev-signal
62853d7d99
Address javadoc warnings 2023-08-10 15:13:32 -07:00
Max Moiseev
32f53a7894 Bump to version v0.31.0 2023-08-09 15:26:47 -07:00
moiseev-signal
c292fd9a84
Add tag_it.sh script to aid tagging 2023-08-09 15:05:56 -07:00
moiseev-signal
716e683324
Update dependencies following curve25519-dalek 4.0.0 release
Co-authored-by: Jordan Rose <jrose@signal.org>
2023-08-09 15:04:41 -07:00
moiseev-signal
456499176d
Refer to curve25519-dalek by tag 2023-08-04 16:40:28 -07:00
Jordan Rose
24f6c6bc20 Bump to version v0.30.2 2023-08-03 10:50:59 -07:00
Jordan Rose
602a21c17d Node: Tweak TypeScript tricks for producing subclass-typed values
The compiler will actually check these, which unfortunately does lead
to a case where the compiler *cannot* check them and we have to use
'as'.
2023-08-02 17:51:23 -07:00
Jordan Rose
ff81905fc6 Add senderAci() to SenderCertificate and DecryptionResult
Like ProtocolAddresses in 88a2d5c, these APIs will eventually only
support ACIs, so introducing strong types now helps move in that
direction. However, the existing APIs that produce strings have not
been removed yet.
2023-08-02 17:51:23 -07:00
Jordan Rose
45fb135880 Add {Aci,Pni}.parseFromServiceId{String,Binary}
These work the same as the equivalent factory methods on ServiceId,
but throw if the resulting parsed ServiceId doesn't match the specific
type you were trying to parse.
2023-08-02 17:51:23 -07:00
Jordan Rose
4f3305fc35 Bump iOS deployment target to 13
This was already set in the podspec, but hadn't been bumped in the
build script.
2023-08-01 17:19:23 -07:00
moiseev-signal
2938b65ffa java: Prefer checked exceptions for ServiceId parsing methods 2023-07-27 15:40:44 -07:00
Jordan Rose
761c8080ee java: Reorganize tests 2023-07-27 15:40:44 -07:00
Jordan Rose
008fad966e protocol: Rip "Context" out of the Rust layer
Only the iOS client ever used this extra parameter, and it's one
that's easily stored alongside the reference to a store. This is
massively simpler than having it threaded down to the Rust
libsignal_protocol and back up through the bridging layer.
2023-07-27 15:40:44 -07:00
Jordan Rose
dea887e94c Bump to version v0.30.1 2023-07-27 15:40:01 -07:00
Jordan Rose
6b86969113 node: Explicitly specify minimum macOS version to build for 2023-07-27 15:38:56 -07:00
Jordan Rose
22e4795a06 CI: Only run the slow tests on the private repo 2023-07-20 15:49:06 -07:00
Jordan Rose
3b7f3173cc Bump to version v0.30.0 2023-07-20 14:02:10 -07:00
Jordan Rose
643f4c3b8b Update to a newer 'uuid' crate for increased inlining 2023-07-20 13:33:26 -07:00
Max Moiseev
6206df0698 Update multi-recepient sealed sender to use ServiceId 2023-07-20 12:30:25 -07:00
Jordan Rose
231aa16510 Give AuthCredentialWithPni "PniAsServiceId" and "PniAsAci" variants
The former is what we want going forward; the latter is equivalent to
the old format for compatibility with previous client builds.
2023-07-20 12:28:19 -07:00
Jordan Rose
6a547bf3f2 zkgroup: Use ServiceId and Aci in public APIs instead of UidBytes
Some of these APIs have to match up with UuidCiphertexts, and so we
convert them all for consistency.
2023-07-20 12:26:46 -07:00
Jordan Rose
af34c38c03 zkgroup: Convert UuidCiphertext operations to use ServiceId
Eventually all of zkgroup will use ServiceId, but this part will
actually behave differently.
2023-07-20 12:23:10 -07:00
Jordan Rose
664d1ed577 swift: Add helper invokeFnReturningServiceId
Will be used more heavily in later commits.
2023-07-20 12:23:10 -07:00
Jordan Rose
8108b6d3d0 zkgroup: Add support for encoding ServiceIds in UidStructs
This does mean that the 'bytes' field in a UidStruct isn't as useful
anymore, because it can't distinguish different kinds of ServiceIds
without extra work. Unfortunately, it was serialized inside a
client-stored AuthCredential, so we can't just change it or take it
out. Fortunately, nothing actually reads this field anyway except when
decrypting, so it's okay to change how decryption works and ignore the
'bytes' field going forward.
2023-07-20 12:22:29 -07:00
Sergey Skrobotov
28fea98c1b Bump to version v0.29.0 2023-07-19 18:24:46 -07:00
Sergey Skrobotov
1d1a335df1 node: username links API refactoring 2023-07-19 16:42:29 -07:00
Jordan Rose
bc19fb33df
java: Use our own mirror to reproducibly build for Android and Server
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2023-07-19 15:51:07 -07:00
Jordan Rose
8a2bdc758d node: Use Debian Bullseye (base of Ubuntu 20.04) for Docker prebuilds
Signal Desktop only supports Ubuntu 20.04 and newer, so we no longer
need to build against Ubuntu 16.04 to ensure compatibility. And
bullseye-slim is a smaller base image than the Ubuntu images, so if we
don't specifically need an Ubuntu package this should be an easy
improvement.
2023-07-19 14:18:15 -07:00
Jordan Rose
88a2d5c740 Add convenience APIs to ProtocolAddress for using ServiceIds
In a future release ProtocolAddresses will *only* support ServiceIds,
so these APIs are designed to be the nullable version of the signature
they'll eventually have. Since ProtocolAddresses are created by the
client app in nearly all cases, they should be able to ignore the null
case if they only use ServiceIds in their input.
2023-07-19 14:12:05 -07:00
Jordan Rose
86b2fcc427 Bump to version v0.28.1 2023-07-14 13:45:10 -07:00
Jordan Rose
e32cd70358 java: Override 'hashCode' in ServiceId to go with 'equals' 2023-07-14 13:36:25 -07:00
Sergey Skrobotov
68f851e1ca Bump to version v0.28.0 2023-07-13 17:26:49 -07:00
Sergey Skrobotov
43a3a31179 making UsernameLink fields accessible in javascript 2023-07-13 16:54:01 -07:00
Jordan Rose
89f34af1c6 node: Force nominal typing, not structural, for Aci and Pni 2023-07-13 16:47:43 -07:00
Jordan Rose
6800244a53
protocol: Add the ServiceId, Aci, and Pni types
Co-authored-by: Max Moiseev <moiseev@signal.org>
2023-07-13 13:54:53 -07:00
Sergey Skrobotov
ca262db5ec bridge for username links 2023-07-06 15:51:52 -07:00
Sergey Skrobotov
e50bec648f Adding support for username links 2023-06-30 17:24:33 -07:00
moiseev-signal
901be54ff2
Address Swift linter warnings 2023-06-30 11:50:18 -07:00
moiseev-signal
7d37b1c2f8
Better handle incremental mac edge case 2023-06-28 10:56:25 -07:00
Jordan Rose
af7bb8567c Bump to version v0.27.0 2023-06-09 11:49:48 -07:00
moiseev-signal
30ce471b2b
swift: Add PQXDH support 2023-06-08 17:30:11 -07:00
Jordan Rose
65ccd5af11 CI: Remove -Z unstable-options from Rust tests
This was previously needed for `--include-ignored`, but no longer.
2023-06-08 13:47:39 -07:00
Jordan Rose
db0ae12b29 CI: Run Android Emulator tests on Linux rather than macOS
The Android emulator works a lot better with hardware acceleration,
but as of 2023-02-23 that can be done with larger Linux runners as
well as macOS instances. Switch over for better reliability (and lower
cost).
2023-06-02 16:35:54 -07:00
moiseev-signal
19d9e9f0f4
node: Add PQXDH support 2023-06-02 10:42:39 -07:00
Jordan Rose
e1e80aa2d0 CI: Create a commit comment when scheduled Slow Tests fail 2023-05-31 16:27:24 -07:00