def public_decrypt(pub, message):
 verifier = salt.utils.rsax931.RSAX931Verifier(pub.exportKey('PEM'))
 return verifier.verify(message)

def public_decrypt ( pub , message ) : verifier = salt . utils . rsax931 . RSAX931Verifier ( pub . exportKey ( 'PEM' ) ) return verifier . verify ( message )
verify an m2crypto-compatible signature .