Subkeys spec just dropped

https://github.com/nostr-protocol/nips/blob/d31a1490537db439dd853269781955f6a0cdf78e/102.md

Reply to this note

Please Login to reply.

Discussion

You mean proposed spec right? Doesn’t look merged to me.

Quoting:

HD keys (BIP-32, BIP-39, BIP-44) provide a means of creating new key pairs from a parent in such a way that the new pubkey can be verified to be a child of the parent's pubkey.

This is nice 💯

Sorta kinda like an xpub?! I just looked it over and doesn’t this just create bigger problems if the user’s nostr key pair is compromised?

I'm still reading through it. I'd prefer open ended subkeys, but maybe I can live with this. Need to figure out the details. Could be like an xpub, but I thought that xpub is longer than an npub. Need to refresh my memory, there.

The xpub might be a longer address but I thought the only difference was the prefix. The issue is the users’ original key pairs shouldn’t be used as the x pub it should be underneath. I understand the problem though many users already have a key pair and don’t want to start over.

Yeah, definitely dont want to start over. Can an xpub be deterministically generated from an nsec?

That sir is above my pay grade 😂

This looks interesting thanks for sharing