Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] No message if TAURI_KEY_PASSWORD env is missing for build #3449

Closed
brys0 opened this issue Feb 13, 2022 · 0 comments
Closed

[bug] No message if TAURI_KEY_PASSWORD env is missing for build #3449

brys0 opened this issue Feb 13, 2022 · 0 comments
Assignees

Comments

@brys0
Copy link

brys0 commented Feb 13, 2022

Describe the bug

Theres no message pretaining if TAURI_KEY_PASSWORD doesn't exist. It just has it display:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: PError { kind: Verify, err: "Wrong password for that key" }', C:\Users\USER\.cargo\registry\src\github.com-1ecc6299db9ec823\tauri-cli-1.0.0-rc.4\src\helpers\updater_signature.rs:113:51

Reproduction

  1. Create sig

Expected behavior

It should tell you that there is no tauri_key_password set. Or, better yet, prompt if it doesn't exist and warn for the future.

Platform and versions

All

Stack trace

Bundling "C:\\Users\\bryso\\Desktop\\chatty-desktop-v2\\src-tauri\\target\\release\\bundle/msi/chatty_0.0.2_x64_en-US.msi.zip"
    Finished 2 bundles at:
        C:\Users\bryso\Desktop\chatty-desktop-v2\src-tauri\target\release\bundle/msi/chatty_0.0.2_x64_en-US.msi
        C:\Users\bryso\Desktop\chatty-desktop-v2\src-tauri\target\release\bundle/msi/chatty_0.0.2_x64_en-US.msi.zip (updater)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: PError { kind: Verify, err: "Wrong password for that key" }', C:\Users\bryso\.cargo\registry\src\github.com-1ecc6299db9ec823\tauri-cli-1.0.0-rc.4\src\helpers\updater_signature.rs:113:51
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error Command failed with exit code 101.

Additional context

Using tauri-cli = "1.0.0-rc.4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants