acquia-sdk-php icon indicating copy to clipboard operation
acquia-sdk-php copied to clipboard

Network call to get credentials not working

Open cpliakas opened this issue 12 years ago • 1 comments

cpliakas avatar Apr 01 '14 21:04 cpliakas

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.

Zlender avatar Jan 13 '16 03:01 Zlender