From 6c53242b64fcd167d1a7016d6332e7a29e20d4cd Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 26 Jun 2023 07:52:37 +0100 Subject: record encryption (#1058) * record encryption * move paserk impl * implicit assertions * move wrapped cek * add another test * use host * undo stray change * more tests and docs * fmt * Update atuin-client/src/record/encryption.rs Co-authored-by: Matteo Martellini * Update atuin-client/src/record/encryption.rs Co-authored-by: Matteo Martellini * typo --------- Co-authored-by: Matteo Martellini --- atuin-client/Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'atuin-client/Cargo.toml') diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml index 8147ddca..6492bd15 100644 --- a/atuin-client/Cargo.toml +++ b/atuin-client/Cargo.toml @@ -18,7 +18,6 @@ sync = [ "reqwest", "sha2", "hex", - "base64", "generic-array", "xsalsa20poly1305", ] @@ -27,6 +26,7 @@ sync = [ atuin-common = { path = "../atuin-common", version = "15.0.0" } log = { workspace = true } +base64 = { workspace = true } chrono = { workspace = true } clap = { workspace = true } eyre = { workspace = true } @@ -52,15 +52,18 @@ lazy_static = "1" memchr = "2.5" rmp = { version = "0.8.11" } typed-builder = "0.14.0" +tokio = { workspace = true } +semver = { workspace = true } + +# encryption +rusty_paseto = { version = "0.5.0", default-features = false } +rusty_paserk = { version = "0.2.0", default-features = false, features = ["v4", "serde"] } # sync urlencoding = { version = "2.1.0", optional = true } reqwest = { workspace = true, optional = true } hex = { version = "0.4", optional = true } sha2 = { version = "0.10", 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"] } -- cgit v1.3.1