Skip to content

Password protected share link broken with : "The password must be hashed already." #3114

Closed

Description

@kaiyou

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Share a link using Circles with an enabled team password
  2. Open the shared link
  3. Enter the password and validate

Expected behaviour

Password should be validated, and the share should be open or not depending on the password.

Actual behaviour

Client gets an Internal Server Error. The logs reports "The password must be hashed already.".

The full trace is:

{"Trace":[{"file":"/var/www/html/apps/files_sharing/lib/Controller/ShareController.php","line":158,"function":"checkPassword","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/public/AppFramework/AuthPublicShareController.php","line":152,"function":"verifyPassword","class":"OCA\\Files_Sharing\\Controller\\ShareController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":198,"function":"authenticate","class":"OCP\\AppFramework\\AuthPublicShareController","type":"->","args":["*** sensitive parameters replaced ***","no",""]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":86,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareController"},"authenticate"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":138,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareController"},"authenticate"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_Sharing\\Controller\\ShareController","authenticate",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files_sharing.share.authenticate","token":"YxdiUeVZCViz1imAp8R","redirect":"showshare"}]},{"file":"/var/www/html/lib/OC.php","line":1238,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/s/YxdiUeVZCViz1imAp8R/authenticate/showshare"]},{"file":"/var/www/html/index.php","line":28,"function":"handleRequest","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/OC.php","line":1403,"function":"{closure:/var/www/html/index.php:25}","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequests","class":"OC","type":"::","args":[{"__class__":"Closure"}]}],"File":"/var/www/html/lib/private/Share20/Manager.php","Line":1498,"message":"The password must be hashed already.","CustomMessage":"The password must be hashed already."}}

This seems related to a change upstream regarding password hashing management: nextcloud/server@ee1feb8

Also this looks related (similar root cause) but is probably a separate issue from: nextcloud/server#65479

Server configuration

Web server: Apache (Docker)

Database: PostgreSQL

PHP version: 8.5

Nextcloud version: 35.0.2

List of activated apps [...] - circles: 35.0.0 [...]

Browser

Browser name: Firefox

Browser version: 158

Operating system: Manjaro

Activity

  1. kaiyou commented on Nov 9, 2026

    @kaiyou
    Author

    This is now fixed by #3130

  2. kaiyou commented on Nov 9, 2026

    @kaiyou
    Author

    This was also reported as #3114, where the PR follows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions