How to decrypt signature with public key python rsa

broken image
broken image
broken image

I am making a license check where I will be encrypting the string text with private key and decrypting it with the public key, I know that it is not the standard way of decryption but I am trying to build in reverse manner for my project, the standard cryptodome library checks for private key while decryption and it returns an error and saying 'not a private key', so any idea to fix it up? public_key = b64decode(pubkey)

broken image