(Mar-10-2021, 06:28 PM)buran Wrote: (Mar-10-2021, 05:57 PM)buran Wrote: Please, post the full traceback you get, verbatim, not just the last line.
Error:
Traceback (most recent call last):
File "C:\Users\####\PycharmProjects\pythonProject\main.py", line 15, in <module>
msg = f'PSWD{RSA.Message.from_hex(new_pass).encrypt((serverkey[0], serverkey[1]))}'
File "C:\Python39\lib\site-packages\cryptotools\RSA\rsa.py", line 26, in encrypt
if self.int() >= n:
TypeError: '>=' not supported between instances of 'int' and 'str'