You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to use $this->config['consumer_secret'] for private key's path, but then $this->config['consumer_secret'] is also used as passphrase and it's not working.
I have two ideas:
there should be one additional private_key attribute in constructor's $config so sign_RSA_SHA1() could use $this->config['private_key']. Maybe $this->config['private_key_passphrase'] also? In my opinion it would be most readable.
sign_RSA_SHA1() could use $this->config['consumer_key'] for private key's path and $this->config['consumer_secret'] for optional passphrase. But it could be misleading.
The text was updated successfully, but these errors were encountered:
Problem is with these lines in
GuzzleHttp\Subscriber\Oauth\Oauth1::sign_RSA_SHA1()
:We have to use
$this->config['consumer_secret']
for private key's path, but then$this->config['consumer_secret']
is also used as passphrase and it's not working.I have two ideas:
private_key
attribute in constructor's$config
sosign_RSA_SHA1()
could use$this->config['private_key']
. Maybe$this->config['private_key_passphrase']
also? In my opinion it would be most readable.sign_RSA_SHA1()
could use$this->config['consumer_key']
for private key's path and$this->config['consumer_secret']
for optional passphrase. But it could be misleading.The text was updated successfully, but these errors were encountered: