async def signer(digest, digest_algo): log.debug( "signing %s with %s", hexlify(digest), priv_key.public_key().public_numbers(), ) return sign_signer_digest(priv_key, digest_algo, digest)
def signer(digest, digest_algo): return sign_signer_digest(priv_key, digest_algo, digest)