Control: tags -1 + patch
On 27.05.25 19:24, Frederic Peters wrote:
forwarded -1 https://dev.entrouvert.org/issues/106375
thanks
I didn't investigate yet, maybe more a xmlsec1 issue ...
ftr I orwarded the report upstream to have a look.
it looks like the needed fixes are all in the upstream VCS. However I
based my effort on the patches of the Fedora package, plus one more
upstream commit. It might be an alternative to grab all these changes
into a git-updates.diff.
See
https://patches.ubuntu.com/l/lasso/lasso_2.8.2-9ubuntu2.patch
One of the python bindings tests is still failing, attaching here the
test log. That might be worth forwarding.
=======================================================
lasso 2.8.2: bindings/python/tests/test-suite.log
=======================================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
System information (uname -a): Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 x86_64 x86_64 x86_64
Distribution information (/etc/os-release):
PRETTY_NAME="Ubuntu Questing Quokka (development branch)"
NAME="Ubuntu"
VERSION_ID="25.10"
VERSION="25.10 (Questing Quokka)"
VERSION_CODENAME=questing
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
.. contents:: :depth: 2
FAIL: profiles_tests
====================
test01 (__main__.ServerTestCase.test01)
Server construction, dump & newFromDump. ... ok
test02 (__main__.ServerTestCase.test02)
Server construction without argument, dump & newFromDump. ... ok
test01 (__main__.LoginTestCase.test01)
SP login; testing access to authentication request. ... ok
test02 (__main__.LoginTestCase.test02)
SP login; testing processing of an empty Response. ... ERROR:Lasso:2025-05-30 09:52:51 (login.c/:2324) Invalid message
ok
test03 (__main__.LoginTestCase.test03)
Conversion of a lib:AuthnRequest with an AuthnContext into a query and back. ... ok
test04 (__main__.LoginTestCase.test04)
Conversion of a lib:AuthnRequest with extensions into a query and back. ... ok
test05 (__main__.LoginTestCase.test05)
SAMLv2 Authn request emitted and received using Artifact binding ... ok
test07 (__main__.LoginTestCase.test07)
SAMLv2 SSO with DSA key for the IdP ... ok
test08 (__main__.LoginTestCase.test08)
Verify KeyEncryptionMethod support ... WARNING:Lasso:2025-05-30 09:52:51 Encryption failed
FAIL
test_06 (__main__.LoginTestCase.test_06)
Login test between SP and IdP with encrypted private keys ... ok
test01 (__main__.LogoutTestCase.test01)
SP logout without session and identity; testing initRequest. ... ERROR:Lasso:2025-05-30 09:52:51 (logout.c/:535) Session not found
ok
test02 (__main__.LogoutTestCase.test02)
IDP logout without session and identity; testing logout.getNextProviderId. ... ok
test03 (__main__.LogoutTestCase.test03)
IDP logout; testing processRequestMsg with non Liberty query. ... ERROR:Lasso:2025-05-30 09:52:51 (logout.c/:675) Invalid message
ok
test04 (__main__.LogoutTestCase.test04)
IDP logout; testing processResponseMsg with non Liberty query. ... ok
test05 (__main__.LogoutTestCase.test05)
Test parsing of a logout request with more than one session index ... ok
test01 (__main__.DefederationTestCase.test01)
IDP initiated defederation; testing processNotificationMsg with non Liberty query. ... ERROR:Lasso:2025-05-30 09:52:51 (defederation.c/:323) Invalid message
ok
test01 (__main__.IdentityTestCase.test01)
Identity newFromDump & dump. ... ok
test01 (__main__.AttributeAuthorityTestCase.test01)
Attribute request and response test between sp5 and idp6 ... ok
======================================================================
FAIL: test08 (__main__.LoginTestCase.test08)
Verify KeyEncryptionMethod support
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/tmp/lasso-2.8.2/bindings/python/tests/./profiles_tests.py", line 343, in test08
assert 'xmlenc#rsa-1_5' in run()
^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
----------------------------------------------------------------------
Ran 18 tests in 0.027s
FAILED (failures=1)
FAIL profiles_tests.py (exit status: 1)