Open cpliakas opened 10 years ago
This is going to be an interesting one. The reason why the call is not working is that password needs to be hashed and settings for hash come from acquia.agent.communication.settings. And with those settings acquia_connector hashes the password using https://api.drupal.org/api/drupal/includes%21password.inc/function/_password_crypt/7 . We would need to move all of that code into this library. I looked at https://github.com/ircmaxell/PHP-PasswordLib but it oesn't support passing in salt which is needed.
This is going to be an interesting one. The reason why the call is not working is that password needs to be hashed and settings for hash come from acquia.agent.communication.settings. And with those settings acquia_connector hashes the password using https://api.drupal.org/api/drupal/includes%21password.inc/function/_password_crypt/7 . We would need to move all of that code into this library. I looked at https://github.com/ircmaxell/PHP-PasswordLib but it oesn't support passing in salt which is needed.