NUT-XX - Mint Remote signer standard#250
Conversation
|
I still need to add test vectors for the key derivation |
change tittle Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
grammar correction Co-authored-by: lollerfirst <43107113+lollerfirst@users.noreply.github.com>
|
@thesimplekid @vnprc added some features form this #292 pr. should have the details that we discussed |
|
demo showing the spec with 3 signers: remote_signer_demo_compresed_free_convert.mp4 |
| 2. Apply Unicode Normalization Form C (NFC). | ||
| 3. Convert the normalized string to uppercase using Unicode-aware semantics. | ||
|
|
||
| | Input unit | Canonical form | Index | |
There was a problem hiding this comment.
When you say 'index' here, do you mean 'unit reference'? This is essentially the first mention of 'index' in this doc, and I don't know what it is.
(I see many others have commented already. Apologies in advance if I now ask a few questions that have already been answered 😀)
There was a problem hiding this comment.
hi! it just talks about the actual index number that is going to be used later on the derivation path
There was a problem hiding this comment.
hi! it just talks about the actual index number that is going to be used later on the derivation path.
Should probably use better naming
There was a problem hiding this comment.
I think nonce index would be less confusing
There was a problem hiding this comment.
shouldn't we create a "protos" dir?
There was a problem hiding this comment.
Yes, like we do for tests I think.
| ex: sha256sum('auth')[:4] = bdf49c3c = 3186924604 | ||
| 3186924604 % 2^31 = 1039440956. | ||
| - version: uint32 | ||
| - index_of_amount = index of and the amounts of the keyset as if the where laid in an array. ex: [1, 2, 4, 8, 16, ...] |
There was a problem hiding this comment.
this is a bit confusing
There was a problem hiding this comment.
what do you suggest on naming?
There was a problem hiding this comment.
I changed the name and the explanation. I think it's clearer now.
| 2. Apply Unicode Normalization Form C (NFC). | ||
| 3. Convert the normalized string to uppercase using Unicode-aware semantics. | ||
|
|
||
| | Input unit | Canonical form | Index | |
There was a problem hiding this comment.
I think nonce index would be less confusing
| [BIP-39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) mnemonic seedphrase must be used for generation | ||
| of the keysets. |
There was a problem hiding this comment.
| [BIP-39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) mnemonic seedphrase must be used for generation | |
| of the keysets. | |
| [BIP-39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) mnemonic seedphrase must be used for generation of the keysets. |
| NOTE: Mints **MUST** make sure that the unit_reference integer has not been repeated before for a different normalized | ||
| unit string. |
There was a problem hiding this comment.
| NOTE: Mints **MUST** make sure that the unit_reference integer has not been repeated before for a different normalized | |
| unit string. | |
| NOTE: Mints **MUST** make sure that the unit_reference integer has not been repeated before for a different normalized unit string. |
| The Signer can also be configured to have some rate limiting features. Limiting the amount of minting that can happen by | ||
| time or single action. |
There was a problem hiding this comment.
| The Signer can also be configured to have some rate limiting features. Limiting the amount of minting that can happen by | |
| time or single action. | |
| The Signer can also be configured to have some rate limiting features. Limiting the amount of minting that can happen by time or single action. |
This is a standard for Mints to be able to communicate with a remote signer for cryptographic operations as well as keyset information.
Their is also a standard way for signers to derive their keysets from their master key.
The goal of this nut is to better isolate the private keys of the mint and standardize the communications between the signer and mint.
Implementations: