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

Ability to import crypt(3) hashes #3291

Closed
5 of 6 tasks
indietyp opened this issue May 24, 2023 · 1 comment
Closed
5 of 6 tasks

Ability to import crypt(3) hashes #3291

indietyp opened this issue May 24, 2023 · 1 comment
Labels
feat New feature or request.

Comments

@indietyp
Copy link
Contributor

indietyp commented May 24, 2023

Preflight checklist

Describe your problem

We're currently using md5-crypt (from the libcrypt ) to hash passwords (it is part of the POSIX C library), which are currently not supported by Kratos.

Adding support for them would be very beneficial, as many systems, especially older ones that seek to move Kratos, use crypt(3) functions for their hashes.

Describe your ideal solution

Ability to ideally import any crypt(3) hash, but at least have the ability to import md5crypt hashes.

Workarounds or alternatives

There are currently no workarounds, as the algorithms for md5crypt based hashes is not compatible with the md5 import (it uses md5 internally).

Version

v0.13.0

Additional Context

Having looked around the go ecosystem, it seems that there are quite a lot existing libraries that support crypt(3) hashes.

@indietyp indietyp added the feat New feature or request. label May 24, 2023
@aeneasr
Copy link
Member

aeneasr commented May 25, 2023

Sounds good, please use the PHC hashing format for this

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

No branches or pull requests

2 participants