From d0b0245edbb2f6ed8285358d83b98f3334bf1b12 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Apr 2021 11:54:19 +0300 Subject: feat: add "obnam init" subcommand This reads a passphrase and derives two passwords from that, and stores them next to the configuration file. The passwords aren't yet used for anything, that will come later. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 394c1bb..180d342 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,11 @@ indicatif = "0.15" libc = "0.2" log = "0.4" log4rs = "1" +pbkdf2 = "0.7" pretty_env_logger = "0.4" +rand = "0.8" reqwest = { version = "0.11", features = ["blocking", "json"]} +rpassword = "5" rusqlite = "0.24" serde = { version = "1", features = ["derive"] } serde_json = "1" -- cgit v1.2.1