[GPGME] python t-quick-key-manipulation.py fails

Justus Winter justus at g10code.com
Tue Apr 11 10:21:54 CEST 2017


Alon Bar-Lev <alon.barlev at gmail.com> writes:

> Hi,
>
> All tests are passing except this one:
> ---
> Traceback (most recent call last):
>   File "./t-quick-key-manipulation.py", line 112, in <module>
>     assert len(keys) == 1
> AssertionError
> ---
>
> Happens for both python2.7 and python3.4.
>
> Any clue?
> len(keys) == 0

Does your GnuPG support the TOFU trust model?  A way to check this is:

gpg --trust-model=tofu --list-config

This part of the test should probably be skipped if TOFU is not
supported, but I don't know how to check that from GPGME.  I'll have a
look at the qt test for TOFU for inspiration.

Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170411/b1bdba4d/attachment-0001.sig>


More information about the Gnupg-devel mailing list