Skip to content

Commit 8718d08

Browse files
enhance(cli): add context before prompting password (#15033)
* enhance(cli): add context before prompting password * Add change file
1 parent 8230973 commit 8718d08

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:enhance
3+
"@tauri-apps/cli": patch:enhance
4+
---
5+
6+
Show the context before prompting for updater signing key password

crates/tauri-cli/src/bundle.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ fn sign_updaters(
287287
} else {
288288
private_key
289289
};
290+
if password.is_none() {
291+
log::info!("Decrypting updater signing key, expect a prompt for password")
292+
}
290293
let secret_key =
291294
updater_signature::secret_key(private_key, password).context("failed to decode secret key")?;
292295
let public_key = updater_signature::pub_key(pubkey).context("failed to decode pubkey")?;

0 commit comments

Comments
 (0)