Exception: Failed to decrypt XML element

26 views
Skip to first unread message

Sorin Gheorghiu

unread,
Jan 28, 2025, 2:37:01 AMJan 28
to simple...@googlegroups.com
Hi,

we use SSP 2.3.5 for Mediawiki authentication with both LTS 1.39 and
1.43 versions, both using PHP 8.1.31, all SP's are configured similar
and connected to the same IDP, but recently some SP's started to return
the error:

SimpleSAML\Error\Error: UNHANDLEDEXCEPTION
Backtrace:
2 src/SimpleSAML/Error/ExceptionHandler.php:36
(SimpleSAML\Error\ExceptionHandler::customExceptionHandler)
1 vendor/symfony/error-handler/ErrorHandler.php:538
(Symfony\Component\ErrorHandler\ErrorHandler::handleException)
0 [builtin] (N/A)
Caused by: Exception: Failed to decrypt XML element.
Backtrace:
10 vendor/simplesamlphp/saml2/src/SAML2/Utils.php:538
(SAML2\Utils::decryptElement)
9 vendor/simplesamlphp/saml2/src/SAML2/EncryptedAssertion.php:122
(SAML2\EncryptedAssertion::getAssertion)
8 modules/saml/src/Message.php:380
(SimpleSAML\Module\saml\Message::decryptAssertion)
7 modules/saml/src/Message.php:643
(SimpleSAML\Module\saml\Message::processAssertion)
6 modules/saml/src/Message.php:613
(SimpleSAML\Module\saml\Message::processResponse)
5 modules/saml/src/Controller/ServiceProvider.php:378
(SimpleSAML\Module\saml\Controller\ServiceProvider::assertionConsumerService)
4 vendor/symfony/http-kernel/HttpKernel.php:181
(Symfony\Component\HttpKernel\HttpKernel::handleRaw)
3 vendor/symfony/http-kernel/HttpKernel.php:76
(Symfony\Component\HttpKernel\HttpKernel::handle)
2 vendor/symfony/http-kernel/Kernel.php:197
(Symfony\Component\HttpKernel\Kernel::handle)
1 src/SimpleSAML/Module.php:234 (SimpleSAML\Module::process)
0 public/module.php:17 (N/A)

What is the cause of it?

Regards
Sorin

Sorin Gheorghiu

unread,
Jan 28, 2025, 4:31:44 AMJan 28
to 'olav....@uninett.no' via SimpleSAMLphp
please don't worry anymore, the issue is fixed now, wrong keys were used by mistake


-------- Weitergeleitete Nachricht --------
Betreff:
Exception: Failed to decrypt XML element
Datum: Tue, 28 Jan 2025 08:36:45 +0100
Von: Sorin Gheorghiu <sorin.g...@uni-konstanz.de>
An: simple...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages