nut10: Add witness section and warning #359

Open
robwoodgate wants to merge 2 commits from robwoodgate/witness-rejection into main
robwoodgate commented 2026-04-02 14:43:27 +00:00 (Migrated from github.com)

Mints currently treat Proofs with a witness field but a plain (non-NUT-10) secret differently.

Nutshell rejects, CDK ignores the witness.

This PR codifies this behavior with a warning.

Mints currently treat Proofs with a witness field but a plain (non-NUT-10) secret differently. Nutshell rejects, CDK ignores the witness. This PR codifies this behavior with a warning.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin robwoodgate/witness-rejection:robwoodgate/witness-rejection
git switch robwoodgate/witness-rejection

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.

git switch main
git merge --no-ff robwoodgate/witness-rejection
git switch robwoodgate/witness-rejection
git rebase main
git switch main
git merge --ff-only robwoodgate/witness-rejection
git switch robwoodgate/witness-rejection
git rebase main
git switch main
git merge --no-ff robwoodgate/witness-rejection
git switch main
git merge --squash robwoodgate/witness-rejection
git switch main
git merge --ff-only robwoodgate/witness-rejection
git switch main
git merge robwoodgate/witness-rejection
git push origin main
Sign in to join this conversation.
No description provided.