Commit Graph

14 Commits

Author SHA1 Message Date
Michael Greene
eb99007b3a big PEP8 pass 2022-11-23 17:15:45 -08:00
rot42
8cc340d781 Use dedicated exception class when ECPointFormat is wrong
This makes it easier to catch these specific types of errors if the
user wants to, and makes it clearer what is happening.
2019-08-01 14:18:33 -04:00
Michael Greene
3cbad620e1 - generalized/refactored away some repeated code in MPIs subclasses
- updated __all__ in a few places
- improved test_exports
- pep8
2016-02-16 21:05:21 -08: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
0a887b3e56 added new exception class, PGPEncryptionError; added some additional test coverage for exception raising scenarios 2014-09-29 17:07:56 -07:00
Michael Greene
658450640f - abstracted symmetric decryption so the actual cipher object construction and ciphertext decryption happens in one place to make the code easier to maintain
- moved asymmetric decryption into PKESessionKey as it makes more sense to have it in the one place where asymmetric decryption is even used
2014-08-27 12:57:05 -07:00
Michael Greene
50bc25f8d3 PEP8 2014-05-29 17:36:41 -07:00
Michael Greene
b3821a981f PEP 8 2014-05-09 20:46:07 -07:00
Michael Greene
27e62bc731 new exception - #50 2014-05-09 20:36:31 -07:00
Michael Greene
7e3fa19c90 added some relevant docstrings 2014-05-02 16:59:54 -07:00
Michael Greene
367e651ad6 New exception added, and a test stage for it 2014-05-02 14:38:56 -07:00
Michael Greene
dede88b255 PEP 8 2014-04-30 13:20:34 -07:00
Michael Greene
289dd85b6b added a new exception class: WontImplementError, to raise in cases where things will not be implemented (such as encrypting key material with IDEA) 2014-04-29 18:23:11 -07:00
Michael Greene
48a9a8bfe7 moved PGPError to pgpy.errors because circular-import errors 2014-04-24 17:18:22 -07:00