Error 404 when trying to connect via PassLink to any Browser Extension

Hi,

when i try to connect to any browser extension via PassLink i just got a simple error 404 without any describtion. When i check the logs it says:

Fatal passwords TypeError: sha1(): Argument #1 ($string) must be of type string, null given

I´m on Nextcloud 26 with Postgres and NGINX and PHP Version 8.1.2

Somebody got the same problem?

Can you post the entire log message including the stack trace?

Fatal	passwords	TypeError: sha1(): Argument #1 ($string) must be of type string, null given

    /var/www/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php - line 116:

    sha1()

    /var/www/nextcloud/lib/private/Authentication/Token/Manager.php - line 69:

    OC\Authentication\Token\PublicKeyTokenProvider->generateToken("*** sensiti ... *")

    /var/www/nextcloud/apps/passwords/lib/Helper/Token/ApiTokenHelper.php - line 139:

    OC\Authentication\Token\Manager->generateToken("*** sensiti ... *")

    /var/www/nextcloud/apps/passwords/lib/Controller/Link/ConnectController.php - line 225:

    OCA\Passwords\Helper\Token\ApiTokenHelper->createToken("*** sensiti ... *")

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 230:

    OCA\Passwords\Controller\Link\ConnectController->confirm()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 137:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 183:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/Route/Router.php - line 315:

    OC\AppFramework\App::main()

    /var/www/nextcloud/lib/base.php - line 1055:

    OC\Route\Router->match()

    /var/www/nextcloud/index.php - line 36:

    OC::handleRequest()

I think that is an incompatibility with NC 26. It will be fixed with the next update of the app.

Until then you can still set up the extension as described here: setup manual · marius-wieschollek/passwords-webextension Wiki · GitHub

there were two new updates this morning but none of them fixed this error. I´m on Version 2023.3.32-build4917

works since Build 2023.3.32-build4919