Skip to content

[bug] Updater Signing with password from environment is broken #13485

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

Open
Snazzie opened this issue May 21, 2025 · 1 comment
Open

[bug] Updater Signing with password from environment is broken #13485

Snazzie opened this issue May 21, 2025 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@Snazzie
Copy link

Snazzie commented May 21, 2025

Describe the bug

generated key from pnpm tauri signer generate -w ~/.tauri/mediaontauri.key with password is not signing successfully during build.

NOTE: signing with password only fails when getting password from ENV, supplying password in cmdline works fine.

failed to decode secret key: incorrect updater private key password: Wrong password for that key
Error failed to decode secret key: incorrect updater private key password: Wrong password for that key

Reproduction

No response

Expected behavior

No response

Full tauri info output

> tauri "info"


[✔] Environment
    - OS: Windows 10.0.26100 x86_64 (X64)
    ✔ WebView2: 136.0.3240.76
    ✔ MSVC:
        - Visual Studio Build Tools 2022
        - Visual Studio Community 2022
    ✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
    ✔ cargo: 1.87.0 (99624be96 2025-05-06)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 23.11.0
    - pnpm: 10.11.0
    - npm: 10.9.2
    - bun: 1.2.13

[-] Packages
    - tauri 🦀: 2.5.1
    - tauri-build 🦀: 2.2.0
    - wry 🦀: 0.51.2
    - tao 🦀: 0.33.0
    - @tauri-apps/api : 2.5.0
    - @tauri-apps/cli : 2.5.0

[-] Plugins
    - tauri-plugin-window-state 🦀: 2.2.2
    - @tauri-apps/plugin-window-state : 2.2.2
    - tauri-plugin-updater 🦀: 2.7.1
    - @tauri-apps/plugin-updater : 2.7.1
    - tauri-plugin-store 🦀: 2.2.0
    - @tauri-apps/plugin-store : 2.2.0
    - tauri-plugin-opener 🦀: 2.2.6, (outdated, latest: 2.2.7)
    - @tauri-apps/plugin-opener : 2.2.6 (outdated, latest: 2.2.7)

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace


Additional context

No response

@Snazzie Snazzie added type: bug status: needs triage This issue needs to triage, applied to new issues labels May 21, 2025
@Snazzie Snazzie changed the title [bug] Signing key generator broken [bug] Updater Signing is broken May 21, 2025
@Snazzie Snazzie changed the title [bug] Updater Signing is broken [bug] Updater Signing with password from environment is broken May 21, 2025
@FabianLars
Copy link
Member

I can't reproduce this, can you double check that the password env var is set up correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants