- Additional code needed to generate ECDH keys also added
- Encrypt/decrypt using ECDH also works
- Added some code to the test harness to start making it work with gpg 2.1
- Fixed key generation tests to test generating keys using all possible algorithms
- Updated documentation sources to reflect these changes
- 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
- Added ECDSA signing and verification - closes#111
- ECDSA key generation is also supported
- refactored some of the signing/verification machinery to simplify code in PGPKey._sign and PGPKey.verify
- fixed a bug with Signature subpacket ByteFlags where the byte output was not being properly null-padded to the length of the subpacket when necessary, which led to the potential for key outputs that would fail to parse properly if update_hlen was not called (which is silly)
- fixed string formatting UserID packets when the comment and/or email address are missing - closes#142
- implemented OpaquePubKey and OpaquePrivKey so that keys using unimplemented formats can still be loaded without error, even if they can't be used
- enabled initial key action testing using ecc.1.pub.asc and ecc.1.sec.asc (which also required copying the two signatures from ecc.1.pub.asc to ecc.1.sec.asc)
- improved test output for some tests with auto-ids that were formed in an unfortunate manner
- Key generation - #147 :
- backend implementation for generating RSA and DSA keys is complete
- first pass of making the API accomodate it appropriately
- generating subkeys is not worked into the API yet
- unit tests are not written yet
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
- Added stub classes for Symmetric-Key Encrypted Session Key v4 packets, One-Pass Signature v4 packets, Symmetric-Key Encrypted Data packets, Marker packets, Symmetric-Key Encrypted and Integrity Protected Data v1 packets, and Modification Detection Code packets
- Updated PGPKeyring a bit; now returns a list of unique fingerprints loaded by PPGKeyring.load and PGPKeyring.fingerprints
- Added a shortcut property to PrivKeyV4 that returns True if the secret key material is encrypted, otherwise False
- Fixed a small parsing bug in Opaque(Packet) that parsed incorrect lengths on versioned packets. This was previously dead code, so it would not have appeared before adding the versioned packet stubs.