[2.11.5]
Security fixes
-
5a87bab12Record the app version in the trusted comment of updater signatures, so a signed artifact is bound to the version it was released as.An update endpoint response is not signed, and the signature only covers the downloaded artifact, so the announced
versionon its own does not prove which release theurlandsignaturepoint at. minisign covers the trusted comment with its global signature, which lets the updater plugin compare the two and reject a response that pairs a version number with a different release. EnablerequireSignedVersionin the updater plugin configuration to enforce this.tauri buildfills the version in automatically, andtauri plugin add updaternow enablesrequireSignedVersionfor the project it is adding the plugin to.tauri signer signgains an--app-versionflag for signing updater artifacts by hand, and warns when it is omitted.
Dependencies
- Upgraded to
tauri-cli@2.11.5