print('validating message: ', pub.verify(cleartext, signature))
message = pub.encrypt(cleartext, None)
enc_msg = map(bytes_to_long, message)
dec_msg = map(partial.key._decrypt, enc_msg)
print('decrypting: ')
for m in dec_msg:
    pass
I have modulus and private exponent. How to construct RSA private key and sign a message?