diff options
author | Dan McGee <dan@archlinux.org> | 2011-10-03 10:52:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-12 14:20:47 -0500 |
commit | 2a18171afa9ba8acf1123355f252b1189aefeeeb (patch) | |
tree | a44468c6b6d2a28fae8310a2bc1f29df102bf6ab /test/pacman/pmpkg.py | |
parent | 61c6ae01b3315c5db38ef5d313ac6f0b75fe2209 (diff) |
signing: delay gpgme_init() until latest possible moment
In the default configuration, we can enter the signing code but still
have nothing to do with GPGME- for example, if database signatures are
optional but none are present. Delay initialization of GPGME until we
know there is a signature file present or we were passed base64-encoded
data.
This also makes debugging with valgrind a lot easier as you don't have
to deal with all the GPGME error noise because their code leaks like a
sieve.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmpkg.py')
0 files changed, 0 insertions, 0 deletions