Adds optional nip60.signSecret()#1890
Conversation
|
I didn't look into the specifics but in general this sounds like a good idea. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This is kinda already covered by the backup key event; what I do in my implementation is, in addition to the privkey in the 17375, I load all the non-replaceable backup wallet events -- main reason for creating these events is in case a wallet misbehaves and wipes the 17375 we want to have a way to find the old key. I then put all the pubkeys of the privkeys I have in a map and if when I want to redeem a nutzap I check the map for the right privkey. Functionally, this is like "rotating" but there's no |
Thanks @pablof7z - Is that the 37375 addressable event I've seen floating around, or something else? Is there a PR or source I can see how this works? I think, for now, I'll leave this PR as it is then. No sense trying to stuff too many changes in, though it's something that probably should be codified in the future. |
No, the 37375 was my overengineered-multi-wallet support, so basically its deprecated and replaced by 17375. Wallet backup is kind:375: #1834 |
Great solution to the key rotation/backup issue... love it |
|
For nip46 I would just call it 'sign' and let it sign anything. |
No, the goal is to complete Cashu<>Nostr integration in a protocol friendly way, not to open the doors to arbitrary string signing, which is discussed in depth here: #1842 |
|
Rebased to current master for easier merge |
|
Implementations using
|
|
Have rebased to master for easier merge. We have a fair range of apps supporting so far - can we please consider merging? |
822893b to
c5f21a2
Compare
|
Rebased to master for easier merge. |
c5f21a2 to
69b258a
Compare
|
Rebased to master for easier merge |
|
@pablof7z - I understand from Calle that we should be using one proof per proof tag. ie: NOT: This is clarified in this PR too, |
|
I have removed the NIP-61 tweaks from the PR, to make it less of an omnibus. The related changes are covered by: |
|
Rebased to master for easier merge |
The PR clarifies and improves Nostr <---> Cashu interoperability by adding an optional signer signature for NUT-10 well-known secrets to NIP-60, NIP-07 and NIP-46