Skip to content

Fix osslsigncode Failed to create file on existing -out - #14

Merged
davidnewhall merged 3 commits into
mainfrom
fix/osslsigncode-out-exists
Aug 24, 2026
Merged

davidnewhall merged 3 commits into
mainfrom
fix/osslsigncode-out-exists

Conversation

@davidnewhall

Copy link
Copy Markdown
Contributor

Summary

  • Debian osslsigncode 2.5 cannot overwrite -out (Failed to create file).
  • publishSigned reserved a unique staging name with CreateTemp, which left an empty file. Remove it before invoking the tool.
  • That 500 is what failed Notifiarr and Unpackerr unstable signing (/tmp/signerd-*/.output.exe.signing-*).

Test plan

  • go test ./backends/ ./server/ ./cmd/signerd/
  • Hotfix the NAS signerd binary and re-run the two unstable jobs
  • Tag after merge so the next image has the fix

Made with Cursor

davidnewhall and others added 2 commits August 24, 2026 15:32
Debian osslsigncode 2.5 fails with "Failed to create file" when -out
already exists. publishSigned reserved the staging name by creating an
empty file; unlink it so the tool can write the signed PE.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@davidnewhall
davidnewhall merged commit 39fd558 into main Aug 24, 2026
7 checks passed
@davidnewhall
davidnewhall deleted the fix/osslsigncode-out-exists branch August 24, 2026 22:45
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