Libelektra: error messages in crypto plugins&tests

Created on 2 Oct 2019  Â·  5Comments  Â·  Source: ElektraInitiative/libelektra

I think in general it would be good if the crypto plugins and the crypto test cases give better error messages. Should I open a new issue for this?

 95/267 Test  #93: testmod_gpgme .................................***Failed    0.18 sec
OK closing connection
GPGME        TESTS
==================

/home/markus/Projekte/Elektra/current/src/plugins/gpgme/testmod_gpgme.c:227: error in test_encryption_decryption: kdb get failed
/home/markus/Projekte/Elektra/current/src/plugins/gpgme/testmod_gpgme.c:243: error in test_encryption_decryption: key type not restored to string during decryption
/home/markus/Projekte/Elektra/current/src/plugins/gpgme/testmod_gpgme.c:244: error in test_encryption_decryption: key content not restored during decryption
/home/markus/Projekte/Elektra/current/src/plugins/gpgme/testmod_gpgme.c:254: error in test_encryption_decryption: key content not restored during decryption

gpgme Results: 45 Tests done — 4 errors

All 5 comments

Ok, the problem is that spec is not writable. But this cannot seen by the error messages at all. So this issue is only about improving error messages :+1:

OK I will check on this issue.

Thank you very much! Any other improvement of the error messages (usability) is also very much welcomed!

I'll have a look at

  • fcrypt
  • crypto
  • gpgme

But probably not before the weekend. Let's keep this issue open.

Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kodebach picture kodebach  Â·  29Comments

sanssecours picture sanssecours  Â·  36Comments

markus2330 picture markus2330  Â·  38Comments

markus2330 picture markus2330  Â·  27Comments

KurtMi picture KurtMi  Â·  85Comments