drebs
faadc426cf
Add recovery document export.
2013-03-11 12:20:11 -03:00
drebs
58fd7bedac
Add packages to namespace.
2013-03-10 19:00:18 -03:00
drebs
fbff6fb6dd
Remove monkeypatch logging for now.
2013-03-10 17:11:50 -03:00
drebs
2953bad41e
Add namespace package.
2013-03-10 16:04:23 -03:00
drebs
e0f450ab47
Move source files to proper subdirectory.
2013-03-07 17:23:05 -03:00
Isis Lovecruft
0e031cd06a
Merge branch 'fix/1928-sign-file-logic-error' into development
2013-03-06 18:05:40 +00:00
Isis Lovecruft
bffd7f59c7
Fix logic in GPG.sign_file().
...
* Fixes #1928 .
* If a user specified both clearsign=True and detach_sign=True, then the
original logic would go through the `if detach:` portion of the code,
appending to the argument string `"--detach-sign"` and then skip the `elif
clearsign:` block, which would mean that the default behaviour would be to
use --detach-sign, when the standard default behaviour for GnuPG, if it
receives both --detach-sign and --clearsign, is to only do --clearsign.
2013-03-06 18:00:46 +00:00
Isis Lovecruft
50450cc605
Merge branch 'feature/1920-check-fd' into development
2013-03-06 17:50:55 +00:00
Isis Lovecruft
3c925e997e
Check that _copy_data() parameters are actually file descriptors.
...
* Closes #1920 .
2013-03-06 17:49:44 +00:00
Isis Lovecruft
951fafb5e3
Merge branch 'fix/1921-1927-1929-hanging-fds' into development
2013-03-06 17:45:56 +00:00
Isis Lovecruft
8d6e12c0be
Fix possible IOError due to second write() call in _copy_data().
...
* Fixes #1931 .
2013-03-06 17:39:21 +00:00
Isis Lovecruft
a5967495b9
Merge branch 'fix/1921-1927-1929-hanging-fds' into development
2013-03-06 17:17:23 +00:00
Isis Lovecruft
6bd4eebc23
Fix documentation in GPG._handle_io().
2013-03-06 17:16:26 +00:00
Isis Lovecruft
253b8f557e
Fix blanket case except statement in _copy_data().
...
* Fixes #1922 .
2013-03-06 17:15:31 +00:00
Isis Lovecruft
6074a24c0b
Fix documentation in function _copy_data(). WONTFIX hanging FD problem #1921
...
* Won't fix hanging file descriptor problem due to this problem requiring a
complete rewrite of nearly every function in the module.
* Closes #1921 , #1927 , #1929 .
* Fix whitespace styling.
2013-03-06 17:11:57 +00:00
Isis Lovecruft
6398ddcf28
Add encrypted copy of notes from my audit.
2013-03-06 16:42:02 +00:00
Isis Lovecruft
1f910f1c4a
Merge branch 'fix/1747-remove-popen-with-shell' into development
2013-03-06 16:31:31 +00:00
Isis Lovecruft
6f4c7f757d
Update documentation for function _sanitise().
2013-03-06 15:37:27 +00:00
Isis Lovecruft
abab2c53f2
Rewrite function _sanitise() with calls to other new check functions().
...
* Remove function _type_check_and_remove_escapes().
2013-03-06 15:35:52 +00:00
Isis Lovecruft
5f28127b6f
Add calls to _underscore() in _is_allowed() to avoid repeating the call in
...
other functions.
2013-03-06 15:35:11 +00:00
Isis Lovecruft
d4f3210011
Update documentation for function _is_allowed().
2013-03-06 15:34:11 +00:00
Isis Lovecruft
8aebd7dd8b
Update documentation for function _sanitise().
2013-03-06 15:13:40 +00:00
Isis Lovecruft
57a03cf71c
Separate out logic for determining if a GPG option is allowed.
...
* Add function _is_allowed().
* Update documentation for _is_allowed() and _sanitise().
2013-03-06 15:11:39 +00:00
Isis Lovecruft
d3c04e9a43
Whitespace fix.
2013-03-06 15:10:46 +00:00
Isis Lovecruft
9d2203508a
Separate function for switching option hyphenation to underscores for
...
assignment to object attributes.
2013-03-05 16:29:36 +00:00
Isis Lovecruft
58048935e9
Separate the regex shell escape find and replace, and quote wrapping logic,
...
into a separate function.
2013-03-05 16:25:20 +00:00
Isis Lovecruft
ccb90c564d
Separate lstat filesize checking assertion into a seperate function.
2013-03-05 16:12:07 +00:00
Isis Lovecruft
10309a61c3
Add gnupg options sanitising function.
2013-03-05 00:26:59 +00:00
Isis Lovecruft
25e3949633
Cleanup coding style and docstrings in old module code.
2013-03-05 00:07:50 +00:00
Isis Lovecruft
9e851f796d
Make GnuPG process attribute private in parser classes.
2013-03-05 00:06:32 +00:00
Isis Lovecruft
f85b723155
Remove call to write the GPG secret key passphrase into the logger.
2013-02-21 22:39:44 +00:00
Isis Lovecruft
4d31850c64
Add changes to module docstring and packaging attributes.
2013-02-21 22:36:47 +00:00
Isis Lovecruft
a08f1d6cd4
Remove gnupg-patched.py file, because changes should be made in commits which
...
can be turned into patches on the original.
2013-02-21 22:29:36 +00:00
Isis Lovecruft
32d7e615be
Starting creation of GPGOption option validation class.
2013-02-21 16:24:09 +00:00
Isis Lovecruft
69b7f86529
Original source from code.google.com, version 0.3.2.
2013-02-13 21:19:18 +00:00
Isis Lovecruft
30982ba681
Initial commit.
2013-02-13 21:18:30 +00:00