Ask password from prompt

This commit is contained in:
ChristianVisintin
2020-11-22 20:36:53 +01:00
parent d692cdf28d
commit 589adf294f
3 changed files with 30 additions and 3 deletions

11
Cargo.lock generated
View File

@@ -352,6 +352,16 @@ dependencies = [
"winapi",
]
[[package]]
name = "rpassword"
version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d755237fc0f99d98641540e66abac8bc46a0652f19148ac9e21de2da06b326c9"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "scopeguard"
version = "1.1.0"
@@ -428,6 +438,7 @@ version = "0.1.0"
dependencies = [
"crossterm 0.18.2",
"getopts",
"rpassword",
"ssh2",
"tempfile",
"tui",