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

[WFCORE-5027] Adding a proposal for charset and encoding support for credentials in security realms #323

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

SoniaZaldana
Copy link
Contributor

@SoniaZaldana SoniaZaldana commented Jul 13, 2020

@SoniaZaldana SoniaZaldana force-pushed the WFCORE-5027 branch 2 times, most recently from 1133be9 to 75f6fee Compare July 14, 2020 13:42
``hash-charset`` to the ``set-password`` operation as follows:


/subsystem=elytron/filesystem-realm=fsRealm:set-password(identity=user1, digest={algorithm=digest=md5, password=password123, hash-encoding=hex, hash-charset=UTF-16})
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a very minor typo, s/digest=md5/digest-md5.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed!


=== Hard Requirements

All realms that support hashed passwords need to be modified: Properties Realm, Filesystem Realm, JDBC Realm, and LDAP Realm.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be good to add links to the corresponding Java classes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added!

@fjuma
Copy link
Contributor

fjuma commented Jul 16, 2020

Nice analysis, @SoniaZaldana!

@SoniaZaldana SoniaZaldana force-pushed the WFCORE-5027 branch 3 times, most recently from 88b51b1 to 3db24fe Compare July 16, 2020 19:53
used when verifying every single client-provided password against the credentials stored in the
security realm, as long as hashing is enabled. The only difference lies in that the Elytron Properties realm
only allows ClearPasswords or DigestPasswords, as opposed to the ``UserRolesLoginModule`` which supports a wider variety of
hashing algorithms. Supporting more hashing algorithms is out of the scope of this RFE.
Copy link
Contributor Author

@SoniaZaldana SoniaZaldana Jul 16, 2020

Choose a reason for hiding this comment

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

For now, I have written that supporting all the hashing algorithms that legacy supported is out of the scope of this RFE. Should it be included?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants