fix nut-29 test vector, clarify concatenation rules. #362
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!362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "robwoodgate/nut29-tests"
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?
The NUT-29 test vector was not correctly using NUT-20 message-to-sign rules.
This PR fixes the test vector, clarifies the rules, and adds the intermediate steps for verification (eg message hash)
Note for reviewers:
I confirmed that cashu-ts and cdk both were doing NUT-29 message aggregation correctly. It was only the test vector which was incorrect.
Do they already use these test vectors then or we need to add them probably?
Cashu-ts uses the specific NUT-29 vector (how I found out it was wrong), cdk uses other tests, but not that vector specifically
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.