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
Use a more explicit signature verification (#1078)
* Use a more explicit signature verification
This is a proposal to use the `permission_callback`, instead of a general hook, to verify signatures.
The advantage is, that it is easier to enable/disable verification for specific endpoints this way.
See #1077
* phpcs fix
* fix test
* ignore this for now
* changelog
* keep the old error and change the function name to be more desciptive
props @jeherve
* add some phpdoc
props @jeherve
* verify actor endpoints
* no need to mention `activitypub` here
* rename functions
* Update includes/rest/class-server.php
Co-authored-by: Konstantin Obenland <[email protected]>
* Update includes/rest/class-server.php
Co-authored-by: Konstantin Obenland <[email protected]>
* messed up search/replace
* one last change
* add some checks to prevent PHP warnings
* add integration test
* fix phpcs
---------
Co-authored-by: Konstantin Obenland <[email protected]>
0 commit comments