NUT-21 and NUT-22 matching rules #334
No reviewers
Labels
No labels
breaking change
bug
documentation
enhancement
needs discussion
needs implementation
new nut
ready
wallet-only
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo-admin/nuts!334
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nut21-22-match"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Clarifies
protected_endpointsmatching rules for NUT-21 and NUT-22Looks good. Do you think some test cases would be helpful?
@ -210,11 +210,11 @@ The mint lists each protected endpoint that requires a blind authentication toke"protected_endpoints": [Since we're no longer using regex we should remove the ^.
Thanks for removing the prefix anchor - I overlooked that.
Am happy to add tests, but wasn't sure a prefix match needs much more explanation than the example given?
But am too close to it, so if you think it's open to interpretation, then I will.
EDIT: https://github.com/cashubtc/nuts/pull/334/commits/21a0bd362e610003c98516f045423d475ea1e8a0 adds a couple more examples
LGTM. CDK PR https://github.com/cashubtc/cdk/pull/1586
Cashu-TS PR: https://github.com/cashubtc/nuts/pull/334