Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace pqcrypto-kyber with pqcrypto-mlkem and update dependencies #8424

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions packages/node-mimimi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 26 additions & 7 deletions tuta-sdk/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions tuta-sdk/rust/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,10 @@ zeroize = { version = "1.8.1", features = ["zeroize_derive"] }
hkdf = "0.12.4"
argon2 = { version = "0.5.3", features = ["zeroize"] }
curve25519-dalek = "4.1.2"
pqcrypto-kyber = { version = "0.7.9", default-features = false, features = [
pqcrypto-mlkem = { version = "0.1.0", default-features = false, features = [
"std",
] }
# Pin the version explicitly as pqcrypto-kyber depends on pqcrypto-internals ^0.2, but
# 0.2.6 and 0.2.7 do not compile for iOS
# updating march flag in pqcrypto-internals/build.rs from armv8-a to armv8.2-a might help,
# but since pqcrypto-kyber was retired it's not easy to test.
# see https://github.com/rustpq/pqcrypto/issues/68
pqcrypto-internals = "=0.2.5"
pqcrypto-traits = "0.3.4"
pqcrypto-traits = "0.3.5"
rsa = "0.9.6"
rand_core = { version = "0.6.4", features = ["getrandom"] }
serde_bytes = "0.11.15"
Expand All @@ -48,6 +42,7 @@ rustls = { version = "*", optional = true }
form_urlencoded = "1"
# allow initializing a simple_logger if the consuming application (or examples) want to do that.
simple_logger = { version = "5.0.0", optional = true }
sha3 = "0.10.8"

[target.'cfg(target_os = "android")'.dependencies]
android_log = "0.1.3"
Expand Down Expand Up @@ -91,4 +86,4 @@ implicit_clone = "warn"
explicit_iter_loop = "warn"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci)'] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci)'] }
Loading