move to python-cryptography v1.5

version 1.5 (released nearly 3 years ago, on 2016-08-26) introduced
sign() and verify() for all asymmetric algorithms.

Without this change, with modern versions of python-cryptography, we
see warnings like:

/usr/lib/python3/dist-packages/pgpy/packet/fields.py:1177: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.

The version of python-cryptography in debian stretch (oldstable) is
1.7.1, for point of reference.
This commit is contained in:
Daniel Kahn Gillmor
2019-06-05 16:18:41 -04:00
parent d8adc3287f
commit d281d6ec17
3 changed files with 9 additions and 31 deletions

View File

@@ -22,7 +22,7 @@ with open('README.rst') as readme:
_requires = [
'cryptography>=1.1',
'cryptography>=1.5',
'pyasn1',
'six>=1.9.0',
]