diff --git a/src/main.rs b/src/main.rs index 1dbeae0..a6c6a26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -317,6 +317,12 @@ fn main() { } manifest.save(&passkey).expect("Failed to save manifest."); return; + } else if matches.is_present("decrypt") { + for entry in &mut manifest.entries { + entry.encryption = None; + } + manifest.save(&passkey).expect("Failed to save manifest."); + return; } let mut selected_accounts: Vec>> = vec![];