Summary: | app-crypt/gpgme-1.23.2 fails t-json test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | DuPol, kingjon3377 |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://dev.gnupg.org/T4820 https://dev.gnupg.org/T7003 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 835949 | ||
Bug Blocks: | |||
Attachments: | gpgme-1.23.2:20240212-191827.log.gz |
Description
Paolo Pedroni
2024-02-12 21:33:40 UTC
I added some debug output to the test and this is the cause for the failure: ===== Response: {"type":"error","msg":"Decryption failed: No secret key","code":117440529,"op":"decrypt"} Expected: { "dec_info": { "wrong_key_usage": false, "is_de_vs": false, "is_mime": false, "legacy_cipher_nomdc": false, "recipients": [{ "pubkey_algo_name": "ELG-E", "status_string": "Success", "status_code": 0 }] }, "type": "plaintext", "base64": false, "data": "Hello\n" } ==== Apparently this test has had issues in the past with new app-crypt/gnupg, e.g. https://dev.gnupg.org/T4820. Reported upstream at https://dev.gnupg.org/T7003. (In reply to Sam James from comment #3) > Reported upstream at https://dev.gnupg.org/T7003. Upstream have requested more information at https://dev.gnupg.org/T7003#183463. I will try it later but if someone wants to try in the meantime, that'd be nice. This was fixed by bug 835949 (the age of the bug is complicated though, it's not as simple as forgetting to stable something) but I'll also backport the fix. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d987187cc95abbca02949ae2d94a84963fe5f74a commit d987187cc95abbca02949ae2d94a84963fe5f74a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-04 03:08:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-04 03:08:13 +0000 app-crypt/gnupg: backport fix for gpgme tests Closes: https://bugs.gentoo.org/924386 Signed-off-by: Sam James <sam@gentoo.org> .../gnupg/files/gnupg-2.2.42-dirmngr-proxy.patch | 156 +++++++++++++++++ .../gnupg/files/gnupg-2.2.42-gpgme-tests.patch | 39 +++++ app-crypt/gnupg/gnupg-2.2.42-r3.ebuild | 184 +++++++++++++++++++++ 3 files changed, 379 insertions(+) |