8000 PasswordHashingTest#testPasswordRehashedWhenCredentialImportedWithDifferentKeySize fails to successfully log in · Issue #40235 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
PasswordHashingTest#testPasswordRehashedWhenCredentialImportedWithDifferentKeySize fails to successfully log in #40235
Closed
@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

When working on #40171 I found that for this login the test fails.

Version

main

Regression

  • The issue is a regression

Expected behavior

The login should succeed

Actual behavior

It fails with a wrong password, but there is no check in the test

How to Reproduce?

Add an appPage check

        loginPage.open();
        loginPage.login(username, password);
        appPage.assertCurrent();

Anything else?

I'll prepare a PR. The problem is that not a plain text password should be passed when creating the user, but a full credential including the hashed password and the salt etc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0