Skip to content

pyhanko.pdf_utils.config_utils.ConfigurationError: Error while loading key material #147

Answered by MatthiasValvekens
OttomanZ asked this question in Q&A
Discussion options

You must be logged in to vote

(moved to discussions as this is not a bug in pyHanko)

Hi @OttomanZ,

You're signing with an unencrypted private key file. If you want to do that from the CLI, use the --no-pass option on the command line.

Also, 1024-bit RSA is no longer considered secure, just as an FYI. Having said that, self-signed certificates typically aren't all that useful either, so if it's just for testing: go ahead. :)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MatthiasValvekens
Comment options

@OttomanZ
Comment options

Answer selected by OttomanZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #146 on September 07, 2022 19:17.