def pk_sign(hashed, private_key):
    # Normally we would just do:
    #    return private_key.sign(hashed, '')
    # But that fails for at least some keys from ssh id_rsa files.
    # Instead, use the 'slowmath' method:
    c = bytes_to_long(hashed)
    m = pow(c, private_key.d, private_key.n)
    return (m,)
Return signature for `hashed` using `private_key`.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/publickey.py/pk_sign