Skip to content

ci(signing): harden SimplySign connection - #400

Merged
ChrisPulman merged 1 commit into
mainfrom
CP_fix-simplysign-ci
Oct 7, 2026
Merged

ChrisPulman merged 1 commit into
mainfrom
CP_fix-simplysign-ci

Conversation

@ChrisPulman

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

CI signing reliability fix.

What is the new behavior?

The signing job shares its X display and native library path across login and package signing. Login automation targets visible windows, replaces cached field contents, generates the OTP immediately before entry with a rollover margin, and waits for a separate response dialog while preserving a visible original-window fallback. PKCS#11 connection failures report an explicit error and preserve the exit status.

What is the current behavior?

BuildDeploy run 37602834267 finds the SimplySign login window, then times out in the PKCS#11 probe with exit 124 before jsign runs. The original automation selects windows without checking visibility and assumes a response after a fixed delay. Display and library settings used for login do not persist to the signing step.

The logs establish the connection timeout, but do not establish the exact authentication or dialog failure.

Checklist

  • Tests have been added or updated (for bug fixes / features)
  • Docs have been added or updated (for bug fixes / features)
  • Changes target the main branch
  • PR title follows Conventional Commits

Additional information

Validation: actionlint 1.7.12, Bash syntax checks for all seven inline scripts, and git diff --check passed. Independent review identified and corrected a window-selection regression.

No .NET code changed, so no unit tests or documentation changes were added. Live signing with release-environment credentials remains unverified and needs CI confirmation.

- Preserve display and native library settings across signing steps.

- Target visible windows and replace cached login fields.

- Generate fresh OTPs before submission and wait for response dialogs.

- Report PKCS#11 connection timeouts with their exit status.
@ChrisPulman
ChrisPulman merged commit 14485df into main Oct 7, 2026
1 check passed
@ChrisPulman
ChrisPulman deleted the CP_fix-simplysign-ci branch October 7, 2026 11:35
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