m2crypto Questions

2

Solved

I am attempting to install M2Crypto on a Windows XP platform. I have Python, easy_install and SWIG installed, but when I attempt to easy_install M2Crypto I get the following: SWIG\_m2crypto.i(31) ...
Franklynfrankness asked 22/6, 2011 at 8:7

1

Solved

I believe that since this question, pyOpenSSL has started supporting the verification of signatures (as of pyOpenSSL 0.11. I am working on a project which was started by someone else using M2Crypt...
Excisable asked 27/8, 2012 at 17:54

1

Solved

M2Crypto and OpenSSL CLI doesn't seem to create the same digital signature. Here is the code that I use in Python: import M2Crypto rsa = M2Crypto.RSA.load_key("privkey.pem") open("sig_m2crypto", "...
Casework asked 27/6, 2012 at 8:8

1

Solved

I am having a hard time running a M2Crypto SSLServer with EXPORT grade ciphers. LOW/MEDIUM/HIGH grade ciphers work without any problems, but EXPORT just won't. Also, when OpenSSL is run in a serve...
Lodmilla asked 19/6, 2012 at 13:17

2

Solved

I am trying to generate self signed SSL certificates using Python, so that it is platform independent. My target is the *.pem format. I found this script that generates certificates, but no inform...
Jotter asked 9/9, 2011 at 10:59

2

Solved

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 arbitraril...
Dreibund asked 13/4, 2010 at 3:29

4

I'm running lint as follows: $ python -m pylint.lint m2test.py with this code: import M2Crypto def f(): M2Crypto.RSA.new_pub_key("").as_pem(cipher=None).split("\n") The lint output ends with...
Third asked 4/9, 2011 at 23:32

1

Solved

The method M2Crypto.RSA.RSA().save_key_der() can be used to save a key in the DER format. However, I do not see a corresponding method M2Crypto.RSA.load_key_der() as I would expect. Is there a way...
Weller asked 23/4, 2011 at 15:8

3

Solved

I am using M2Crypto's AES for encrypting message, but confused about how to generate a strong random session key and of what length. Does M2Crypto provide any function for generation random key.
Carpophore asked 15/2, 2011 at 7:35

2

Solved

I have a working test of a hardware device that uses RSA encryption, in Python using M2Crypto. Now I need to test a similar device that uses 3DES encryption. But I can't figure out how to use M2Cry...
Bristle asked 22/8, 2010 at 14:7

6

Solved

I am using M2Crypto-0.20.2. I want to use engine_pkcs11 from the OpenSC project and the Aladdin PKI client for token based authentication making xmlrpc calls over ssl. from M2Crypto import Engine ...
Parkins asked 3/2, 2010 at 20:28

© 2022 - 2024 — McMap. All rights reserved.