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
So, in the DefaultSignatureValidator.php class, I changed the isValid function to replace the sha1= part of the string and also set the algo parameter to be sha1 and logged it like:
Really excited to find this! Hope you can point out my error.
Mac OS 10.13.6
Laravel framework 5.8.35
Valet server using 'valet share' to create testing URL locally.
I'm testing locally using a github webhook. In webhook-client.php I have the following:
.env entry is (for testing):
Github webhooks send headers to include the signature like this:
So, in the DefaultSignatureValidator.php class, I changed the isValid function to replace the sha1= part of the string and also set the algo parameter to be sha1 and logged it like:
The log file shows that the 2 hashes are clearly different but I can't figure out why.
Here's the section in the log file showing the debug logger trace followed by the error and the top 3 lines in stacktrace.
Scratching my head. Anything you can point out that I might be doing wrong would be greatly appreciated.
The text was updated successfully, but these errors were encountered: