> > cert_extension_2 = X509.new_extension("keyUsage", "10100")
>
> Maybe your OpenSSL is too old. keyUsage needs to be defined in OpenSSL
> obj_dat.h file for this to work.
I am using OpenSSL version 0.9.8k-fips which is the latest version.
I replaced:
cert_extension_2 = X509.new_ext
Matthias Güntert wrote:
> Why is the following code snippet throwing an AssertionError? Is that
> behavior a bug within X509.X509_Extension_Stack()? How would you suggest
> popping every element from the stack?
>
> cert_extension_2 = X509.new_extension("keyUsage", "10100")
Maybe your
Hello python-list members
Why is the following code snippet throwing an AssertionError? Is that
behavior a bug within X509.X509_Extension_Stack()? How would you suggest
popping every element from the stack?
Regards,
Matthias Güntert
-
from M2Crypt