Commit Graph

1050 Commits (develop)

Author SHA1 Message Date
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
Isis Lovecruft 85c1cbc0c8
Fix #2184, add twisted copyright info for the util._which() function. 2013-04-21 08:25:07 +00:00
Isis Lovecruft fd6dbe71b6
Merge branch 'feature/cleanup-api' into develop 2013-04-17 23:52:10 +00:00
Isis Lovecruft df5346694d
Get rid of the "--no-show-photos is deprecated" GnuPG warning. 2013-04-17 22:49:09 +00:00
Isis Lovecruft bd853d3fdb
Make the util module private. 2013-04-17 22:48:07 +00:00
Isis Lovecruft 0bc97dd48b
Move _copy_data(), _write_passphrase(), and _threaded_copy_data() to util. 2013-04-17 22:47:13 +00:00
Isis Lovecruft 72b2d9058e
Fix missing method calls in unittest for GPG.list_keys(). 2013-04-17 22:42:38 +00:00
Isis Lovecruft 0801492eaf
Add unittest for _copy_data(). 2013-04-17 22:42:31 +00:00
Isis Lovecruft 4e79a29cea
Fix the super() calls in ResultStringIO in unittest script. 2013-04-17 22:39:59 +00:00
Isis Lovecruft b183f6984a
Add listkeys tests to Makefile command. 2013-04-17 22:38:07 +00:00
Isis Lovecruft debe70723b
We don't have a default Name-Comment in gen_key anymore, so change unittest. 2013-04-17 21:04:26 +00:00
Isis Lovecruft aba04d5803
Only create one test directory while running unittests. 2013-04-17 21:03:44 +00:00
Isis Lovecruft c53be427ca
Remove unused code from the unittest runner. 2013-04-17 21:02:43 +00:00
Isis Lovecruft 0394034236
Add key generation utility functions.
* Add util._make_passphrase() for creating a random string passphrase and
   optionally writing it to a file only readable by the real uid of the
   running process.
 * Change the util._today() function to _next_year(), which gives us today's
   date a year from now, for setting the default expire date in
   GPG.gen_key_input().
2013-04-17 20:58:49 +00:00
Isis Lovecruft 9288f8eead
Add docstring for GPG.gen_key_input(). 2013-04-17 20:57:51 +00:00
Isis Lovecruft a9faa376e7
Update docstring for GPG.genkey(). 2013-04-17 20:54:39 +00:00
Isis Lovecruft faf102e6ac
Remove old commented out code for keyring generation in GPG.__init__(). 2013-04-17 20:53:56 +00:00