From 73d3f712b77f3810645d941fd762e60d9a3a3339 Mon Sep 17 00:00:00 2001 From: Victor Mireyev Date: Wed, 1 Aug 2018 13:56:45 +0300 Subject: [PATCH] Specify minimal version for cryptography package Otherwise if pysaml is installed with an older release of cryptography package it would fail with AttributeError: '_RSAPrivateKey' object has no attribute 'sign' --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 82b6ed89b..24b1f0da9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -48,7 +48,7 @@ scripts = tools/merge_metadata.py tools/parse_xsd2.py install_requires = - cryptography + cryptography >= 1.4 defusedxml future pyOpenSSL