This error is certainly bubbled up from OpenSSL itself (I'm guessing fromsomewhere around here) I have encountered this error myself trying to verify a signature, the most probable cause was a bad publicKey pas