mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-22 20:38:28 +00:00
python3-ecdsa: deselect test with upstream PEM-fixture bug
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 <raj.khem@gmail.com>
This commit is contained in:
1 parent
079decd0eb
commit
9bfb2e9f3e
1 file changed
+2
@@ -17,6 +17,8 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
do_install_ptest:append () {
|
do_install_ptest:append () {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
cp -rf ${S}/src/ecdsa/* ${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} += " \
|
RDEPENDS:${PN} += " \
|
||||||
|
|||||||
Reference in new issue
Block a user