Post
Exploring key/pair derivation on some nsec/npub concepts that would allow some pretty flexible use cases and lead to some helpful nips that could improve on the current basic key-pair. Preview sketches attached. PROGRESS: ✅ Initial thoughts for developing use cases. 🟩 define the secure key derivation method. 🟩 Write up a Nostr Improvement Proposal (NIP) draft. 🟩 Share sketches and ideas with the Nostr community for feedback. 🟩 Partner with dev on application to explore isolated user-friendly key mgmt implementation. NSEC - Nostr Secret Key. NPUB - Nostr Public Key. NSUB - Subordinate NSEC with revokability. A unique NSEC derived from an NSEC that generates the same NPUB as originating NSEC. MSEC - Multi Secret Key. An NSEC derived from an NSEC that results in a unique NPUB. MPUB - Multi Public Key. NSEC derived NPUB series to have multiple NPUBs on an NSEC.
0
0
You can't in general derive two different NPUBs from the same NSEC, or have two different NSECs for the same NPUB. There might be high order reflections/overrlaps, but they end up being mathematically equivalent. For example, these two NSECs are the same: 3501454135014541350145413501453fefb02227e449e57cf4d3a3ce05378683 cafebabecafebabecafebabecafebabecafebabecafebabecafebabecafebabe But most nsecs won't have a reflection. IMHO if nostr is to move to a masterkey-subkey situation, we should use that opportunity to allow for different kinds of keys and different cryptosystems. I want an ed25519 device key issued by my master nsec (and if nostr doesn't support it I don't care because I can still use it in my own projects). Ideally I'd want an ed25519 master key but I predict that nostr won't move in that direction because of the "one way" rule. Also, I want my current keypair to be a device key under a master key that doesn't even exist yet. Because everybody already knows me by this keypair. Clearly it cannot be derived from the future master key. For both of these reasons, I don't think deriving device keys from a master key is going to work. I think they should be independent and simply one signs the other.
0
0