Commit Graph

45 Commits

Author SHA1 Message Date
Daniel Kahn Gillmor
b649fdae66 strip unnecessary trailing whitespace
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-07-17 02:32:11 -04:00
Antoine Beaupré
63de03ec61 mark Curve 25519 as supported with the right version of OpenSSL 2017-11-11 12:47:23 -05:00
Antoine Beaupré
ef579e5efb use standard footnotes in progress 2017-11-11 12:46:57 -05:00
Antoine Beaupré
96b5dc8523 add WKS to the list of unofficial protocols 2017-11-11 12:27:30 -05:00
Antoine Beaupré
42b5221234 expand on the work needed to complete HKP support
Break down the protocol in distinct actions with references to the RFC
draft
2017-11-11 12:19:04 -05:00
Michael Greene
df926e19e4 documentation
[skip ci]
2017-03-20 10:13:58 -07:00
Michael Greene
2a5e8209ea - added Brainpool Standard curve support (matching GnuPG) for users with openssl >= 1.0.2
- bumped dev branch version to 0.5.0
2016-04-22 17:10:51 -07:00
Michael Greene
9501954a15 updated docs
[skip ci]
2016-04-21 20:51:32 -07:00
Michael Greene
f3f108cf49 a little bit of clarification
[skip ci]
2016-02-26 16:21:44 -08:00
Michael Greene
13e8d27f8e implemented Marker packet 2016-02-16 16:19:58 -08:00
Michael Greene
f31a802c73 - Implemented proper parsing of ECDH keys - closes #110
- 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
2016-02-15 22:48:01 -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
c76ba55ee5 - Implemented proper parsing of ECDSA keys - closes #109
- 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
2015-06-10 22:39:21 -07:00
Michael Greene
f05e9e9a37 - bumped version to 0.4.0 (forgot to do this earlier)
- 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
2015-05-29 18:38:05 -07:00
Michael Greene
3570f796aa slight organizational change; fixed text for the DNS PKA heading
[skip ci]
2014-12-02 10:12:49 -08:00
David Lukas Müller
d413c4d3a7 Extended progress.rst with non-RFC extension 'OpenPGP HTTP Keyserver Protocol (HKP)' 2014-12-02 10:10:05 -08:00
Michael Greene
9e245d4e0d the wrong RFC was linked for RFC 5581. Fixed and re-uploaded.
[skip ci]
2014-11-19 11:30:09 -08:00
Michael Greene
2ed206d0a4 changed progress bar colors; more documentation
[skip ci]
2014-10-14 14:47:51 -07:00
Michael Greene
a36a776079 documentation updates and a minor API change to PGPUID.new 2014-10-07 16:32:20 -07:00
Michael Greene
e600be8921 some documentation; overhauled PGPKey.sign by splitting it into multiple methods; reimplemented almost all of TestPGPKey in test_05_actions 2014-10-01 21:47:31 -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
d1ed333535 progress 2014-09-22 17:14:31 -07:00
Michael Greene
124c0000b6 moar progress
[skip ci]
2014-09-16 20:27:34 -07:00
Michael Greene
811c236720 stubbed out tests for #104
[skip ci]
2014-09-12 17:24:25 -07:00
Michael Greene
0322b2c3a7 Progress update
[skip ci]
2014-09-12 14:05:06 -07:00
Michael Greene
bffe7954d8 moar progress stuff
[skip ci]
2014-09-08 17:40:33 -07:00
Michael Greene
1e199bb5e5 more progress
[skip ci]
2014-09-08 17:24:04 -07:00
Michael Greene
dde49d1d71 Progress update
[skip ci]
2014-09-08 13:32:09 -07:00
Michael Greene
dec0267f1f Progress update
[skip ci]
2014-09-08 12:32:41 -07:00
Michael Greene
6c0357eb28 progress update
[skip ci]
2014-09-05 15:27:27 -07:00
Michael Greene
b5056f1b31 update progress
[skip ci]
2014-09-03 16:02:55 -07:00
Michael Greene
c67f6f8100 . 2014-08-27 15:48:25 -07:00
Michael Greene
56cd9da5e6 removed test message(s) that were encrypted using ElGamal for the time being (see #108); updated progress.rst
[skip ci]
2014-08-26 20:33:28 -07:00
Michael Greene
3e9c136c5a added parsing of One-Pass signature packets 2014-08-25 11:29:54 -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
fe5ed49241 added another userid test packet for regression testing the regex; renamed the inline-signed message to cleartext.asc; updated need.txt, and progress.rst 2014-08-21 18:06:14 -07:00
Michael Greene
c1761abf51 - Implemented parser classes for Public-Key Encrypted Session Key v3 packets, Compressed Data packets, and Literal Data packets
- 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.
2014-08-20 18:45:26 -07:00
Michael Greene
ca886fc049 - filled out more progress
- stubbed out PGPKey more
 - added temporary test instantiation to test_3_armor
2014-08-09 21:46:59 -07:00
Michael Greene
98b18968a1 documentation updates; custom documentation extension for progress checklists 2014-08-09 13:08:28 -07:00
Michael Greene
954cf93628 DOCUMENTATION! - issue #70
[skip ci]
2014-07-18 18:19:44 -07:00
Michael Greene
732d055053 DSA signing added to progress checklist 2014-05-29 17:14:15 -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
c341d924e2 updated progress 2014-05-07 11:43:14 -07:00
Michael Greene
d49a6b1654 Added full key decryption cipher support, although a few don't work yet. I'll play with them more on Monday. Closes #30, #31, #32, #33 2014-05-02 20:04:01 -07:00
Michael Greene
38cb85b7ed documentation 2014-05-02 17:00:06 -07:00