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're currently using a double HMAC approach for signature comparison, as that was the only way for us to securely compare HMAC signatures without making it a breaking change, as the hash_equals function we need isn't available until PHP 5.7, and we support PHP 5.5+
When we roll out our next major version we should increase the minimum PHP version to 5.7 or higher, and swap to using hash_equals.
The text was updated successfully, but these errors were encountered:
rbone
changed the title
Using hmac_equals instead of double HMAC approach for signature comparison
Use hmac_equals instead of double HMAC approach for signature comparison
Jan 18, 2017
rbone
changed the title
Use hmac_equals instead of double HMAC approach for signature comparison
Use hash_equals instead of double HMAC approach for signature comparison
Jan 18, 2017
See #28 for what prompted this.
We're currently using a double HMAC approach for signature comparison, as that was the only way for us to securely compare HMAC signatures without making it a breaking change, as the hash_equals function we need isn't available until PHP 5.7, and we support PHP 5.5+
When we roll out our next major version we should increase the minimum PHP version to 5.7 or higher, and swap to using
hash_equals
.The text was updated successfully, but these errors were encountered: