python-gnupg/gnupg
Isis Lovecruft 9164c8dc83
Add a fake status-fd command to create a trustdb.gpg if missing.
For some reason, in GnuPG>=2.x, a missing/corrupted trustdb is a fatal
error. This means that if the homedir was just changed, and any command which
utilizes keys is called (e.g. sign, encrypt, decrypt, etc.) GnuPG dies without
executing the command because we can't find a valid trustdb.

What's even more is that there is a new command in GnuPG>=2.x:
'--fix-trustdb'. You'd think it would, you know, *fix the trustdb*. Hah! Think
again! It prints out a series of shell commands (incorrect ones, at that, as
they don't respect the relevant env variables such as $GNUPGHOME) in a format
which is *not* exec'able (i.e. you can't do something similar to how

    $ exec `ssh-agent`

is used). Software engineering, motherfuckers. #FML.
2013-10-08 10:16:10 +00:00
..
test Remove unused unittest.TestCase.setUpClass() method. 2013-10-08 08:50:08 +00:00
__init__.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
_ansistrm.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
_logger.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
_meta.py Add a fake status-fd command to create a trustdb.gpg if missing. 2013-10-08 10:16:10 +00:00
_parsers.py Add a fake status-fd command to create a trustdb.gpg if missing. 2013-10-08 10:16:10 +00:00
_trust.py Add gnupg._trust module for functions dealing with trustdb. 2013-10-08 10:07:52 +00:00
_util.py Separate gnupg.GPGBase._read_response() into multiple functions. 2013-10-08 09:58:27 +00:00
_version.py Move source files to directory named for top-level package. 2013-06-03 21:16:19 +00:00
copyleft.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
gnupg.py Add the import/export ownertrust methods if GnuPG>=2.x is detected. 2013-10-08 10:13:41 +00:00