Skip to main content
Newcomer
October 14, 2024
Question

QuickStart Problem With PrivateKey RSA

Hello everyone!

I'm using the eSignature API, and recently all my code has been running into issues with the RSA Private Key. I tried running the standard QuickStart code, but it has the same problem. The error message is: ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. MalformedFraming.

All my code used to work just fine, but now this issue keeps happening. Has anyone else experienced the same problem?

1 reply

Docusign Employee
October 16, 2024

I tested it with my Python app created by Quickstart and was able to load the private key without issue. I would recommend you check whether your private key is located in the right place. Also please refer to the "Why can’t I import my PEM file?" section on this page and check if the private key isn’t broken: https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file%20for%20more%20details.%20MalformedFraming

Translate