Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(authtoken): Store only one hash for authtokens with the current password per user #36562

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Feb 6, 2023

Checking auth token hashes takes quite some time. We can avoid checking each of them if we make sure that the same password also uses the same hash so we can quickly confirm that they do not need updates by just verifying one hash.

Waiting for CI at https://drone.nextcloud.com/nextcloud/spreed/11676/1/4

Copy link
Member

@marcelklehr marcelklehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@nickvergessen
Copy link
Member

Talk testing times look good again.

But CI on server is unhappy (unit tests)

@juliusknorr juliusknorr force-pushed the debug/session-hash-slowdown branch from 6a50ae0 to 7db99a4 Compare February 8, 2023 19:07
@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 8, 2023
…assword per user

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the debug/session-hash-slowdown branch from 7db99a4 to 580feec Compare February 9, 2023 12:44
@juliusknorr juliusknorr merged commit 674f4e8 into master Feb 9, 2023
@juliusknorr juliusknorr deleted the debug/session-hash-slowdown branch February 9, 2023 15:08
@blizzz blizzz mentioned this pull request Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug performance 🚀
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants