Commit Graph

779 Commits (17faf6ac4f2d19a4398c0f45c395284c58f57a4d)

Author SHA1 Message Date
Isis Lovecruft 2fb88ad6b4
Fix function verify_file() to handle detached signature files. 2013-04-16 23:09:05 +00:00
Isis Lovecruft 301fd6f89c
Clean up the logging statements in _sign_file(). 2013-04-16 23:07:37 +00:00
Isis Lovecruft 70b8269aaf
Remove one of the sources of the UnicodeDecodeErrors on Python2.6. 2013-04-16 23:06:42 +00:00
Isis Lovecruft 5d94acce83
Add _is_hex() function to parsers.py for checking keyid/fingerprints. 2013-04-16 23:04:30 +00:00
Isis Lovecruft 807aa9821b
Make log statements in _copy_data() more explicit. 2013-04-16 22:45:33 +00:00
Isis Lovecruft 07310a860e
Move _make_binary_stream() to util module and update unittests. 2013-04-15 01:42:55 +00:00
Isis Lovecruft a1f9d57cf8
Update setup.py. 2013-04-15 01:30:00 +00:00
Isis Lovecruft 998a9b8f88
Update and add new uniitests. 2013-04-15 01:29:44 +00:00
Isis Lovecruft aaa492b75b
Update assertions and docstrings for unittests. 2013-04-15 01:28:25 +00:00
Isis Lovecruft c01038df43
Add dreb's ListPackets class to parsers.py. 2013-04-15 01:27:04 +00:00
Isis Lovecruft 7eaffa884f
Update class Verify docstrings in parsers.py. 2013-04-15 01:26:43 +00:00
Isis Lovecruft aa96003b26
Update docstrings for class Sign in parsers.py. 2013-04-15 01:26:01 +00:00
Isis Lovecruft 03a9566e0a
Update class Crypt in parsers.py. 2013-04-15 01:25:30 +00:00
Isis Lovecruft 8133ff0cc3
Add Verify class to parsers.py. 2013-04-15 01:24:51 +00:00
Isis Lovecruft f1b5fbc19e
Update docstring for parsers._sanitise_list(). 2013-04-15 01:24:04 +00:00
Isis Lovecruft c2fa9de80a
Refactor function parsers._sanitise(). 2013-04-15 01:23:27 +00:00
Isis Lovecruft 1abffa966d
Update docstring for parsers._sanitise(). 2013-04-15 01:22:23 +00:00
Isis Lovecruft 2a3849e9a3
Update docstring for parsers._sanitise(). 2013-04-15 01:21:47 +00:00
Isis Lovecruft 13580ccac8
Remove excess whitespace. 2013-04-15 01:20:56 +00:00
Isis Lovecruft 719a5068e9
Update docstring for parsers._sanitise(). 2013-04-15 01:20:16 +00:00
Isis Lovecruft 394dca8ddc
Make a logger statement more specific. 2013-04-15 01:19:49 +00:00
Isis Lovecruft a74a5ded93
Allow option '--secret-keyring'. 2013-04-15 01:19:26 +00:00
Isis Lovecruft 72e03a961b
Allow options '--armor' and '--armour'. 2013-04-15 01:18:53 +00:00
Isis Lovecruft 0b1f20c102
Update docstring for parsers._is_allowed(). 2013-04-15 01:18:24 +00:00
Isis Lovecruft 61c6b348db
Update docstring for parsers._hyphenate(). 2013-04-15 01:17:48 +00:00
Isis Lovecruft eea25b80b8
Avoid locally overriding builtins with variable name input. 2013-04-15 01:16:39 +00:00
Isis Lovecruft 9c20a63a36
Add imports and module structure attributes to parsers.py. 2013-04-15 01:15:14 +00:00
Isis Lovecruft b09adb3f19
Remove extra output handing logic in GPG.encrypt_file(). 2013-04-15 01:13:47 +00:00
Isis Lovecruft f357c16a21
Move dreb's GPGWrapper class to gnupg.py. 2013-04-15 01:12:36 +00:00
Isis Lovecruft 4a63023e4b
Update docstring for GPG.encrypt(). 2013-04-15 01:11:47 +00:00
Isis Lovecruft 06a480b669
Get rid of useless inline comment. 2013-04-15 01:11:20 +00:00
Isis Lovecruft a17b8828c1
Again, _result_map is a private attribute. 2013-04-15 01:10:33 +00:00
Isis Lovecruft af996b8a69
Update docstring for GPG.encrypt_file(). 2013-04-15 01:09:32 +00:00
Isis Lovecruft 4a719cec79
Update docstring for GPG.gen_key_input(). 2013-04-15 01:08:54 +00:00
Isis Lovecruft 5f3f26f916
Refactor method GPG.gen_key(). 2013-04-15 01:08:14 +00:00
Isis Lovecruft 26d8f98513
Explicitly list public keys if we didn't specify for secret ones. 2013-04-15 01:07:22 +00:00
Isis Lovecruft 1be0114847
Changes because of now-private attributes and checks moved to util.py. 2013-04-15 01:06:29 +00:00
Isis Lovecruft acbe787847
Make _result_map attribute private. 2013-04-15 01:02:44 +00:00
Isis Lovecruft 3626132c6c
Update check in GPG.verify_file() to use util._is_file(). 2013-04-15 01:01:35 +00:00
Isis Lovecruft 7555cbac3c
Update docstring for GPG.verify_file(). 2013-04-15 01:01:02 +00:00
Isis Lovecruft 4383e9ac5c
Update docstring for GPG.verify(). 2013-04-15 00:59:55 +00:00
Isis Lovecruft 773b7adfb8
Make _result_map a private attribute. 2013-04-15 00:59:31 +00:00
Isis Lovecruft 265c32ac47
Change keyid in _sign_file() to remove extra quoting. 2013-04-15 00:59:03 +00:00
Isis Lovecruft 2691cc8d33
Change level of two log statements. 2013-04-15 00:58:29 +00:00
Isis Lovecruft f6e3d19826
Change GnuPG argument construction in GPG.sign() to use allowed options. 2013-04-15 00:57:42 +00:00
Isis Lovecruft 22e0443dcc
Change GPG.sign() to handle files and strings, make _sign_file() private. 2013-04-15 00:56:49 +00:00
Isis Lovecruft 6c0370efaa
Update docstrings for _read_data(), _handle_io(), and _collect_output(). 2013-04-15 00:55:45 +00:00
Isis Lovecruft d2b1ae62c2
Update docstring for GPG._read_response(). 2013-04-15 00:55:06 +00:00
Isis Lovecruft 9ce776116f
Make a logger statement more explicit. 2013-04-15 00:54:25 +00:00
Isis Lovecruft 671b190a91
Update docstring for GPG._open_subprocess() and make _make_args() private. 2013-04-15 00:53:31 +00:00