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

69 Commits

Author SHA1 Message Date
Jordan Rose
2e2896fc23 Bump to version v0.51.1 2024-06-20 17:02:58 -07:00
Jordan Rose
8bca9ace30 Update curve25519-dalek 2024-06-20 12:04:44 -07:00
Jordan Rose
44ff1e74e6 Update to a slightly newer rustc 2024-06-20 12:04:44 -07:00
Jordan Rose
8c05c03aa7 Update cargo-about
This includes a new metadata parser that is expected to be more
accurate.
2024-06-20 12:04:44 -07:00
Jordan Rose
95bf4e7715 Bump to version v0.51.0 2024-06-13 16:42:29 -07:00
Jordan Rose
e968ab4b62 Bump to version v0.50.0 2024-06-07 09:32:25 -07:00
Max Moiseev
347791c88c Bump to version 0.49.0 2024-05-31 12:27:59 -07:00
Alex Konradi
0cf9d20e21
backup: track more message backup fields 2024-05-30 11:17:38 -04:00
Jordan Rose
8b0f6f27a3 cargo update 2024-05-28 13:14:32 -07:00
Alex Konradi
e925c5d9d9 Bump to version 0.48.0 2024-05-24 15:06:29 -04:00
Alex Konradi
eb63e3037c
Import latest backup proto definition
Notable changes:
- addition of payment notifications
2024-05-22 15:25:05 -04:00
Max Moiseev
1086531d79 Bump to version 0.47.0 2024-05-21 14:40:12 -07:00
Jordan Rose
a513d61a09 bridge: Expose ChatListener to Swift
(and lay groundwork for the other bridges)
2024-05-21 13:04:18 -07:00
Alex Konradi
f18b39f5b0
Revert "Move message backup proto and I/O to new crate"
This reverts commit 55536686be.
2024-05-20 16:50:03 -04:00
Jordan Rose
1aedf124cd Bump version to v0.46.2 2024-05-16 16:02:06 -07:00
Jordan Rose
9b9bd7cead Bump to version v0.46.1 2024-05-15 16:23:07 -07:00
Alex Konradi
55536686be
Move message backup proto and I/O to new crate
Add a new crate, libsignal-message-backup-io, and move the existing code that 
handles backup decryption, deframing, and protobuf deserialization there. Keep 
the actual validation of the protobuf contents in the libsignal-message-backup 
crate.

This allows the existing example binproto<->json binaries to be built with 
local modifications to the backup.proto file without also requiring all the 
validation code to be modified.
2024-05-15 14:10:53 -04:00
Sergey Skrobotov
254501814c
libsignal-net: custom DNS lookups 2024-05-14 12:09:26 -07:00
Jordan Rose
6370f139cd net: Add a handler for server->client requests 2024-05-13 17:07:49 -07:00
Jordan Rose
0ac953032e Bump to version v0.46.0 2024-05-02 15:45:30 -07:00
Max Moiseev
46780fb8c5 Bump to version 0.45.1 2024-04-26 13:47:42 -07:00
Jordan Rose
9d622d9bcb android: Add rustls-platform-verifier support 2024-04-24 14:13:30 -07:00
Jordan Rose
ab2144e203 net: Replace rustls-native-certs with rustls-platform-verifier
This (1) actually works on iOS and Android, and (2) will likely be
more full-featured and better-supported going forward. But it does
mean plugging one system's certificate verifier (rustls) into
another's TLS implementation (BoringSSL). Still, having *all* of
rustls used alongside BoringSSL would be redundant.
2024-04-24 13:14:05 -07:00
Jordan Rose
ada822434e Bump to version v0.45.0 2024-04-19 15:15:20 -07:00
Jordan Rose
8ff2bc4dd6 net: Remove unused hyper dependency
We can add it back when we make non-websocket requests again.
2024-04-17 10:21:26 -07:00
Jordan Rose
8447be898a Update boring to v4 2024-04-15 09:52:36 -07:00
Alex Konradi
0904a624dd
Handle padding in encrypted message backup
Handle encrypted & compressed message backup files with additional padding 
after the compressed contents (the padding bytes are encrypted, but not 
compressed). Update the example encrypter binary to add padding by default.
2024-04-11 16:01:52 -04:00
Sergey Skrobotov
02e03ee057 Bump to version v0.44.0 2024-04-02 17:27:23 -07:00
Alex Konradi
3ace227578 Bump to version v0.43.0 2024-04-01 15:05:31 -04:00
Jordan Rose
d9f6c0ee3c Bump to version v0.42.0 2024-03-19 16:47:08 -07:00
Jordan Rose
fa24a77dee attest: Use strum::EnumCount instead of variant_count
No real difference, but strum is a more popular crate that we use
elsewhere, might as well not have both.
2024-03-18 09:22:17 -07:00
Jordan Rose
7e3965f01b
Update Rust dependencies
- `cargo update`, except clap and assert_cmd, which bumped their MSRV
- net: Update hyper and hyper-body-util off of RCs
- attest: Update asn1
2024-03-11 17:42:57 -07:00
Sergey Skrobotov
dffb203cbe Bump to version v0.41.1 2024-03-07 14:29:14 -08:00
Sergey Skrobotov
ce37388552 Bump to version v0.41.0 2024-03-01 14:49:33 -08:00
Alex Konradi
274b680ef4
Expose message backup purpose as an argument
Add a flag to the CLI validation tool and an argument to the bridged validation 
functions so users can specify whether a provided message backup should be 
validated according to the rules for device-to-device transfers or backups 
intended for remote storage.
2024-03-01 09:53:00 -05:00
Jordan Rose
b9d2a5b81d acknowledgments: Manually mention NIST's Kyber patent license PDF 2024-02-23 16:56:43 -08:00
Jordan Rose
f0f18e82b3 node: Update to Neon 1.0
- Feature flags removed for unconditionally-provided APIs.
- A function's this() is no longer guaranteed to be an object,
  so we have to check and error out more often.
- Use of usize instead of i32 in a few places.
- Convenience for fetching globals.
2024-02-23 13:40:44 -08:00
moiseev-signal
6f783269db
SVR3: JNI bridge 2024-02-22 12:22:10 -08:00
Alex Konradi
f980fccd8a Bump to version v0.40.1 2024-02-20 09:48:25 -05:00
Alex Konradi
467b0f17b9
Add message backup validation negative tests
Add the ability to write tests that check error messages produced during
validation. Add a couple test cases.
2024-02-15 14:59:08 -05:00
Jordan Rose
786f5e9547 acknowledgments: "clarify" licenses that aren't properly recognized
Mostly just puts names next to copyrights for a few more crates.
2024-02-15 10:21:42 -08:00
Max Moiseev
7ef4efdb85 Bump to version 0.40.0 2024-02-12 12:03:40 -08:00
Fedor Indutny
45d513a548
Introduce processMinidumpBuffer for Desktop 2024-02-09 09:46:55 -08:00
Alex Konradi
638d81c5c0 Update snow to 0.9.5
Update snow to include a fix for a DoS opportunity in the latest
release.

Thank you to Joe Doyle and Jim Miller from Trail of Bits for bringing
this to our attention.
2024-01-25 11:51:55 -05:00
Sergey Skrobotov
40b0965dd6 libsignal-net: happy eyeballs 2024-01-24 16:52:05 -08:00
Jordan Rose
b92da3a15c Bump to version v0.39.3 2024-01-24 11:13:13 -08:00
Jordan Rose
56e63eb765 Update Cargo dependencies again 2024-01-23 12:05:53 -08:00
Alex Konradi
9dc14c6726
Use static dispatch for proto unknown field detection
Add a derive macro and attach it to each generated protobuf message. The 
generated code will walk each field in the message and dispatch recursively to 
the same trait to find all unknown fields. Keep the existing 
dynamically-dispatched descriptor-walking implementation since it's easier to 
understand, but only use it to ensure parity with the macro-generated version 
via test cases.
2024-01-23 09:05:29 -05:00
Alex Konradi
c38fcf6ccc
Upgrade syn used in macros to v2.x 2024-01-22 14:26:56 -05:00
Jordan Rose
f5b8037498 zkgroup: Add benchmarks for GroupSendCredential handling 2024-01-19 16:38:51 -08:00