Skip to content

Fix VersionId quoting in Windows installer signing - #199

Merged
manojnks merged 1 commit into
developfrom
fix-sign-version-id
Dec 2, 2026
Merged

manojnks merged 1 commit into
developfrom
fix-sign-version-id

Conversation

@manojnks

@manojnks manojnks commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Invoke-SignFile reads the unsigned object's VersionId with jq '.VersionId', which keeps the JSON quotes. PowerShell 7.3+ passes embedded quotes to native commands literally, so get-object-tagging --version-id receives "<id>" with the quotes and looks up a version that doesn't exist. Without s3:ListBucketVersions S3 reports that as AccessDenied, no job ID is found, and the signed file is never downloaded (run 46941347079, build-windows32: PutObject succeeds, then GetObjectTagging AccessDenied, Insignia.exe can't find *-engine-signed.exe).

This uses jq -r so the ID is passed without quotes, matching the get-object-tagging line below it.

@manojnks
manojnks merged commit eac9ff1 into develop Dec 2, 2026
6 of 12 checks passed
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.

1 participant