Commit Graph

39 Commits

Author SHA1 Message Date
James Morris
78c4588a7e Move the last of the metadata to setup.cfg 2021-04-20 11:33:20 -04:00
James Morris
b99a98b922 Removed redundant download link from setup.py 2020-10-06 14:16:07 -04:00
James Morris
8e1407de54 Added some more package metadata, bumped version in preparation of new release, tweaked setup.py 2020-07-28 14:26:31 -04:00
KOLANICH
eed3884e70 Moved the metadata from setup.py to setup.cfg 2020-07-24 18:12:29 +03: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
d281d6ec17 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.
2019-07-17 04:41:27 -04:00
Marcel Fest
1f9a2914c3 less diff for six 2019-02-04 11:22:43 -05:00
Marcel Fest
6c71391a4e only older not equals
we do not want to depend on these if python is version 3.4
we only want to depend on these if python is older than 3.4
delete the equals.
2019-02-04 11:22:43 -05:00
Marcel Fest
c72b431b96 only depende on singledispatch if python older than 3.4 2019-02-04 11:22:43 -05:00
Stephen Fuhry
36a88858a9 swap out python 3.3 (EOL) with 3.7 2019-02-04 11:22:38 -05:00
Michael Greene
2d6667ee53 just version things
[skip ci]
2017-03-01 12:40:39 -08:00
Michael Greene
848c8afe28 - added SECP256K1 curve to EllipticCurveOID because GnuPG supports it
- marked some regression tests as such
 - minor organization stuff
[skip ci]
2016-04-21 18:46:28 -07:00
Michael Greene
d8834a6116 updated six version in the other two places
[skip ci]
2016-04-18 19:22:33 -07:00
Michael Greene
97e1678aa6 removed some leftover 3.2 stuff that was missed
[skip ci]
2016-02-16 16:18:01 -08: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
9c6d9636b4 - implemented key protection such that unprotected private keys can be protected with passphrases, and already-protected passphrases can be re-protected with a new passphrase, and unit tests for these two scenarios - closes #149
- updated CI configs so that Python 3.2 can actually finish running the test suite without crashing since it is stuck on an older version of Cryptography
- added additional tests to test setup.py on all versions of Python after I noticed that a recent change would have made it break on Python 3.2
- enum34 should no longer be installed needlessly on Python 3.4 or newer
- added --no-cache-dir to tox's call to pip to install dependencies needed for testing
2015-06-11 19:55:07 -07:00
Michael Greene
b9cb37f5ae Python 2.7 compatibility fix 2015-06-01 17:50:43 -07:00
Michael Greene
84567e085f - PEP8
- modified tox.ini so that py32 can continue to be tested even though cryptography no longer supports it
 - Key Generation - #147 :
   - implemented new API method
   - added unit tests for generating keys, adding user ids, and adding new subkeys
   - added unit tests to test basic expected exception raising when trying to use incomplete keys
   - added a very basic key-completeness test to the @KeyAction decorator
 - added __contains__ to SignatureVerification
2015-06-01 17:45:41 -07:00
Michael Greene
8fc9acfaef some other links that needed to be changed over from github.com/Commod0re to github.com/SecurityInnovation
[skip ci]
2014-11-20 15:25:57 -08:00
Michael Greene
46cb6df709 updated keywords
[skip ci]
2014-11-10 11:48:45 -08:00
Michael Greene
cca6f4ff83 forgot to update requirements in setup.py 2014-10-09 14:39:23 -07:00
Michael Greene
ddf21ebe53 initial work on debian packaging
[skip ci]
2014-10-07 18:53:59 -07:00
Michael Greene
4dcc8caf11 setup.py update for fields getting reorged 2014-07-30 22:30:38 -07:00
Michael Greene
5668d77b97 now working on 0.3.0
[skip ci]
2014-07-20 23:03:38 -07:00
Michael Greene
9993bbfe5c added new subpackages 2014-07-01 14:11:27 -07:00
Michael Greene
bf3acc5fb3 formatting 2014-06-02 13:22:28 -07:00
Michael Greene
bd8b53c13f #39, #53 2014-05-12 13:14:21 -07:00
Michael Greene
5dbd94ad0e CI unit tests should now use TOX and test both libssl 0.9.8 and libssl 1.0.0 2014-05-08 17:36:55 -07:00
Michael Greene
83622fbb9a PEP 8 2014-05-08 17:00:05 -07:00
Michael Greene
b2b27cca8f changed license from MIT to BSD 3-clause - closes #42 2014-05-07 11:46:42 -07:00
Michael Greene
b4c1b50848 added download_url since I know it, now! 2014-05-02 17:37:06 -07:00
Michael Greene
2452f7cf9c getting ready for registering on PyPI 2014-05-02 17:05:56 -07:00
Michael Greene
e07afd4c77 PEP 8 2014-05-01 19:15:11 -07:00
Michael Greene
0010a5c22f enum34 only needs to be installed if the Python version is less than 3.4.0 2014-05-01 17:56:20 -07:00
Michael Greene
0469ef515a PEP 8 2014-05-01 17:33:19 -07:00
Michael Greene
0ce5b86db4 changed Development Status to Beta and added some keywords 2014-05-01 16:59:41 -07:00
Michael Greene
e99b249e9d added missing package: pgpy.packet 2014-04-22 22:47:19 -07:00
Michael Greene
cc7ceba725 important Python package stuff 2014-04-22 22:38:59 -07:00