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
@mthethwansm I'm having the same problem, did you ever get this resolved?