-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello -
I'm making a secure SSL connection to a server using python and M2Crypto. See code below.
from M2Crypto import SSL, m2,x509
from M2Crypto.m2xmlrpclib import Server, SSL_Tranport
ctx = SSL.Context()
m2.ssl_ctx_use_pkey_privkey(ctx.ctx,myKey.pkey)
m2.ssl_ctx_use_x509(ctx.ctx,myCert.x509)
server…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to figure out how to, using m2crypto, validate the chain of trust from a public key version of a X509 certificate back to one of a set of known root CA's when the chain may be arbitrarily long. The SSL.Context module looks promising except that I'm not doing this in the context of a SSL…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone.
I am working on a project to implement digital signatures of outgoing messages and decided to use M2Crypto for that.
I have a certificate (in DER format) from which I extract the keys to sign the message. For some reason I keep getting an ugly segmentation fault error when I call the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Dear list,
I would like to send a mail with a s/mime v3 attachment through SMTP.
The excellent HOWTO below describes the procedure in detail for s/mime v2.
http://sandbox.rulemaker.net/ngps/m2/howto.smime.html
I would greatly appreciate any help in doing the same for s/mime v3.
Arye.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
RSA.gen_key function always asks for password when it's used to generate keys. Is there a way to feed it the password from the python code instead of typing it manually?
Thanks,
-R
>>> More