crypto.generate_rsa_signature Error

  • I have been trying to use crypto library as demonstrated on the documentation to sign a message but, It gives me an error when I generate a signature of a message with a private key. The private key is in the PKCS8 format as instructed on the documentation but still it gives me an error.

    Here is the code.

    Here is the error

Log in to reply

Pycom on Twitter