Skip to content

Commit

Permalink
fix warning and note
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Dec 4, 2024
1 parent be440f4 commit 11a0576
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 20.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

This NUT defines signature-based authentication for mint quote redemption. When requesting a mint quote, clients provide a public key. The mint will then require a valid signature from the corresponding secret key to process the mint operation.

> [!CAUTION] > [NUT-04][04] mint quotes without a public key can be minted by anyone who knows the mint quote id without providing a signature.
> [!CAUTION]
> [NUT-04][04] mint quotes without a public key can be minted by anyone who knows the mint quote id without providing a signature.
## Mint quote

Expand All @@ -33,7 +34,8 @@ with the requested `amount`,`unit`, and `description` according to [NUT-04][04].

`pubkey` is the public key that will be required for signature verification during the minting operation. The mint will only mint ecash after receiving a valid signature from the corresponding private key in the subsequent `PostMintRequest`.

> [!IMPORTANT] > **Privacy:** To prevent the mint from being able to link multiple mint quotes, wallets **SHOULD** generate a unique public key for each mint quote request.
> [!IMPORTANT]
> **Privacy:** To prevent the mint from being able to link multiple mint quotes, wallets **SHOULD** generate a unique public key for each mint quote request.
The mint `Bob` then responds with a `PostMintQuoteBolt11Response`:

Expand Down

0 comments on commit 11a0576

Please sign in to comment.