Commit Graph

779 Commits (17faf6ac4f2d19a4398c0f45c395284c58f57a4d)

Author SHA1 Message Date
Isis Lovecruft 41219d209c
Add --secret-keyring to argument list in GPG._make_args(). 2013-04-15 00:52:10 +00:00
Isis Lovecruft 88a187bb06
Update docstring for GPG._make_args(). 2013-04-15 00:51:23 +00:00
Isis Lovecruft bd98bc9003
Call check util._has_readwrite() from GPG.__init__(). 2013-04-15 00:50:08 +00:00
Isis Lovecruft 4d74b5703f
Remove resolved note on android locale. 2013-04-15 00:48:57 +00:00
Isis Lovecruft 8f2204f464
Don't touch non-existent pubring.gpg and secring.gpg, let GnuPG handle it. 2013-04-15 00:48:06 +00:00
Isis Lovecruft 25a10567d0
Raise a DeprecationWarning for GPG argument 'keyring'. 2013-04-15 00:47:16 +00:00
Isis Lovecruft 5f96682378
Use util._find_gpgbinary() function in GPG.__init__(). 2013-04-15 00:46:32 +00:00
Isis Lovecruft 93ab899d4a
Use util._create_gpghome() function in GPG.__init__(). 2013-04-15 00:45:47 +00:00
Isis Lovecruft 92d52268ba
Make gpghome default to _conf directory from util.py. 2013-04-15 00:45:17 +00:00
Isis Lovecruft ec1a81b197
Change GPG class attributes to be private and update docstring for GPG. 2013-04-15 00:44:18 +00:00
Isis Lovecruft 3f78e119ea
Remove extra whitespace line. 2013-04-15 00:43:32 +00:00
Isis Lovecruft 273b5c8635
Make a logger statement more explicit. 2013-04-15 00:43:07 +00:00
Isis Lovecruft 0b54d68e6a
Refactor function _copy_data(). 2013-04-15 00:42:39 +00:00
Isis Lovecruft 0a19ba201c
Change _py3k check to belong in util.py 2013-04-15 00:41:50 +00:00
Isis Lovecruft a3e4cb661b
Comment out faulting assertion to debug other issues. 2013-04-15 00:41:04 +00:00
Isis Lovecruft d0783cb398
Remove _which() from gnupg.py and add doctring for _threaded_copy_data(). 2013-04-15 00:40:28 +00:00
Isis Lovecruft 48a7ad3374
Remove function _today() from gnupg.py. 2013-04-15 00:39:01 +00:00
Isis Lovecruft 2e6d34385b
Add checks to utils.py, update docstrings.
* Add _create_gpghome()
 * Add _is_file()
 * Add _is_stream()
 * Add _is_list_or_tuple()
 * Add _today()
 * Add _which()
 * Update docstrings for methods in ListPackets.
2013-04-15 00:33:17 +00:00
Isis Lovecruft 425ca28a48
Update docstring for ListPackets class. 2013-04-15 00:31:21 +00:00
Isis Lovecruft a92490af2e
Remove checks from gnupg.py and add utility functions to util.py.
* Remove _has_readwrite()
 * Remove _is_file()
 * Remove _is_stream()
 * Remove _is_sequence()
 * Add _create_gpghome()
 * Add _find_gpgbinary()
2013-04-15 00:28:22 +00:00
Isis Lovecruft 484ab3b442
Update docstring for _copy_data(). 2013-04-15 00:25:28 +00:00
Isis Lovecruft f6cd904708
Add note on android locale hack. 2013-04-15 00:23:48 +00:00
Isis Lovecruft 4cf1c698c1
Fix import statements in gnupg.py and util.py. 2013-04-15 00:22:41 +00:00
Isis Lovecruft 5a6414074b
Change __module__ level attributes. 2013-04-15 00:20:07 +00:00
Isis Lovecruft 12a2a8fe35
Add --no-site-files to virtualenv setup lne in Makefile. 2013-04-15 00:19:08 +00:00
Isis Lovecruft c323935000
Append genkey and sign tests to Makefile command. 2013-04-15 00:18:30 +00:00
Isis Lovecruft 7a688327e9
Add __init__ files for module directories. 2013-04-15 00:16:59 +00:00
Isis Lovecruft 5b0e8bc407
Add documentation for gnupg.parsers module. 2013-04-14 09:33:11 +00:00
Isis Lovecruft c99a8cb53e
Remove autoclassing gnupg.GPG twice in the documentation. 2013-04-14 09:31:31 +00:00
Isis Lovecruft 799845c760
Remove the dash from "clean-docs" in the Makefile for tab completion. 2013-04-14 09:29:35 +00:00
Isis Lovecruft d2786b9283
Merge branch 'fix/update-packaging' into develop 2013-04-12 17:11:32 +00:00
Isis Lovecruft 85fc2692a5
Change how we create the pubring.gpg and secring.gpg. 2013-04-12 00:02:49 +00:00
Isis Lovecruft a4b8c7823f
Update Sphinx config due to directory layout change. 2013-04-12 00:02:06 +00:00
Isis Lovecruft 6f9e0b4a30
Update top-level Makefile with new directory structure. 2013-04-11 23:46:49 +00:00
Isis Lovecruft d97ae0b356
Relayout module structure. 2013-04-11 23:45:22 +00:00
Isis Lovecruft f318573e84
Removing the TODO list because we killed it. 2013-04-11 23:43:02 +00:00
Isis Lovecruft e02cfc4946
Update setup.py with new directory structure and updated tags. 2013-04-11 23:42:15 +00:00
Isis Lovecruft 22c59246b3
Merge branch 'fix/1924-mro-conflict' into develop 2013-04-11 19:12:10 +00:00
Isis Lovecruft 59951c7486
Fix potential MRO conflict in Crypt class. 2013-04-11 19:11:12 +00:00
Isis Lovecruft bd6960b123
Merge branch 'fix/2131-unittests' into develop 2013-04-11 18:42:48 +00:00
Isis Lovecruft 7ae48bdfdf
Merge branch 'feature/docs' into develop 2013-04-11 18:40:32 +00:00
Isis Lovecruft 7a48142449
Merge remote-tracking branch 'isislovecruft/develop' into develop 2013-04-11 18:40:05 +00:00
Isis Lovecruft 64fd83bf85
Add bug reporter. 2013-04-11 18:39:03 +00:00
Isis Lovecruft f68d01b9f2
Update the README. 2013-04-11 18:21:32 +00:00
Isis Lovecruft f01668fe48
Add NOTES file to docs/ directory. 2013-04-11 18:16:05 +00:00
Isis Lovecruft 134f52f523 Merge remote-tracking branch 'soledad/master' into develop
* Drebs wrote a patch to add '--list-packets' functionality to python-gnupg,
   and I would like to include it without deleting its history. This is a
   rather strange merge, however, because not only does it merge an entirely
   different repo, but also an entirely different repo of an entirely different
   project, Soledad.
 * The file we wanted was src/leap/soledad/util.py, and the commands taken to
   complete this merge were as follows:

   git clone git@github.com:isislovecruft/soledad.git soledad-copy
   cd soledad-copy
   git remote rm origin
   ## Remove the files and any history which mentions those files which are
   ## not in the src/leap/soledad directory:
   git filter-branch --subdirectory-filter src/leap/soledad -- --all
   ## Then do the same for every file and subdirectory which is not util.py:
   git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch \
       src/leap/soledad/__init__.py' HEAD
   git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch \
       src/leap/soledad/server.py' HEAD
   git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch \
       src/leap/soledad/shared_db' HEAD
   git filter-branch -f --index-filter 'git rm -r --cached --ignore-unmatch \
       src/leap/soledad/tests' HEAD
   git filter-branch -f --index-filter 'git rm -r --cached --ignore-unmatch \
       src/leap/soledad/backends' HEAD
   cd ..
   git clone git@github.com:isislovecruft/python-gnupg.git python-gnupg-copy
   cd python-gnupg-copy
   git remote add soledad ../soledad-copy
   git fetch soledad
   git checkout develop
   git merge -S --no-ff soledad/master
2013-04-11 06:50:34 +00:00
Isis Lovecruft f65618bd83
Remove unused function _underscore(). 2013-04-10 22:44:10 +00:00
Isis Lovecruft 3152784ada
Merge branch 'fix/2162-stream-check' into develop 2013-04-10 22:00:09 +00:00
Isis Lovecruft 58de4c6c21
Make a logger statement more explicit. 2013-04-10 21:58:56 +00:00
Isis Lovecruft 0ae817e3b8
Update _sanitise() docstring with information on return object. 2013-04-10 21:56:55 +00:00