raykoshima
raykoshima12mo ago

migrate user from django

how do I migrate user from django into zitadel user? I know that django use pbkdf2 but it hash in own function and zitadel have pbkdf2 I have enable it when I import using this hash https://discord.com/channels/927474939156643850/1274106780493942876/1277940585654911001 it work but when I import my hash that password is password like the hash above it seem like it isn't pbkdf2 what I need to do?
3 Replies
fabienne
fabienne12mo ago
Each specific type has to be supported so you are able to migrate the passwords, we use the passwap lib https://github.com/zitadel/passwap and at the moment it doesn't support the django pbkdf2, so it is not possible to migrate them
GitHub
GitHub - zitadel/passwap: Package passwap provides a unified implem...
Package passwap provides a unified implementation between different password hashing algorithms. It allows for easy swapping between algorithms, using the same API for all of them. - zitadel/passwap
fabienne
fabienne12mo ago
there is an open issue for that: https://github.com/zitadel/passwap/issues/45
GitHub
Support django pbkdf2 · Issue #45 · zitadel/passwap
Currently passwap does not support Django pbkdf2 hashes. Example: pbkdf2_sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ= Issue: zitadel/passwap does not support the Django f...
fabienne
fabienne12mo ago
But at the moment this doesn't have a high priority

Did you find this page helpful?