Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling when reading PKCS8 private key #35

Open
rhoerbe opened this issue Mar 6, 2017 · 0 comments
Open

Improve error handling when reading PKCS8 private key #35

rhoerbe opened this issue Mar 6, 2017 · 0 comments

Comments

@rhoerbe
Copy link

rhoerbe commented Mar 6, 2017

When reading a pkcs8 key this exception is thrown:

File "/usr/lib/python2.7/site-packages/pyXMLSecurity-0.16.dev0-py2.7.egg/xmlsec/rsa_x509_pem/init.py", line 39, in parse
raise Exception("PEM data type not supported.")

Expected message: "PKCS8 private key format not supported".

This happens when creating RSA key pairs with openssl req

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant