Help needed to fix FilterActionEncryptTest::shouldEncrypt(PGP*) unit tests

Friedrich W. H. Kossebau kossebau at kde.org
Mon Aug 16 23:01:04 BST 2021


Thanks for the quick reply, Ingo. Tried your suggestion (see below, but no 
luck).

Am Montag, 16. August 2021, 23:21:29 CEST schrieb Ingo Klöcker:
> Without having looked at this I'm making a wild guess that it's caused by
> current gpg refusing signatures made with SHA1. This happened for some tests
> in gpgme. To fix this one needs to add "allow-weak-key-signatures" to the
> gpg.conf of the test environment resp. add a gpg.conf with this option to
> src/filter/autotests/gpghome.
> 
> Again, that's just a wild guess. I may be completely wrong. Maybe we will
> have to have a closer look at it.

Added a file src/filter/autotests/gpghome/gpg.conf, with the line
allow-weak-key-signatures
also made sure by debug logging it gets deployed to the temporary GNUPGHOME 
working dir with all the other files by GPGHelper,
but test keeps failing with same error :(

Cheers
Friedrich




More information about the kde-pim mailing list