Problem during users import in Firebase Authentication

178 views
Skip to first unread message

mashood...@gmail.com

unread,
Feb 10, 2017, 10:52:16 AM2/10/17
to Firebase Google Group
I have one important question about the import of users into firebase authentication. My old system contains users passwords in md5 hash format. I used php md5 function to take the hash of passwords. Now the problem is that while importing the user through firebase command line, firbase import command requires the number of rounds used during md5 hash, but php don't provide any information about that. As a result user password don't match after import. Kindly help me to get rid of that problem. I am waiting for your kind response.

Kato Richardson

unread,
Feb 10, 2017, 12:11:56 PM2/10/17
to Firebase Google Group
Hi Tanveer,

We don't have any way to guess the number of rounds here, sorry. I'm pretty sure, though, that PHP's crypt() method uses 5000 rounds as the default, but that's a configurable setting, and I'm not sure it applies to MD5 anyway, as I think rounds are just used for SHA256 and SHA512. So it's possible this isn't even applicable.

☼, Kato



On Fri, Feb 10, 2017 at 2:20 AM, <mashood...@gmail.com> wrote:
I have one important question about the import of users into firebase authentication. My old system contains users passwords in md5 hash format. I used php md5 function to take the hash of passwords. Now the problem is that while importing the user through firebase command line, firbase import command requires the number of rounds used during md5 hash, but php don't provide any information about that. As a result user password don't match after import. Kindly help me to get rid of that problem. I am waiting for your kind response.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c5376d61-b2d5-4a37-aed7-cb4fe0b5a97b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages