fix no method 'wrap'

These happen when the submitted key is syntactically valid (according to our input validation) but semantically invalid (as a cryptographic key)

Somehow this `wrap` call was left behind when errors were refactored.