Good point. At the very least, we should return the FormValidation error. But you can't even print the details outside of a Stapler request due to the Stapler dependency in hudson.util.FormValidation._errorWithMarkup(String, Kind) (FormValidation:226)

I suppose I need to man up and make jenkins.util.JSONSignatureValidator independent of Stapler by replacing FormValidation with another abstraction.