Skip to content

Fix/short serial revoke#7

Open
bhillkeyfactor wants to merge 1 commit intorelease-2.0from
fix/short-serial-revoke
Open

Fix/short serial revoke#7
bhillkeyfactor wants to merge 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) <noreply@anthropic.com>
@bhillkeyfactor bhillkeyfactor requested a review from indrora May 4, 2026 16: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