MD5 command:
firebase auth:import C:/Users/username/fb.json --hash-algo=MD5 --rounds=0
HMAC_MD5 command:
firebase auth:import C:/Users/username/fb.json --hash-algo=HMAC_MD5 --hash-key=aGVscG1lcGxlYXNl
Above commands are successfully imported & I can able to login Firebase also. Unfortunately these commands are not working when we are using md5 hashed password created by phpBB.
Firebase import is successful but unable to login with actual password.
Phpbb Password Details:
- User Password : mypass
- Secret Key : wwS4f20N
- Hashed Password : $H$9wwS4f20NH3ROzWtKHhV2hZfJ6BbIC/
- Base64 Secret key : d3dTNGYyME4=
- Base64 Hashed Password : JEgkOXd3UzRmMjBOSDNST3pXdEtIaFYyaFpmSjZCYklDLw==
JSON file (FB.json):
Code: Select all
"users": [
{
"localId": "7ecfc5d7-6aed-11e8-84e4-000d3a3056d1",
"email": "[email protected]",
"emailVerified": false,
"passwordHash": "JEgkOXd3UzRmMjBOSDNST3pXdEtIaFYyaFpmSjZCYklDLw==",
"displayName": "Test User",
"createdAt": 1486324027000,
"lastSignedInAt": 1486324027000
}]
firebase auth:import C:/Users/username/fb.json --hash-algo=MD5 --rounds=0
HMAC_MD5 command for phpbb Hashed password:
firebase auth:import C:/Users/username/fb.json --hash-algo=HMAC_MD5 --hash-key=d3dTNGYyME4=
I don't understand what parameters or setting I am missing. Is there any different setting for MD5 phpBB3 hash password migration?