def _verify_signify_ed25519_signature(pubkey_file, signature_file, message):
 pubkey = _read_signify_ed25519_pubkey(pubkey_file)
 verify_key = signing.VerifyKey(pubkey)
 sig = _read_signify_ed25519_signature(signature_file)
 verify_key.verify(message, sig)

def _verify_signify_ed25519_signature ( pubkey_file , signature_file , message ) : pubkey = _read_signify_ed25519_pubkey ( pubkey_file ) verify_key = signing . VerifyKey ( pubkey ) sig = _read_signify_ed25519_signature ( signature_file ) verify_key . verify ( message , sig )
verify a ed25519 signature created with openbsd signify .