Carsten
Carsten
Thank's that worked. i have one last question: how can I change the algorithm to ECDSA prime256v1 ? thanks
but there is some issue: Could not deserialize key data. The data may be in an " ValueError: Could not deserialize key data. The data may be in an incorrect...
sorry, that's not working :( the same error pem = b'MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETHfi8foQF4UtSNVxSFxeu7W+gMxdSGElhdo7825SD3Lyb+Sqh4G6Kra0ro1BdrM6Qx+hsUx4Qwdby7QY0pzxyA==/'
I got the same error: pem = b'-----BEGIN EC PRIVATE KEY-----\n' \ b'MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETHfi8foQF4UtSNVxSFxeu7W+gMxd\n' \ b'SGElhdo7825SD3Lyb+Sqh4G6Kra\n' \ b'0ro1BdrM6Qx+hsUx4Qwdby7QY0pzxyA==' \ b'\n-----END EC PRIVATE KEY-----' it's the same code from you. can you...