[ad_1] <br><div><p><em>That is an opinion editorial by Shinobi, a self-taught educator within the Bitcoin house and tech-oriented Bitcoin podcast host.</em></p><p>I recommend, earlier than studying this, that you just learn the prior article I wrote explaining what Nostr is and the way it works at a excessive degree. It's best to then have a good suggestion of the core design of the system at that time, so now let's check out seemingly issues which are going to happen because it grows in adoption. With the platform turning into a well-liked one for the Bitcoin neighborhood, these issues are ones to concentrate on.</p><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-b not-size-c not-size-d" data-ad-group="in_content-0"/><p>As I mentioned within the prior article, consumer public/personal key pairs are integral to how Nostr works as a protocol. There aren't any usernames, or any sort of identifiers {that a} relay server is accountable for, to affiliate to particular person customers. It's merely these customers' keys which are fully underneath their management. </p><p>This features as a decent binding between the precise consumer and the way they're recognized by others that forestalls any relay server from unbinding these two issues, i.e., giving somebody's identifier to a different consumer. This solves one of many largest basic issues of platforms used for communication between folks: the shortage of management over customers’ personal identities. However it additionally introduces the entire issues of key administration that somebody possessing a non-public key runs into. Keys will be misplaced and keys will be compromised and if such an occasion have been to happen, customers have nobody to go to for help, identical to with Bitcoin. There isn't a buyer help to get well something. You lose it, that is it. </p><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-c" data-ad-group="in_content-0"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-d" data-ad-group="in_content-0"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-c not-size-d" data-ad-group="in_content-0"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-b not-size-c not-size-d" data-ad-group="in_content-1"/><p>That is going to inevitably necessitate a scheme for customers to rotate from one keypair to a different in a method that's verifiable and discoverable for different customers that they work together with by means of the protocol. All the protocol is predicated round proving that an occasion got here from a selected consumer (identification key), so all of these ensures exit the window as soon as somebody's keys are compromised. </p><p>How do you deal with that? Simply go test their Twitter account? Effectively, then that is not a really decentralized system, in the end, in case you require utilizing a centralized platform the place they aren't accountable for their identification to confirm their Nostr identification. </p><p>Produce other customers attest to the legitimacy of a brand new key? That does not tackle conditions resembling mass key compromises, or not figuring out anybody near them nicely sufficient to belief their attestation. </p><p>Nostr wants an precise cryptographic scheme tying the rotation of 1 key to a different. There's a proposal from developer fiatjaf for a primary scheme that would probably remedy this problem. The fundamental thought can be to take a protracted set of addresses derived from a single grasp seed, and create a set of "tweaked" keys much like how Taproot bushes are dedicated to a Bitcoin key. Taproot takes the Merkle tree root of the Taproot tree and "provides" it to the general public key to create a brand new public key. This may be replicated by including that Merkle tree root to the personal key with a purpose to attain the matching personal key for the brand new public key. Fiatjaf's thought is to chain commitments going backwards from the tip to the start so that every tweaked key would truly include a proof that the following tweaked key was used to create it. </p><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-c" data-ad-group="in_content-1"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-d" data-ad-group="in_content-1"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-c not-size-d" data-ad-group="in_content-1"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-b not-size-c not-size-d" data-ad-group="in_content-2"/><p>So, think about beginning with key Z, the final one within the chain. You'd tweak this with one thing, after which go backwards and create a tweaked model of key Y utilizing the tweaked Z key (Z' + Y = Y'). From right here you'd take Y' after which use it to tweak X (Y' + X = X'). You'd do that all the way in which again to key A, to get A', and from there, start utilizing that key. When it's compromised, the consumer can broadcast an occasion containing the untweaked key A and tweaked key B'. This is able to include the entire information wanted to indicate B' was used to generate A', and customers may instantly cease following A' and observe B' as a substitute. They might know definitively that B' is that consumer's subsequent key and to observe that as a substitute. </p><p>This proposal nonetheless has some issues although. First, it's a must to generate the entire keys you'd ever use forward of time and it has no approach to rotate to a complete new set of keys. This could possibly be handled by committing to a grasp key on this scheme that would notarize such rotations, or just producing a really giant set of keys from the start. Both path can be a sound course to take, however in the end would require maintaining a root key or key materials secure and solely exposing particular person hotkeys to Nostr purchasers. </p><p>This scheme, nonetheless, does nothing to guard customers or supply a mechanism for identification restoration within the occasion that the foundation key materials is misplaced or is itself compromised. Now, this is not to say that there isn't a profit to fiatjaf's scheme, there completely is, however it's vital to make the purpose that no answer solves each downside. </p><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-c" data-ad-group="in_content-2"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-d" data-ad-group="in_content-2"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-c not-size-d" data-ad-group="in_content-2"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-b not-size-c not-size-d" data-ad-group="in_content-3"/><p>To hold forth a bit on potential options right here, think about as a substitute of a series of tweaked keys like he proposes, {that a} key's tweaked with a grasp chilly key that should even be used to signal the occasion rotating from one key to a different. You might have key A', which is derived by including A and M (the grasp key), and the rotation occasion can be A, M and B' (generated by including B and M) with a signature from M. M could possibly be a multisig threshold key — two of three, three of 5, and so on. This might probably add redundancy towards loss in addition to present a safe mechanism for key rotation. This opens the door as nicely to utilizing companies to assist in restoration, or spreading a few of these keys round to trusted pals. It affords the entire identical flexibility as multisig does with Bitcoin itself. </p><p>NIP26 can be a proposal that could possibly be very helpful in dealing with this downside. This specifies a protocol extension to occasions permitting a signature from one key to authorize one other key to publish occasions on its behalf. The "token," or signature proof of delegation, would then be included in all occasions posted by the second public key on the primary's behalf. It will probably even be time restricted in order that delegation tokens mechanically expire and need to be renewed. </p><p>In the end, nonetheless it's solved, this downside <em>has</em> to be solved for Nostr in the long run. A protocol based mostly totally on public/personal key pairs getting used as identities can not acquire traction and adoption if the integrity of these identities can't be protected and maintained for customers. That finally will boil right down to having to continually use out-of-band and centralized platforms to confirm new keys and coordinate folks following your new identification when one thing is misplaced or compromised, and at that time, these different platforms turn out to be a way to sow confusion and have interaction in censorship. </p><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-c" data-ad-group="in_content-3"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-b not-size-d" data-ad-group="in_content-3"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-a not-size-c not-size-d" data-ad-group="in_content-3"/><aside class="m-in-content-ad-row l-inline mm-in-content-ad-row--in-content not-size-b not-size-c not-size-d" data-ad-group="in_content-4"/><p>Problems with key administration and safety are massive issues with a really giant design house filled with commerce offs and ache factors, however they're issues which are going to need to be solved inside the context of Nostr for it to work. In my subsequent article, I'll summarize some points that I see cropping up with regard to relay server structure and scaling points that Nostr builders must confront given the fundamental information constructions that Nostr is constructed on. </p><p>For anybody studying and questioning why I have not talked about decentralized identifiers (DIDs): Sure, that could be a potential answer to those issues that, for my part, is kind of complete. Nevertheless, Nostr builders appear very hesitant to combine DIDs into the protocol or purchasers because of the truth that it could create exterior dependencies exterior of the Nostr protocol. In case you are not conversant in how DIDs work on a technical degree and have an interest, this text by Stage 39 is a really nicely written summarization of how they work. </p><p><em>It is a visitor publish by Shinobi. Opinions expressed are totally their very own and don't essentially mirror these of BTC Inc or Bitcoin Journal.</em></p></div> <br>[ad_2] <br><a href="https://news.google.com/__i/rss/rd/articles/CBMiSWh0dHBzOi8vYml0Y29pbm1hZ2F6aW5lLmNvbS90ZWNobmljYWwvc29sdmluZy1ub3N0ci1rZXktbWFuYWdlbWVudC1pc3N1ZXPSAU5odHRwczovL2JpdGNvaW5tYWdhemluZS5jb20vLmFtcC90ZWNobmljYWwvc29sdmluZy1ub3N0ci1rZXktbWFuYWdlbWVudC1pc3N1ZXM?oc=5">Source link </a>