From f4d1c33f5a38f0f7cbffb10f5824fa2d5fa32281 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 29 Aug 2025 14:55:11 +0200 Subject: [PATCH] Fix cargo toml --- apps/desktop/desktop_native/Cargo.lock | 1 - apps/desktop/desktop_native/Cargo.toml | 2 ++ apps/desktop/desktop_native/core/Cargo.toml | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/desktop_native/Cargo.lock b/apps/desktop/desktop_native/Cargo.lock index 5787e3af4ce..ada6ae4dba5 100644 --- a/apps/desktop/desktop_native/Cargo.lock +++ b/apps/desktop/desktop_native/Cargo.lock @@ -892,7 +892,6 @@ dependencies = [ "byteorder", "bytes", "cbc", - "chacha20", "chacha20poly1305", "core-foundation", "desktop_objc", diff --git a/apps/desktop/desktop_native/Cargo.toml b/apps/desktop/desktop_native/Cargo.toml index 122d4dbc3be..6ea49daab44 100644 --- a/apps/desktop/desktop_native/Cargo.toml +++ b/apps/desktop/desktop_native/Cargo.toml @@ -18,6 +18,7 @@ bitwarden-russh = { git = "https://github.com/bitwarden/bitwarden-russh.git", re byteorder = "=1.5.0" bytes = "=1.10.1" cbc = "=0.1.2" +chacha20poly1305 = "0.10.1" core-foundation = "=0.10.0" dirs = "=6.0.0" ed25519 = "=2.2.3" @@ -29,6 +30,7 @@ interprocess = "=2.2.1" keytar = "=0.1.6" libc = "=0.2.172" log = "=0.4.25" +memsec = "0.7.0" napi = "=2.16.17" napi-build = "=2.2.0" napi-derive = "=2.16.13" diff --git a/apps/desktop/desktop_native/core/Cargo.toml b/apps/desktop/desktop_native/core/Cargo.toml index b12df226ff7..8669ee93abf 100644 --- a/apps/desktop/desktop_native/core/Cargo.toml +++ b/apps/desktop/desktop_native/core/Cargo.toml @@ -55,11 +55,10 @@ ed25519 = { workspace = true, features = ["pkcs8"] } bytes = { workspace = true } sysinfo = { workspace = true, features = ["windows"] } zeroizing-alloc = { workspace = true } -chacha20 = "0.9.1" -chacha20poly1305 = "0.10.1" +chacha20poly1305 = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json.workspace = true -memsec = { version = "0.7.0", features = ["alloc_ext"] } +memsec = { workspace = true, features = ["alloc_ext"] } [target.'cfg(windows)'.dependencies] widestring = { workspace = true, optional = true }