m2crypto
How can I retrieve the TLS/SSL peer certificate of a remote host using python?
I need to scan through a list of IPs and retrieve the common name from the certificate on that IP (for every IP that allows port 443 connections). I have been able to successfully do this using the so[详细]
2023-04-11 17:52 分类:问答How can I verify an X509 certificate in python including a CRL check?
I\'m trying to verify an X509 certificate using python.In particular I need to check CRLs when I do it.[详细]
2023-04-11 01:47 分类:问答Decrypt in Python an encrypted message in Java
I\'m trying to decrypt in Python (with M2Crypto) an encrypted message generated in Java with this library[详细]
2023-04-08 04:41 分类:问答Create self signed SSL certificates in Python
I am trying to generate self signed SSL certificates using Python, so that it is platform independent. My target is the *.pem format.[详细]
2023-04-03 14:32 分类:问答SMIME.smime_load_pkcs7 (_bio): M2Crypto.SMIME.SMIME_Error: no content type
I have problems loading a pkcs#7 file and ask your help to figure out what I\'m doing wrong. I run M2Crypto-0.21.1 with OpenSSL 0.9.8g (as present in Ubuntu 9.4) and built with SWIG 1.3.36 and python[详细]
2023-04-03 03:27 分类:问答How can I create a .pem file using M2Crypto?
I would like to reproduce this command using python. $ openssl req -newkey rsa:1024 -nodes -x509 -days 365 -out key2.pem[详细]
2023-03-20 21:22 分类:问答Extract signing certs from a PKCS7 SignedData structure with m2crypto
I am trying to use M2Crypto to extract the signing certificates from a Windows PE file. According to the MS specification the data is stored in a PKCS#7 SignedData structure (sto开发者_如何学Cred in A[详细]
2023-03-19 14:14 分类:问答easy_install M2Crypto failing on Windows platform
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:[详细]
2023-03-14 09:49 分类:问答Help verifying RSA signed text with Python
Using Java I have created RSA keypairs. Using Java I can use these keys to sign and verify some text. I can also \"export\" these keys in PEM format and load them into a Python test script. Once in th[详细]
2023-03-13 14:59 分类:问答AES method for data stream in Python
I want to apply an AES 128b encryption (probably CBC + Padding) on a data stream. In case it matters, I\'m sending chunks of around 1500bits each.[详细]
2023-03-12 13:16 分类:问答