Generate RSA key, to get a signature

I got the private and public key
Now I want to get a signature but when i pass the private key to get the signature i get an error

{
    "status": "error",
    "message": "unacceptable key",
    "error": "unacceptable key"
}

I send it in this format
-----BEGIN RSA PRIVATE KEY-----\nkey\n-----END RSA PRIVATE KEY-----\n

I use module криптография version 1

I used module Crypto version: 2.116, and everything worked

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.