Skip to content

Conversation

@xecdev
Copy link
Collaborator

@xecdev xecdev commented Apr 19, 2025

This PR fixes #49 by adding nonces and user permission check to the functions specified by the WP reviewer, except the Payment_Trigger() function, as other servers use that endpoint and is already secure because we use Ed25519 signature verification. For the later part, I left a comment in the code so that reviewers would be aware. We need to clarify it in the email too.

Test plan:

  • Check the code
  • Install the updated plugin
  • Clear cache, and make sure that Paywall Settings, Customers, and Content page works as intended

@xecdev xecdev requested a review from Klakurka April 19, 2025 15:33
@xecdev xecdev self-assigned this Apr 19, 2025
@xecdev xecdev added the enhancement (behind the scenes) Stuff that users won't see label Apr 19, 2025
@Klakurka Klakurka merged commit 61ef8d6 into master Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement (behind the scenes) Stuff that users won't see

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nonces and User Permissions Needed for Security

3 participants