-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: nut19 signature on mint request #188
base: main
Are you sure you want to change the base?
Conversation
|
||
## Settings | ||
|
||
The settings for this NUT indicate the support for requiring a signature before minting. They are part of the info response of the mint ([NUT-06][06]) which in this case reads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The settings for this NUT indicate the support for requiring a signature before minting. They are part of the info response of the mint ([NUT-06][06]) which in this case reads | |
The settings for this NUT indicate the support for requiring a signature before minting. They are part of the info response of the mint ([NUT-06](06.md)) which in this case reads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another way how to fix the issue is to add the following at the end of the file:
[06]: 06.md
This seems to be preferred way used in other documents.
@thesimplekid Should we make it clear that wallets should use an ephemeral (one time) key? |
@@ -16,6 +16,7 @@ | |||
| 20005 | Quote is pending | [NUT-04][04], [NUT-05][05] | | |||
| 20006 | Invoice already paid | [NUT-05][05] | | |||
| 20007 | Quote is expired | [NUT-04][04], [NUT-05][05] | | |||
| 20008 | Witness not provided for mint quote | [NUT-19][19] | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need an error for the invalid witness as well.
This NUT defines a protocol extension that enables signature-based authentication for mint quote redemption. When requesting a mint quote, clients can provide a public key. The mint will then require a valid signature from the corresponding secret key before processing the mint.
This is defined as an optional extension to NUT-04 and the intention is to reuse it and make it mandatory for bolt12 and onchain.