From c7d89c1703c6dc580b2ef2cbb66b0df0b1e72b50 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 17 Apr 2023 21:12:02 +0100 Subject: chore: uuhhhhhh crypto lol (#805) * chore: uuhhhhhh crypto lol * remove dead code * fix key decoding * use inplace encryption --- atuin-client/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'atuin-client/Cargo.toml') diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml index 6c5d04b9..3542510c 100644 --- a/atuin-client/Cargo.toml +++ b/atuin-client/Cargo.toml @@ -15,12 +15,13 @@ repository = { workspace = true } default = ["sync"] sync = [ "urlencoding", - "sodiumoxide", "reqwest", "sha2", "hex", "rmp-serde", "base64", + "generic-array", + "xsalsa20poly1305", ] [dependencies] @@ -60,6 +61,8 @@ rmp-serde = { version = "1.1.1", optional = true } base64 = { workspace = true, optional = true } tokio = { workspace = true } semver = { workspace = true } +xsalsa20poly1305 = { version = "0.9.0", optional = true } +generic-array = { version = "0.14", optional = true, features = ["serde"] } [dev-dependencies] tokio = { version = "1", features = ["full"] } -- cgit v1.3.1