Commit Graph

1016 Commits (fix/89-python3)

Author SHA1 Message Date
Isis Lovecruft 228cec9533
Add all available key fields for GPG.gen_key_input to the docstring. 2013-05-11 08:49:37 +00:00
Isis Lovecruft 863ad194a5
Cleanup indentation style a bit. 2013-05-11 08:48:39 +00:00
Isis Lovecruft b562a346ff
Fix typo in docstring. 2013-05-11 08:48:12 +00:00
Isis Lovecruft a7afce0394
Add a testing mode to GPG.gen_key_input() which uses insecure PRNG.
* This should only be used in the unittests, as the PRNG it uses in GnuPG does
   not create strong keypairs (though it's faster, thus why we're using it for
   testing).
2013-05-11 08:43:33 +00:00
Isis Lovecruft f95c3c7c1e
Remove old TODO comment. 2013-05-10 09:50:56 +00:00
Isis Lovecruft d392265101
Fix two bugs, one due to an extra pair of quotes, the other due to strformat. 2013-05-10 09:45:39 +00:00
Isis Lovecruft b66fc4ca82
Add subkey support and a docstring to GPG.export_keys(). 2013-05-10 09:44:07 +00:00
Isis Lovecruft 55185d528b
Separate options into tidy groups so that the parser handles them efficiently. 2013-05-10 09:42:30 +00:00
Isis Lovecruft fdaadcbd20
Fix a bug due to calling a GnuPG option which was removed several versions ago. 2013-05-10 09:40:36 +00:00
Isis Lovecruft 5d0e45170f
Add a docsting for GPG.delete_keys(). 2013-05-10 09:39:40 +00:00
Isis Lovecruft 58300c3149
Enable all tests in the Makefile.
* To run tests, it is necessary -- due to the module structure -- to do:
       $ make uninstall && make install && make test
   which is recommended to do in a virtualenv, or similar such isolated testing
   environment.
2013-05-10 09:34:46 +00:00
Isis Lovecruft 04a79a2802
Remove the version string from generated keys, encrypted files, and sigs. 2013-05-10 09:33:07 +00:00
Isis Lovecruft ce323251ed
Fix a bug due to the _py3k check being moved to the utils module. 2013-05-09 19:14:52 +00:00
Isis Lovecruft 2114033c3a
Add distribute_setup.py script. 2013-05-07 15:01:22 +00:00
Isis Lovecruft df0b4c7a34
Add pip installation update script to make sure we use SSL for downloads. 2013-05-07 14:23:34 +00:00
Isis Lovecruft 0462e8509c
Move TODO file to docs/ subfolder. 2013-05-14 11:10:45 +00:00
Isis Lovecruft 0c0f0c069a
Move LICENSE file to docs/ subfolder. 2013-05-14 11:08:18 +00:00
Isis Lovecruft 158499da35
Add setuptools-git as a dependency.
* TODO find a way to only require setuptools-git if python-gnupg was checked
   out from a git repo.
2013-05-28 11:04:52 +00:00
Isis Lovecruft a5c0f8f1cf
Add setuptools directive to include PKG-INFO. 2013-05-28 11:01:13 +00:00
Isis Lovecruft 694ae87410
sign_with → default_key. Also, deduplicate code. 2013-05-28 11:00:13 +00:00
Isis Lovecruft 4bd45d06cd
Update docstring for GPGBase._homedir_getter() property. 2013-05-28 10:18:43 +00:00
Isis Lovecruft 15d4bc0eb4
Fix a bug resulting from a typo in the @atexit.register'd function. 2013-05-28 10:17:43 +00:00
Isis Lovecruft b7ba572aa1
Update docstring for GPGBase.__remove_path__(). 2013-05-28 10:17:08 +00:00
Isis Lovecruft 7129a4c85f
Update docstring for GPGBase._find_agent(). 2013-05-28 10:15:51 +00:00
Isis Lovecruft 6a47c3cd77
Move several methods and attributes from GPG to GPGBase.
* Move _decode_errors
 * Move _result_map
 * Move _copy_data()
 * Move _read_data()
 * Move _read_response()
 * Move _make_args()
 * Move _open_subprocess()
 * Move _collect_output()
 * Move _handle_io()
2013-05-28 10:12:01 +00:00
Isis Lovecruft 8e2f905859
handle_status() → _handle_status() in _parsers.py and gnupg.py. 2013-05-28 09:24:06 +00:00
Isis Lovecruft cacedc6242
self.gpg → self._gpg in _parsers.py. 2013-05-28 09:18:58 +00:00
Isis Lovecruft d910a48660
GPG.filesystemencoding → GPG._filesystemencoding 2013-05-28 08:52:49 +00:00
Isis Lovecruft 87ced52f85
GPG.encoding → GPG._encoding 2013-05-28 08:48:36 +00:00
Isis Lovecruft 5b731736fe
Remove duplicate attribute primary_key_created from GenKey. 2013-05-28 08:42:03 +00:00
Isis Lovecruft 08bbfb3a68
Fix several missing 's's in doctest calls to GPG(homedir='./tests/doctests'). 2013-05-28 08:37:46 +00:00
Isis Lovecruft f1d5622a13
Add placeholder for tests/doctests/ and add to .gitignore. 2013-05-28 08:26:46 +00:00
Isis Lovecruft eec650d13f
Add note in TODO about possible bug in GnuPG v1.4.12 with 'Key-Type: default'. 2013-05-28 08:19:34 +00:00
Isis Lovecruft b7d9f749b6
Decrypt docs/NOTES-python-openpgp-implementations. 2013-05-28 08:04:47 +00:00
Isis Lovecruft 4c1d7599bd
Remove duplicate code from GPGWrapper. 2013-05-28 07:41:32 +00:00
Isis Lovecruft 18f527c514
Add a missing colon in an attribute autodoc comment. 2013-05-28 07:40:55 +00:00
Isis Lovecruft 6f5c7fb610
Split imports in gnupg.py to one-per-line. 2013-05-28 07:40:32 +00:00
Isis Lovecruft bdd08fb31f
Remove GPGMeta and GPGBase specific imports from gnupg.py. 2013-05-28 07:39:02 +00:00
Isis Lovecruft a95a49e04a
Move GPGMeta and GPGBase to _meta.py. 2013-05-28 07:35:15 +00:00
Isis Lovecruft ecd8faa425
Move re import to GPGWrapper class, it isn't used anywhere else. 2013-05-28 07:33:38 +00:00
Isis Lovecruft 72ef15f5a4
Remove unused logging and tempfile imports from gnupg.py. 2013-05-28 07:32:35 +00:00
Isis Lovecruft 6f9c4c7423
Remove commented out code and unused pprint import. 2013-05-28 07:31:04 +00:00
Isis Lovecruft 60a216a604
Fix a bug where "$ make cleantest" fails while removing tests/random_seed. 2013-05-28 07:28:10 +00:00
Isis Lovecruft e5634a8907
Add .PHONY alias to Makefile. 2013-05-28 07:27:43 +00:00
Isis Lovecruft 137dddd36c Ignore MANIFEST and MANIFEST.in files. 2013-05-28 07:24:29 +00:00
Isis Lovecruft edaf6a138b Ignore traceback records for tickets also. 2013-05-28 07:24:09 +00:00
Isis Lovecruft d52c08bae7 Ignore distribute/setuptools PKG-INFO file. 2013-05-28 07:23:47 +00:00
Isis Lovecruft 1d2257db57 Ignore the quilt applied patches directory. 2013-05-28 07:23:11 +00:00
Isis Lovecruft fd85cb8f5c Remove commented out _init_decorator() from GPGMeta class. 2013-05-28 07:22:01 +00:00
Isis Lovecruft d6ac61cc81
Merge branch 'fix/2184-twisted-license' into develop 2013-04-21 08:26:44 +00:00