Skip to content

Fix/short serial revoke#7

Merged
indrora merged 1 commit intorelease-2.0from
fix/short-serial-revoke
May 6, 2026
Merged

Fix/short serial revoke#7
indrora merged 1 commit intorelease-2.0from
fix/short-serial-revoke

Conversation

@bhillkeyfactor
Copy link
Copy Markdown
Collaborator

Idnomic's revoke SOAP API expects the serial in canonical form (no leading zeros, lowercase hex). X509Certificate2.SerialNumber returns padded uppercase hex (e.g. "05" for a 1-byte serial), which the API rejects. Normalize to "5" before submitting, with a guard so an all-zero serial doesn't trim to an empty string.

Idnomic's revoke SOAP API expects the serial in canonical form
(no leading zeros, lowercase hex). X509Certificate2.SerialNumber
returns padded uppercase hex (e.g. "05" for a 1-byte serial), which
the API rejects. Normalize to "5" before submitting, with a guard
so an all-zero serial doesn't trim to an empty string.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@bhillkeyfactor bhillkeyfactor requested a review from indrora May 4, 2026 16:45
@indrora indrora merged commit fbf1a93 into release-2.0 May 6, 2026
30 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.

2 participants