Replace free-form verification failure strings with stable reason codes #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Proof-of-possession verification currently returns several free-form textual reasons such as "Invalid CSR", "CSR SPKI missing", "Unsupported CSR algorithm", and "Verification failed". This is visible in both BC-based and workflow-based PoP verifiers.
Why this matters
Highly regulated environments benefit from stable reason codes that can be audited, localized, mapped to UI/API responses, and used in policy analytics without brittle string comparison.
Acceptance criteria