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

20 Commits

Author SHA1 Message Date
akonradi-signal
58a16be1b3
Bump all crates to Rust 2021 2023-10-31 13:43:33 -04:00
akonradi-signal
80ce525e69
Hold Cow<'static, str> in poksho structs
Replace the String values with Cow<'static, str> which lets us hold references
to static strings without copying them onto the heap. Since most added values
are static, this should save on heap usage and runtime cost.
2023-10-03 16:18:04 -04: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
b7f11ac0f1
Introduce zkcredential crate
zkcredential provides APIs for a generic form of the sort of credentials zkgroup supports
2023-04-17 11:10:02 -07:00
Jordan Rose
572ba1e38b Update Rust to nightly-2022-11-03, and the Android NDK to r25b
These are intertwined: older versions of Rust don't support the newer
NDK, but the newer Rust can't successfully compile BoringSSL against
the older NDK.

This requires a boring-sys update to find the Android NDK sysroot in
the right place.
2022-12-01 12:23:57 -08:00
Jordan Rose
f71e1c6693 Use "Signal Messenger LLC" as the author of all packages
(the copyright holder)
2022-10-12 17:02:53 -07:00
Jordan Rose
64f19f5ff0 Remove dependency on curve25519-dalek/serde for protocol and poksho
zkgroup depends on serde, but libsignal-protocol and poksho don't.
This makes builds of just those crates a little faster.
2022-05-13 11:15:33 -07:00
Dimitris Apostolou
f6f609242d
Fix typos 2022-02-09 22:49:42 +02:00
Jordan Rose
ab1963bd31 Update hmac from 0.9 to 0.11
Groundwork for removing our custom HKDF implementation
2021-10-14 16:02:56 -07:00
Jordan Rose
3318d306b3 Simplify curve25519-dalek dependency
Signal has a fork of curve25519-dalek to add some features that are
used by zkgroup. However, libsignal-protocol and poksho don't use
those features directly, and thus they don't depend on our fork
specifically. Anyone outside of Signal using libsignal-protocol can
thus use the standard curve25519-dalek and avoid building it twice.
Signal will continue using our fork thanks to the workspace patch in
the root Cargo.toml.

Additionally, remove all the passthrough features for customizing
curve25519-dalek; we don't use any of them, and clients can always
specify them directly.
2021-09-21 11:59:51 -07:00
Nora Trapp
81ffe0af51 Update toolchain to nightly-2021-06-08 2021-06-09 14:04:22 -07:00
Jack Lloyd
a56874e3e1 Add clippy no_unwrap to the other crates
Remove some unwrap from poksho and futures crates
2021-03-03 14:09:35 -05:00
Jack Lloyd
147b4738c3 Use a new branch for the 3.0.0 fork of curve25519-dalek
As reusing the old branch breaks building zkgroup
2021-02-24 15:10:45 -05:00
Jordan Rose
21875d82f4 Fix or mark-as-allowed Clippy lints in tests
And tweak the GitHub Clippy enforcement so this doesn't regress.
2021-02-22 09:46:25 -08:00
Jack Lloyd
ce47ff31c4 cargo fmt 2021-02-19 16:11:14 -05:00
Jack Lloyd
6436b9513a Update both poksho and protocol to use lizard2 3.0.0 2021-02-19 15:37:35 -05:00
Jack Lloyd
41ae2adbf8 Update hash traits 2021-02-19 13:36:16 -05:00
Jack Lloyd
680b58dc1c fmt and convert to AGPL-3.0 2021-02-19 12:08:12 -05:00
Jack Lloyd
b4662c5944 Fix some clippy warnings 2021-02-19 12:05:24 -05:00
Jack Lloyd
256877c817 Move poksho to rust subdir 2021-02-19 11:55:19 -05:00