mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
Bump rpassword from 5.0.1 to 7.0.0 (#11826)
* Bump rpassword from 5.0.1 to 7.0.0 Bumps [rpassword](https://github.com/conradkleinespel/rpassword) from 5.0.1 to 7.0.0. - [Release notes](https://github.com/conradkleinespel/rpassword/releases) - [Commits](https://github.com/conradkleinespel/rpassword/compare/v5.0.1...v7.0.0) --- updated-dependencies: - dependency-name: rpassword dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Use new API Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Generated
+2
-2
@@ -7534,9 +7534,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rpassword"
|
||||
version = "5.0.1"
|
||||
version = "7.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb"
|
||||
checksum = "26b763cb66df1c928432cc35053f8bd4cec3335d8559fc16010017d16b3c1680"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"winapi",
|
||||
|
||||
@@ -24,7 +24,7 @@ names = { version = "0.13.0", default-features = false }
|
||||
parity-scale-codec = "3.0.0"
|
||||
rand = "0.7.3"
|
||||
regex = "1.5.5"
|
||||
rpassword = "5.0.0"
|
||||
rpassword = "7.0.0"
|
||||
serde = "1.0.136"
|
||||
serde_json = "1.0.79"
|
||||
thiserror = "1.0.30"
|
||||
|
||||
@@ -48,7 +48,7 @@ pub fn read_uri(uri: Option<&String>) -> error::Result<String> {
|
||||
uri.into()
|
||||
}
|
||||
} else {
|
||||
rpassword::read_password_from_tty(Some("URI: "))?
|
||||
rpassword::prompt_password("URI: ")?
|
||||
};
|
||||
|
||||
Ok(uri)
|
||||
|
||||
@@ -94,7 +94,7 @@ impl KeystoreParams {
|
||||
let (password_interactive, password) = (self.password_interactive, self.password.clone());
|
||||
|
||||
let pass = if password_interactive {
|
||||
let password = rpassword::read_password_from_tty(Some("Key password: "))?;
|
||||
let password = rpassword::prompt_password("Key password: ")?;
|
||||
Some(SecretString::new(password))
|
||||
} else {
|
||||
password
|
||||
@@ -105,6 +105,5 @@ impl KeystoreParams {
|
||||
}
|
||||
|
||||
fn input_keystore_password() -> Result<String> {
|
||||
rpassword::read_password_from_tty(Some("Keystore password: "))
|
||||
.map_err(|e| format!("{:?}", e).into())
|
||||
rpassword::prompt_password("Keystore password: ").map_err(|e| format!("{:?}", e).into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user