-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
have a filter to defer signature verification #435
Conversation
but please deactivate ACTIVITYPUB_SIGNATURE_VERIFICATION only for debugging purposes!
I wonder if this should be paired with something like WP_DEBUG_DISPLAY, to make it really obvious that this is active and debug related. |
Good point! |
I changed it to a filter, to also address #554 What do you think @mattwiebe and @mediaformat ? |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Hope it'll help us get to the bottom of some problems.
With the filter, you can defer (bypass) the signature verification based on the request parameters.
Maybe a quick win for #554
Proposed changes:
Other information:
Testing instructions: