Commit Graph

704 Commits (c4cf7db682230d32777b5ea2e4313a3012c4fe29)

Author SHA1 Message Date
Isis Lovecruft bac7e52fc0
Update docs for _parsers.Verify. 2013-05-22 17:37:37 +00:00
Isis Lovecruft 596d6cd2d3
Parse NODATA status code in _parsers.Sign. 2013-05-22 17:37:05 +00:00
Isis Lovecruft 75f3a4a89e
_handle_status→handle_status 2013-05-22 17:36:28 +00:00
Isis Lovecruft 18ffc52aca
Add better parsing of PROGRESS and NODATA status codes in _parsers.GenKey. 2013-05-22 17:34:46 +00:00
Isis Lovecruft 88352ef95c
Remove extra Verify and Crypt from _parsers. 2013-05-22 17:29:06 +00:00
Isis Lovecruft 10014d5401
Rewrite multi-recipient encryption test 2013-05-22 17:25:57 +00:00
Isis Lovecruft 345ca75e85
Minor fixes to encryption with iso-8859-1 encodings test. 2013-05-22 17:25:21 +00:00
Isis Lovecruft ba37ce083d
Explicitly set the passphrase on one of the unittest keys. 2013-05-22 17:23:18 +00:00
Isis Lovecruft 3780a6bed2
More whitespace/style fixes. 2013-05-22 17:22:30 +00:00
Isis Lovecruft fba19da0a0
Use the setting in GPGTestCase.__init__() for insecure PRNG. 2013-05-22 17:20:55 +00:00
Isis Lovecruft 8cdc85aa0e
Add some point the order of these two args was switch, so test should match. 2013-05-22 17:18:58 +00:00
Isis Lovecruft e563faa344
Add print() in unittest for the binary location to be sure PATH hack works. 2013-05-22 17:17:02 +00:00
Isis Lovecruft c577fdcfe5
Add unittests for codec translator utilities. 2013-05-22 17:12:27 +00:00
Isis Lovecruft 5578f130b8
Update docs for GPG.gen_key_input(). 2013-05-22 17:09:02 +00:00
Isis Lovecruft b6797d6a47
Replace old doctest in GPG.gen_key_input(). 2013-05-22 17:06:48 +00:00
Isis Lovecruft 352668b7af
Use codecs.open() in gnupg.py. 2013-05-22 17:05:46 +00:00
Isis Lovecruft 9437604c71
Add list-sigs implementation 2013-05-22 17:05:17 +00:00
Isis Lovecruft 60d6f676e5
util→_util & parsers→_parsers 2013-05-22 17:01:36 +00:00
Isis Lovecruft 18f0e97134
Remove extra whitespace 2013-05-22 16:58:47 +00:00
Isis Lovecruft e6538d6ca3
Change keyring/secring attrs to be based on settings in tests 2013-05-22 16:57:41 +00:00
Isis Lovecruft 2d19b7d771
Add a way to save generated test keys for later debugging 2013-05-22 16:54:56 +00:00
Isis Lovecruft 9b6f823a6e
Whitespace fixes 2013-05-22 16:53:18 +00:00
Isis Lovecruft a3ac1efb94
Use the log object from _util in test handler. 2013-05-22 16:52:35 +00:00
Isis Lovecruft c36687f45a
util→_util & parsers→_parsers 2013-05-22 16:51:33 +00:00
Isis Lovecruft ac8ef6c721
Add codecs and encodings to test handler so that open() uses them 2013-05-22 16:49:40 +00:00
Isis Lovecruft 5059b2c7b2
Move import statement 2013-05-22 16:48:14 +00:00
Isis Lovecruft 3ff097499f
Fix a bug due to using inclusive-and instead of exclusive-or. 2013-05-22 08:02:43 +00:00
Isis Lovecruft fc190c65c2
Kill a superfluous log statement -- gnupg is noisy enough 2013-05-22 08:01:25 +00:00
Isis Lovecruft 7d1efa81f9
Use codec translation finder in _util._copy_data(). 2013-05-22 08:00:31 +00:00
Isis Lovecruft 5a352972b3
Add codec translation mapping function finder for unicode←→str conversion. 2013-05-22 07:59:21 +00:00
Isis Lovecruft 57c83acc31
Rearrange stdlib imports in _util.py to be alphabetical 2013-05-22 07:56:57 +00:00
Isis Lovecruft 0b473774c1
Remove extra whitespace from import statement in _util.py 2013-05-22 07:56:05 +00:00
Isis Lovecruft 83eb95dc4a
Add checks on cipher/hash/digest preference strings. 2013-05-21 23:08:31 +00:00
Isis Lovecruft e5374e8200
Change util→_util. 2013-05-21 23:07:56 +00:00
Isis Lovecruft 7c3e15d99f
Check for basestring type in Python2.x, and type str in Python3.x. 2013-05-21 23:06:57 +00:00
Isis Lovecruft 144d5f952e
Fix bug due to comparing unicode to strings in Python2.x. 2013-05-21 23:04:55 +00:00
Isis Lovecruft 716d2f1d4e
Remove extra whitespace line. 2013-05-21 22:47:12 +00:00
Isis Lovecruft 406f212a3f
Remove old keyring property code. 2013-05-21 13:50:31 +00:00
Isis Lovecruft 6cbed40f84
Add doctest and docstring for GPG.list_sigs(). 2013-05-21 13:49:06 +00:00
Isis Lovecruft f64b0eef03
Add docstring for GPG.list_sigs(). 2013-05-21 13:47:50 +00:00
Isis Lovecruft 6400efa0e6
Add GPG.list_packets() function from drebs' wrapper code.
* TODO This needs unittests.
2013-05-21 13:47:07 +00:00
Isis Lovecruft 1b95e254d7
Update docstring for GPG.list_keys(). 2013-05-21 13:03:58 +00:00
Isis Lovecruft 60b97938f4
Update a log statement. 2013-05-21 13:03:31 +00:00
Isis Lovecruft ece570fdda
Rename all calls _utils._make_binary_stream→_make_binary_stream 2013-05-21 13:02:29 +00:00
Isis Lovecruft 8af74f0981
Update docstring for GPG._sign_file(). 2013-05-21 12:59:57 +00:00
Isis Lovecruft d9b7a85fe6
Change variable names in GPG.sign() to be clearer. 2013-05-21 12:57:24 +00:00
Isis Lovecruft b5a0770d56
Update docstring for GPG.sign(). 2013-05-21 12:46:21 +00:00
Isis Lovecruft 93cfc8a20e
Update several log statements. 2013-05-21 12:45:47 +00:00
Isis Lovecruft 3b769c5202
Update docst
ring for GPG._open_subprocess().
2013-05-21 12:43:00 +00:00
Isis Lovecruft ebf51ecb5d
Add additional integer variables to GPG.verbose to enable getting GnuPG debugging. 2013-05-21 12:41:57 +00:00