Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Always refresh OpenPGP keys before starting the verification process.
This ensures that the key has not been revoked, and also reduces
the risk of using an expired key.
|
|
|
|
|
|
Always trust keys in isolated env since we are explicitly importing
them. This does not make any real difference but it skips unnecessary
trust management.
|
|
It turns out that 'gpgconf --kill' is not supported by gpg-2.0. Given
that removing the homedir will cause the agent to quit, and that
we need to explicitly handle race conditions between the cleanup
and agent quitting anyway, let's just go straight for removal.
|
|
|
|
|
|
|
|
|
|
|
|
Try importing the 'lzma' module only in Python 3.3+, that is versions
known to have it built-in. This way, we can prevent accidentally
importing incompatible module using the same name, e.g. pyliblzma.
Bug: https://bugs.gentoo.org/643254
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provide a proper error handler to rmtree() method in OpenPGP cleanup
handler. Ignore ENOENT when removing files to prevent race conditions
between the rmtree() function and gpg-agent cleaning up its own sockets.
|