Skip to content

Commit 66f3ae5

Browse files
committed
chore: update rpassword to 7.4
Signed-off-by: reubenmiller <[email protected]>
1 parent f147fb7 commit 66f3ae5

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

Cargo.lock

Lines changed: 15 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ rcgen = { version = "0.14", features = ["pem", "zeroize"] }
167167
regex = "1.4"
168168
reqwest = { version = "0.12", default-features = false }
169169
ron = "0.12"
170-
rpassword = "5.0"
170+
rpassword = "7.4"
171171
rsa = "0.9.8"
172172
rstest = "0.26"
173173
rumqttc = { version = "0.25.1", default-features = false, features = [

crates/core/tedge/src/cli/certificate/c8y/download.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl DownloadCertCmd {
153153

154154
// Read the security token from /dev/tty
155155
let one_time_password = if self_one_time_password.is_empty() {
156-
rpassword::read_password_from_tty(Some("Enter one-time password: "))?
156+
rpassword::prompt_password("Enter one-time password: ")?
157157
} else {
158158
self_one_time_password
159159
};

crates/core/tedge/src/cli/certificate/c8y/upload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl UploadCertCmd {
8888

8989
// Read the password from /dev/tty
9090
let password = if password_arg.is_empty() {
91-
rpassword::read_password_from_tty(Some("Enter password: "))?
91+
rpassword::prompt_password("Enter password: ")?
9292
} else {
9393
password_arg
9494
};

0 commit comments

Comments
 (0)