Commit Graph

8 Commits

Author SHA1 Message Date
Pierre LALET 149791c5b5 Fix cyrptography install for Travis-CI tests with PyPy 2017-01-06 13:55:28 +01:00
Thomas Faivre c24298b956 switch from PyCrypto to cryptography lib
Change the cryptographic library used in the following layers:
 * IPSec
 * TLS
 * Dot11

Notes:
 * Fix the WEP key in regression.uts: Should be a 40 bits key (5 ASCII)
   and 24 bits nonce for 64 bits WEP. The key was 8 ASCII => 88 bits
   in total
 * AES-GCM and AES-CMAC algorithms are now native in cryptography: add
   tests in ipsec.uts
 * cryptography only supports Python 2.6+
 * Fix the docstring for the pad method

Removed:
 * MD2 and MD4 hash algorithms for RSA in tls/crypto/pkcs1.py
 * AES-XCBC-96 not supported by cryptography.

Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
2017-01-06 13:55:27 +01:00
Guillaume Valadon 8fc77d5eb7 codecov support 2016-12-27 20:34:16 +01:00
Pierre LALET a9937bef6d Travis CI: fix install & tests 2016-11-10 08:23:37 +01:00
Daniel Collins 620f195c65 Corrected ICV length for AES-GCM and AES-CCM in IPSec layer. Added un… (#269)
* Corrected ICV length for AES-GCM and AES-CCM in IPSec layer. Added unit tests to the ipsec campaign.

* Added travis support for pycrypto 2.7a1 combined modes.

* Updated documentation for pycrypto installation.
2016-10-26 10:03:37 +02:00
Guillaume Valadon 5b5bd11933 Travis CI improvements (#258) 2016-08-12 11:36:08 +00:00
mtury 4faaaac043 cert.py improvements (#175)
cert.py improvements

* Improve cert.py : independence from openssl, ECDSA support, sign/verify capabilities

* Make travis install python-ecdsa

* Clarify ECDSA support

* Cleaning up for cert.py
2016-07-20 14:17:12 +02:00
Guillaume Valadon 6317ba089a Run unit tests on Linux and OS X - root and non-root 2016-06-08 09:53:11 +02:00