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

2491 Commits

Author SHA1 Message Date
Alex Konradi
13c2d76f4c
Signal intentional close when reader sees cancellation 2024-09-16 15:54:18 -04:00
moiseev-signal
88ed174aa8
Add more net integration tests 2024-09-16 11:10:32 -07:00
moiseev-signal
6b5b0429c9
Add mac_setup script. 2024-09-13 16:37:50 -07:00
Jordan Rose
5be4d17b31 Update base64 to 0.22 2024-09-13 13:43:29 -07:00
Jordan Rose
ba7d127ab7 Update minidump to 0.21
0.22 requires a *further* MSRV bump, unfortunately
2024-09-13 13:43:29 -07:00
Jordan Rose
ee87aebc79 Update MSRV to 1.75 2024-09-13 13:43:29 -07:00
Jordan Rose
56d9778179 Fix typo in libsignal-node's build.rs 2024-09-13 13:43:29 -07:00
Jordan Rose
e1ac0f3db4 Replace uses of String.init(decoding:as:) as suggested by swiftlint 2024-09-13 13:13:26 -07:00
Alex Konradi
8462fb23af
Upgrade typescript-eslint packages 2024-09-13 15:15:39 -04:00
moiseev-signal
88c2ab1dcc
svr3: Bridge rotate API to mobile platforms 2024-09-13 09:59:56 -07:00
Max Moiseev
3917f60919 Bump to version 0.57.1 2024-09-12 15:51:40 -07:00
Jordan Rose
df7a3797e3 node: Update node-gyp-build dependency spec
This should have gone in with 4f4669ed, since earlier node-gyp-builds
don't support the new names generated by prebuildify 6.0, but we
forgot to bump the requirement then.

The fixes in node-gyp-build 4.8.1 and 4.8.2 don't affect us, but we
might as well take the update.
2024-09-12 09:32:11 -07:00
Jordan Rose
a966d8bb58 README tweaks
- Mention cbindgen
- Mention acknowledgments' README
- Un-mention submodules (the one we had was removed)
2024-09-12 09:29:59 -07:00
gram-signal
07db59fdb0
SVR - protocol update with channel binding and AESGCM-encrypted secret 2024-09-11 16:38:43 -07:00
Jordan Rose
3eb79a2208 backup: Serialize several more bytestrings as hex 2024-09-11 11:52:18 -07:00
Jordan Rose
d960c412dc
backup: Outgoing messages are authored by self, incoming not by self 2024-09-11 11:52:04 -07:00
Alex Konradi
b705532230
Remove circular node Native/Error dependency 2024-09-11 14:49:31 -04:00
moiseev-signal
7e078a2ed3
svr3: Update examples to better exercise rotation 2024-09-10 10:59:38 -07:00
Alex Konradi
763c32dd01 Upgrade typescript to 5.3.3
This is the same version that Desktop is using.
2024-09-10 09:02:54 -07:00
Jamie Kyle
575369bfd9 Bump type-fest to 4.26 2024-09-10 09:02:54 -07:00
Jordan Rose
a006980357 backup: Make sure revisions align with the base ChatItem
Checks could probably be even stricter here, but this is a reasonable
base.
2024-09-09 17:02:00 -07:00
Jordan Rose
6529c3d189 backup: Be stricter about recipient kinds 2024-09-09 16:26:26 -07:00
Jordan Rose
358164c537 backup: Fold the recipient TestContext into the chat TestContext 2024-09-09 16:26:26 -07:00
gram-signal
9a8d02e65b
SVR - Add Kyber1024 PQ to Noise client connection. 2024-09-06 15:19:20 -07:00
sashaweiss-signal
033eab5349 Drop the displayName field from Contact.Name 2024-09-06 15:07:11 -07:00
Alex Konradi
94b53cde8b
Add test for chat connection timing/retry behavior 2024-09-06 15:53:16 -04:00
Alex Konradi
d5321d1c75 Bump to version v0.57.0 2024-09-06 09:46:54 -04:00
Alex Konradi
40aaecb9f3
Propagate reason for chat disconnect to listeners 2024-09-05 16:49:55 -04:00
Jordan Rose
823cfcf7e8 check_code_size: note if comparison against main was skipped
...specifically in the case where the most recent commit didn't run
the Java checks, and therefore we don't have a previous run of
check_code_size to compare to. (We could go back until we find one,
but that seems like overkill.)
2024-09-05 12:00:18 -07:00
Alex Konradi
9552d53585
Convert node errors independent of throwing
This lets us bubble up errors in Rust code without throwing them up a JS stack.
2024-09-05 14:59:29 -04:00
Jordan Rose
8771e9759f backup: Disallow directionless messages that aren't updates
Note that updates *with* directions are still allowed; some of them
have associated messages, like calls.
2024-09-05 11:31:54 -07:00
Jordan Rose
de948b5acd backup: Disallow PNIs without E164s, or contacts with no IDs at all 2024-09-05 11:13:25 -07:00
Jordan Rose
4172456abc
Remove Signal-Message-Backup-Tests submodule
The handcrafted tests in the Signal-Message-Backup-Tests repository
have been replaced by a combinatoric generator, but that generator
runs the libsignal validator before producing any test cases. To avoid
a cyclic dependency, we're importing the existing set of tests and
dropping the link between repositories.
2024-09-05 10:56:06 -07:00
Alex Konradi
6d4f923513
Run slow tests with RUST_LOG=debug 2024-09-04 13:30:22 -04:00
Alex Konradi
c39d33858c
Add doc comments for some net items 2024-09-03 13:07:36 -04:00
gram-signal
c65a5763df
SVR - Clean up old protocol code. 2024-08-30 17:03:15 -07:00
gram-signal
1c2113617f
SVR - Add new protocol Rotate trait and test.
Co-authored-by: Max Moiseev <moiseev@signal.org>
2024-08-30 16:28:29 -07:00
Brendan McMillion
f142c25b72
keytrans: Update proto definitions
Co-authored-by: Max Moiseev <moiseev@signal.org>
2024-08-30 13:37:46 -07:00
Jordan Rose
eb860ea051 java: use 'assertThat' from org.hamcrest rather than org.junit
(as preferred by JUnit)
2024-08-30 09:05:04 -07:00
Jordan Rose
b67766d81e swift: Remove workaround in tests for building with an old Xcode 2024-08-30 09:04:53 -07:00
Jordan Rose
de90d87c7c CI: Don't bother building x86_64 Android for every PR
We don't run any "instrumented tests" for Android, so we're mostly
only building in case there are Android-specific issues. We could
consider eliminating one of the ARM slices as well, but Android is the
only target that uses 32-bit ARM, and 64-bit ARM is the dominant
variant (and what we measure the code size of).
2024-08-29 14:50:46 -07:00
gram-signal
303d7a6659
SVR - plumb new protocol into net. 2024-08-29 14:47:47 -07:00
Jordan Rose
e46841ea2c Bump to version v0.56.1 2024-08-29 14:33:20 -07:00
Jordan Rose
9400604090 java: Set up class loader for libsignal_jni_testing.so too
The class loader is a rare process-wide variable for us. When the
testing crates are compiled into the same .so as the main bridge
crates, they all use the same variable, but when we build for Android
we have two separate native library files that get loaded, and so we
need to initialize both.
2024-08-29 11:26:24 -07:00
moiseev-signal
a2d577353f
keytrans: Add a "golden test" for verify_search 2024-08-29 11:26:05 -07:00
Jordan Rose
c1ad2f3ec6
check_code_size: Update comparison against main
- Fix the format matcher after 0147989

- When merging into a branch other than main, compare against that branch

- When running on GitHub on the main branch itself, compare against HEAD^

- Adjust the plot view to have flexible columns
2024-08-28 17:11:01 -07:00
Jordan Rose
89a05ab2e5 backup: FAILED gift badges should have no credential presentation
Also, note that ReceiptCredentialPresentation is a stable format.
2024-08-28 14:43:27 -07:00
moiseev-signal
d767bc5bc3
svr3: Statically guarantee KDF output size 2024-08-28 13:57:32 -07:00
Alex Konradi
a54e6b5b33
Format with group_imports=StdExternalCrate 2024-08-28 14:52:47 -04:00
Alex Konradi
cbb649d07c
Restrict args passed to transport connector 2024-08-28 13:42:07 -04:00