X509 object has no attribute get_signature_algorithm
Hi,
After having loaded a certificate, I'm trying to get the signature algorithm, as documented here : http://
Do you have any idea how to fix this? Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- pyOpenSSL Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jean-Paul Calderone
- Solved:
- 2012-09-12
- Last query:
- 2012-09-12
- Last reply:
- 2012-09-10
Jean-Paul Calderone (exarkun) said : | #1 |
Make sure you have pyOpenSSL 0.13, the version in which this method was introduced (and the latest release).
dranitou (paulbottinelli) said : | #2 |
Thanks, I didn't have the lates version!
I just downloaded it, and when trying to build it on Ubuntu 12.04 with python setup.py build, I get this error :
OpenSSL/
compilation failed.
Do you have any idea how to fix this?
dranitou (paulbottinelli) said : | #3 |
Thanks, I didn't have the lates version!
I just downloaded it, and when trying to build it on Ubuntu 12.04 with python setup.py build, I get this error :
OpenSSL/
compilation failed.
Do you have any idea how to fix this?
dranitou (paulbottinelli) said : | #4 |
Sorry for the double post..
|
#5 |
You're missing the build dependencies. Try "apt-get build-dep python-openssl". Also, note that there are many, many, many helpful google hits for "fatal error: Python.h: No such file or directory".
dranitou (paulbottinelli) said : | #6 |
Thanks Jean-Paul Calderone, that solved my question.