Commit Graph

21 Commits

Author SHA1 Message Date
Guillaume Valadon 09098050d4 travis/osx - Python3 and tox installations fixed 2018-03-05 13:39:42 +01:00
Guillaume Valadon 0257fed05e Use Tox to perform Scapy unit tests (#1106) 2018-01-31 14:34:57 +01:00
Pierre LALET 34a5312bb6 Travis / Linux: fix PCAPDNET install 2018-01-06 23:56:38 +01:00
Pierre LALET cf681edb9a Travis: fix pip detection 2018-01-06 23:56:37 +01:00
Pierre LALET a92cbab0bc Travis: use regular OSX image 2018-01-06 23:56:37 +01:00
Pierre LALET af1d768087 Travis: install codecov in install.sh 2018-01-06 23:56:37 +01:00
Pierre LALET ec80e3538d Enable Python 3 (3.3 to 3.6) tests
This also fixes the Python version used for the test and to
install the packages.
2018-01-03 17:35:24 +01:00
Guillaume Valadon 945457ec70 Bad characters removed 2017-12-22 12:56:35 +01:00
Guillaume Valadon 20bb4692de PacketList methods regression tests 2017-09-26 14:38:13 +02:00
Guillaume Valadon 398e52e616 Six import error in mock 2017-07-31 14:49:41 +02:00
Guillaume Valadon 4bbee3b741 [coverage] More unit tests for scapy/*.py & bug fixes (#522)
* Code cleaning, unit tests
* Fix manuf DB path
* Specify seed in volatile objects using RandomEnumeration
* pypy fixes
2017-04-10 17:33:08 +02:00
mtu 1bc79c805b Add TLS parsing/building support, TLS basic automatons, TLS tests 2017-02-08 15:39:50 +01:00
Pierre LALET b1b741c5f1 Tests: introduce "crypto" keyword
Pypy won't run crypto tests on Travis CI because the cryptography
module cannot be installed with the Pypy version used.
2017-01-06 13:56:05 +01:00
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