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

Alon Bar-Lev alon.barlev at gmail.com
Tue Apr 11 10:29:58 CEST 2017


On 11 April 2017 at 11:21, Justus Winter <justus at g10code.com> wrote:
> 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.

Here:

$ gpg --trust-model=tofu --list-config
gpg: unknown trust model 'tofu'



More information about the Gnupg-devel mailing list