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

24 Commits

Author SHA1 Message Date
Jordan Rose
8b0f6f27a3 cargo update 2024-05-28 13:14:32 -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
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
Jordan Rose
3db0fe60dc Update pqcrypto-kyber (again) 2024-01-03 11:01:43 -08:00
Jordan Rose
be1457c87d Update pqcrypto-kyber 2023-12-22 14:09:47 -08:00
Rolfe Schmidt
0670f0dc4c
Add implementation of NIST standard ML-KEM 1024 (#367)
Co-authored-by: Jordan Rose <jrose@signal.org>
2023-10-16 16:19:38 -06:00
Jordan Rose
afaf508742 Update boring crate 2023-10-16 11:37:26 -07:00
Jordan Rose
d551d0912e verify_duplicate_crates: Run specifically on the mobile targets
Previously this ran only for the host target, which fortunately
matched the mobile results for our development platforms and CI.
2023-10-13 14:13:23 -07:00
Jordan Rose
e94dc9cf3c verify_duplicate_crates: Use improved --edges no-proc-macro
Previously this didn't compose correctly with `--duplicates` (`-d`),
but now it prunes out dependencies in proc-macros just like we already
were for non-"normal" dependencies (build and dev), allowing us to
maintain our focus on code size.

While here, prefer long forms of flags for more readable code, and
improve the comments around the dependencies we can't avoid
duplicating.
2023-09-14 06:25:59 -07:00
Jordan Rose
9aad792fc6
Update all the RustCrypto crates 2023-08-25 11:28:49 -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
Jordan Rose
df707cf57c verify_duplicate_crates: Remove comment about serde 2023-05-26 12:44:10 -07:00
Max Moiseev
dcfd0c1564 cargo update and fix the fallout (upgrade snow to 0.9.2) 2023-05-26 12:44:10 -07:00
Jordan Rose
4384f664f0 Update boring to require a newer version of bindgen
Necessary for certain targets on newer Rust.
2023-04-24 13:42:36 -07:00
Jordan Rose
5fef0c3c6e Update linkme for more reliable Node builds
libsignal-bridge uses linkme to make a big list of all functions
it's going to expose to Node. More recent linkme versions fix
issues where that list wasn't being preserved by linkers.
This manifested as a CI failure on Windows.
2023-04-18 17:24:03 -07:00
Ravi Khadiwala
1f8c279622 pin: Add pin hashing and an svr2 client
- Add a new SGX client that can be used for testing svr2
- Add pin hashing that can be used with svr1 and svr2
2023-03-29 13:59:28 -05:00
Jordan Rose
366b030841 Re-apply "device transfer: replace picky with boring"
This reverts commit 09c043c54a.
2022-06-22 16:33:21 -07:00
Jordan Rose
09c043c54a Revert "device transfer: replace picky with boring"
We need to work out more kinks cross-compiling boring-sys, so revert
this for now. (But keep the fix to use the correct Android NDK.)
2022-06-22 15:56:21 -07:00
Chris Eager
2b0b5119f2
device transfer: replace picky with boring
Upcoming work in `attest` requires additional X509 support, and swapping these libraries 
is a negligible impact on binary size. This uses a fork of `cloudflare/boring`, as
we have some additions that haven’t yet been contributed upstream.
2022-06-16 13:14:17 -07:00
Jordan Rose
ce3226b4e3 verify_duplicate_crates should exit 1 on failure 2022-06-02 12:18:14 -07:00
Jordan Rose
a2182ca348 Update other Rust dependencies
This was done by `cargo update`, followed by reverting to earlier
versions of specific crates that have trouble on our current pinned
nightly.
2022-03-21 11:32:56 -07:00
Jordan Rose
d6fc73b27a Update dependencies
- cargo update
- But stay on our fork of curve25519-dalek (pinned at 3.0.0)
- Update x25519-dalek from 1.0 to 1.1 (instead of 1.2) to stay
  compatible with curve25519-dalek
- Update cpufeatures to 2.1 to match our dependencies
- Note that updating picky* resulted in more duplicate crates (rand*)
- Pin num-bigint-dig to a build that supports Cargo's -Zbuild-std,
  because xargo + autocfg has stopped working with the new toolchain
- Remove xargo in favor of -Zbuild-std
2021-10-06 10:58:44 -07:00
Jordan Rose
093d82115c GitHub: Make sure lockfiles don't get rewritten during testing
Otherwise, we're not testing what we think we're testing.
2021-09-27 14:44:12 -07:00
Graeme Connell
9aa79c0c59 Client-side rust-only HSM enclave library. 2021-09-21 12:07:27 -06:00