[meta-python][PATCH 03/12] python3-ecdsa: deselect test with upstream PEM-fixture bug
Khem Raj <[email protected]>
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Khem Raj <[email protected]> test_SigningKey_from_pem_pkcs8v2_EdDSA embeds its PEM fixture as an indented triple-quoted string, but der.unpem() only recognizes "-----BEGIN/END-----" markers with no leading whitespace; the indented END marker gets swallowed into the base64 payload instead of being stripped, so it fails with "Incorrect padding" regardless of environment. Upstream test-authoring bug in 0.19.2, not a packaging issue. Signed-off-by: Khem Raj <[email protected]> --- meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb index 5bb1da85b6..59774a1681 100644 --- a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb +++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb @@ -17,6 +17,8 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ + sed -i -e "/--automake/ s/$/ -k 'not test_SigningKey_from_pem_pkcs8v2_EdDSA'/" \ + ${D}${PTEST_PATH}/run-ptest } RDEPENDS:${PN} += " \