22 Commits

Author SHA1 Message Date
Michael Greene
b23d0832c5 yep 2022-11-23 17:55:41 -08:00
Michael Greene
696e24b800 fix warning formatting and try to get everything using the same kind of string formatting 2022-11-23 16:18:04 -08:00
James Morris
6650e0c0c6 Add Python 3.8 to tests and drop Python 2.7 and 3.4 support 2020-10-07 15:38:29 -04:00
James Morris
5a698522b1 Updated requirements.txt 2020-09-01 11:21:30 -04:00
rot42
d601655c27 support for Ed25519 signatures
This increases the versioned dependency on the cryptography module to
2.6, since that is the version that provides the necessary ed25519
functionality.

We also add a "pure" 25519 OpenPGP certificate for testing purposes.

Closes #221, #222, #247

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-08-01 15:57:48 -04:00
rot42
53c6c3ba94 support for ECDH encryption using Curve25519 (cv25519)
This increases the minimum versioned dependency on the cryptography
module to 2.5, where the necessary features are exposed.

We also add a mixed RSA + ECDH OepnPGP certificate for testing
purposes.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-08-01 15:54:06 -04:00
Daniel Kahn Gillmor
989bd1fd83 update tox and requirements.txt to cryptography 1.5 as well 2019-08-01 12:23:20 -04:00
Michael Greene
cd60dfe7b6 update six and change uses of six.reraise to six.raise_from 2016-04-18 18:59:39 -07:00
Michael Greene
0efb355643 - removed Python 3.2 from CI/unit tests and list of supported interpreters
- bumped minimum cryptography version to 1.1
- added missing pyasn1 line from requirements in README
[skip ci]
2016-02-15 14:23:34 -08:00
Michael Greene
cb91a8056d ran into some trouble verifying some DSA signatures due to incorrect asn.1 encoding of signature components that are 256 bits long - resolved by finally just using pyasn1 instead of the mini encoder I had written before 2015-04-12 18:46:41 -07:00
Michael Greene
275d51791f bump cryptography version to 0.8; this also requires a few changes in how keys are interfaced with 2015-04-12 18:43:50 -07:00
Michael Greene
8ee07a2ef8 - renamed PGPSignature.expired to PGPSignature.is_expired for consistency
- renamed PGPSignature.expires to PGPSignature.expires_at for consistency
 - added missing property PGPKey.expires_at
 - added documentation to PGPUID's class docstring to indicate that it implements __format__ for GnuPG-like formatting of User IDs.
2014-10-17 14:44:57 -07:00
Michael Greene
62dda60c6d update cryptography version pin to 0.6 2014-10-06 13:40:15 -07:00
Michael Greene
d00010ef04 primary/subkey binding now fully works - closes #104; removed FileLoader class; renamed Exportable to Armorable; removed requests from requirements.txt; updated README.rst - closes #127; progress 2014-09-29 13:36:52 -07:00
Michael Greene
919c6357b2 replaced TypedProperty with sdproperty; replaced ClassProperty with classproperty 2014-09-24 15:55:42 -07:00
Michael Greene
43bc7bf7f6 Updated cryptography to 0.5.4 - closes #91
Slightly reorganized the default imports in pgpy/__init__.py
First pass at updating the ascii_unarmor regex to support cleartext signatures - #102, #27, #28
Added pypy3 to the test matrix as an allowed failure
2014-08-22 13:00:40 -07:00
Michael Greene
5ba1095ec0 python 3.2 works now 2014-08-10 01:54:12 -07:00
Michael Greene
042239dfb3 update to cryptography 0.4 2014-05-05 12:28:02 -07:00
Michael Greene
ba22782048 set the version for our cryptography requirement to 0.3 2014-04-30 21:57:01 -07:00
Michael Greene
efeadc32e1 added requirement for cryptography 2014-04-28 19:03:55 -07:00
Michael Greene
3b25de23a1 added missing requirement for python < 3.4: enum34 2014-04-22 22:50:35 -07:00
Michael Greene
cc7ceba725 important Python package stuff 2014-04-22 22:38:59 -07:00