8000 fix(desktop): check the update's signature against the repository's key at build time by adeelahmad · Pull Request #354 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

fix(desktop): check the update's signature against the repository's key at build time - #354

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-7f9uep
Oct 11, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-7f9uep

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: once the update key was set, the Desktop build failed at the end with "failed to decode pubkey: Missing comment in public key" (run).

After: the build signs Lens.app.tar.gz, checks the signature against the repository's key and writes latest.json.

How: tauri build checks the updater signature against plugins.updater.pubkey from the config, and that is empty in tauri.conf.json. The workflow now passes LENS_UPDATER_PUBKEY there too, in the same --config that turns on createUpdaterArtifacts.

🤖 Generated with Claude Code

https://claude.ai/code/session_014VrJQhkYVDyhgVQcok4neG


Generated by Claude Code

…ey at build time

tauri build verifies the updater signature against the config's pubkey, which is empty in tauri.conf.json, so a build
with the update key failed with "Missing comment in public key". The Desktop workflow now passes LENS_UPDATER_PUBKEY
in the build config too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014VrJQhkYVDyhgVQcok4neG
@adeelahmad adeelahmad self-assigned this Oct 11, 2026
@adeelahmad
adeelahmad merged commit ed45d96 into main Oct 11, 2026
11 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-7f9uep branch October 11, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0