Commit Graph

779 Commits (17faf6ac4f2d19a4398c0f45c395284c58f57a4d)

Author SHA1 Message Date
Isis Lovecruft cd319e1a93
Change license string for PyPI to be the license name, not the copyright. 2013-06-03 21:28:28 +00:00
Isis Lovecruft 6e877d2871
Fix whitespace to be a TAB instead on spaces in Makefile. *le sigh* 2013-06-03 21:27:44 +00:00
Isis Lovecruft 042d52a75f
Move source files to directory named for top-level package. 2013-06-03 21:16:19 +00:00
Isis Lovecruft dfe51598cc
Add script for creating a virtualenv for testing and development. 2013-06-03 12:07:51 +00:00
Isis Lovecruft e9498e91a9
Fix assertions and add extra assertions to multi-recipient encryption test. 2013-06-03 12:04:32 +00:00
Isis Lovecruft 1cfd8b636d
Add run mechanism for unittests to main module. 2013-06-03 12:02:28 +00:00
Isis Lovecruft 2825efcda5
Add a unittest for GPG.recv-keys(). 2013-06-03 11:59:37 +00:00
Isis Lovecruft 3233cba6bb
Add a test for semicolon escapes in inputs. 2013-06-03 11:58:02 +00:00
Isis Lovecruft d81fee0912
Remove the log.warn line that printed dividers between unittest runs. 2013-06-03 11:56:47 +00:00
Isis Lovecruft aa1247f431
Fix __package__ attr and imports according to PEP366 for submodules. 2013-06-03 11:55:45 +00:00
Isis Lovecruft 4584719c5b
Deduplicate code in GPGWrapper. 2013-06-03 11:49:53 +00:00
Isis Lovecruft e573136666
Rewrite doctest for GPG.encrypt. 2013-06-03 11:39:56 +00:00
Isis Lovecruft 118b7f5a28
Fix a broken directory path in GPG.gen_key() doctest. 2013-06-03 11:39:16 +00:00
Isis Lovecruft 64028912de
Rewrite GPG.recv_keys to hook into GPGBase.recv_keys. 2013-06-03 11:38:18 +00:00
Isis Lovecruft b1760735ea
Fix doctests in GPG class to all use the same homedir directory. 2013-06-03 11:37:03 +00:00
Isis Lovecruft 64f093d434
Add GPG.keyserver to settings printout. 2013-06-03 11:35:59 +00:00
Isis Lovecruft 0f2770ff78
Update doctest for GPG.__init__(). 2013-06-03 11:35:26 +00:00
Isis Lovecruft d3c509265f
Remove old documentation on no-longer-existant kwarg for GPG.__init__(). 2013-06-03 11:34:26 +00:00
Isis Lovecruft ca28c1a4d2
Remove a kwarg from GPG.__init__() since properties are settable in child cls. 2013-06-03 11:33:44 +00:00
Isis Lovecruft eb1967600e
Remove unnecessary io.BytesIO import from gnupg module. 2013-06-03 11:33:05 +00:00
Isis Lovecruft 36a6bf712a
Switch to using py3k absolute imports in gnupg module. 2013-06-03 11:32:25 +00:00
Isis Lovecruft dbb8e395cc
Use the copyleft.authors objects in module documentation for gnupg. 2013-06-03 11:31:21 +00:00
Isis Lovecruft 2b54a03922
Redefine document build commands in Makefile. 2013-06-03 11:30:09 +00:00
Isis Lovecruft bddabb1406
Add a reinstall command. 2013-06-03 11:29:32 +00:00
Isis Lovecruft 0f9a7f5faf
Redefine commands for running unittests in the Makefile. 2013-06-03 11:28:35 +00:00
Isis Lovecruft 5c49b5826c
Redefine cleanup operations in the Makefile. 2013-06-03 11:26:32 +00:00
Isis Lovecruft f9948c7c7a
Fix ListPackets to set self.status for messages, like the other parsers. 2013-06-03 11:25:09 +00:00
Isis Lovecruft cdb9e5f4ea
Add better documentation for Verify class and class attributes. 2013-06-03 11:24:12 +00:00
Isis Lovecruft 2f16ca18f0
Clean and fix several things in the ImportResult parser.
* Fix the strange check for "int(code) | int(reason) == int(code)".
 * Hide a bunch of the attributes which are usually "0" and put them into
   an OrderedDict attribute. This needs to be an OrderedDict because
   the IMPORT_RES status code needs to line up with the contents correctly.
2013-06-03 11:23:20 +00:00
Isis Lovecruft e00597c3ed
Check .isspace() instead of a literal string for speed. 2013-06-03 11:17:07 +00:00
Isis Lovecruft 776584bd59
Clean up an assert in _parsers. 2013-06-03 11:16:38 +00:00
Isis Lovecruft 2c95074006
Add checks for keyserver and recv-keys options to _parsers module. 2013-06-03 11:15:42 +00:00
Isis Lovecruft a03d666d0a
Implement --recieve-keys. 2013-06-03 11:09:16 +00:00
Isis Lovecruft 68157a0777
Shorten and exception message string. 2013-06-03 11:07:54 +00:00
Isis Lovecruft 8463cc2cee
Add _check_keyserver parser for GPG.keyserver property. 2013-06-03 09:56:56 +00:00
Isis Lovecruft 67ac4b31f9
Switch to py3k absolute imports in _parsers module. 2013-06-03 09:55:58 +00:00
Isis Lovecruft 5e6a0d215d
Fix a property function signature which asked for an extraneous arg. 2013-06-03 09:54:11 +00:00
Isis Lovecruft f5d150441c
Add _util.author_info helper for copyleft module. 2013-06-03 09:53:27 +00:00
Isis Lovecruft 2740cd6773
Update directory finders. 2013-06-03 09:52:48 +00:00
Isis Lovecruft a4ffcebff8
Switch to py3k absolute imports in _util module. 2013-06-03 09:52:21 +00:00
Isis Lovecruft 79e3f6f6f5
Fix symlink creation and removal for gpg binaries in disabled $PATH entries. 2013-06-03 09:50:18 +00:00
Isis Lovecruft 63181d92ff
Add keyserver property to GPGBase class. 2013-06-03 09:49:29 +00:00
Isis Lovecruft f042536fe5
Update GPGBase docstring. 2013-06-03 09:01:44 +00:00
Isis Lovecruft a6ef75f1f0
Switch to py3k absolute imports in _meta module. 2013-06-03 08:57:49 +00:00
Isis Lovecruft bc5f23fcbe
Switch to py3k absolute imports in _logger module. 2013-06-03 08:57:02 +00:00
Isis Lovecruft 3c07dfc4fd
Fix directly accessible package modules. 2013-06-03 08:55:45 +00:00
Isis Lovecruft db7c2760ae
Add license headers to copyleft.py. INFINITE LICENSE RECURSION! DUN DUN DUN! 2013-06-02 13:14:13 +00:00
Isis Lovecruft c0db5604b2
Add automatic copyright and license retrieval as module attributes. 2013-06-01 13:14:13 +00:00
Isis Lovecruft 30860cf4c6
Switch to py3k absolute imports in package __init__.py. 2013-05-31 13:14:13 +00:00
Isis Lovecruft e05ab6fd79
Add header to package __init__.py. 2013-05-30 13:14:13 +00:00