Skip to content

Commit

Permalink
remove env var from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Feb 1, 2024
1 parent 143eb10 commit a9cc34e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion tooling/cli/ENVIRONMENT_VARIABLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ These environment variables are inputs to the CLI which may have an equivalent C
- `TAURI_LINUX_AYATANA_APPINDICATOR` — Set this var to `true` or `1` to force usage of `libayatana-appindicator` for system tray on Linux.
- `TAURI_BUNDLER_WIX_FIPS_COMPLIANT` — Specify the bundler's WiX `FipsCompliant` option.
- `TAURI_SKIP_SIDECAR_SIGNATURE_CHECK` - Skip signing sidecars.
- `TAURI_SIGNING_PUBLIC_KEY` — Public key used to sign your app bundles, can be either a string or a path to the file.
- `TAURI_SIGNING_PRIVATE_KEY` — Private key used to sign your app bundles, can be either a string or a path to the file.
- `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` — The signing private key password, see `TAURI_SIGNING_PRIVATE_KEY`.
- `TAURI_SIGNING_RPM_KEY` — The private GPG key used to sign the RPM bundle, exported to its ASCII-armored format.
Expand Down
2 changes: 1 addition & 1 deletion tooling/cli/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ pub fn command(mut options: Options, verbosity: u8) -> Result<()> {
let (signature_path, signature) = sign_file(&secret_key, path)?;
if signature.keynum() != public_key.keynum() {
log::warn!(
"The updater secret key from `TAURI_PRIVATE_KEY` does not match the public key from `TAURI_SIGNING_PUBLIC_KEY`. If you are not rotating keys, this means your configuration is wrong and won't be accepted at runtime when performing update."
"The updater secret key from `TAURI_PRIVATE_KEY` does not match the public key from `plugins > updater > pubkey`. If you are not rotating keys, this means your configuration is wrong and won't be accepted at runtime when performing update."
);
}
signed_paths.push(signature_path);
Expand Down
1 change: 0 additions & 1 deletion tooling/cli/src/signer/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ pub fn command(mut options: Options) -> Result<()> {
}

println!("\nEnvironment variables used to sign:");
println!("`TAURI_SIGNING_PUBLIC_KEY` Path or String of your public key");
println!("`TAURI_SIGNING_PRIVATE_KEY` Path or String of your private key");
println!("`TAURI_SIGNING_PRIVATE_KEY_PASSWORD` Your private key password (optional)");
println!("\nATTENTION: If you lose your private key OR password, you'll not be able to sign your update package and updates will not work.\n---------------------------\n");
Expand Down

0 comments on commit a9cc34e

Please sign in to comment.