Conversation
Notices
-
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Wednesday, 31-Jan-2024 08:12:22 JST Alex Gleason Nostr crypto idea: HD chains
Accounts could prove that they were generated by another account.
This could be useful for eg verifying that ActivityPub users bridged to Nostr have been generated by the Mostr Bridge. (Currently NIP-05 is used as proof.)
To do it, we'd generate a master keypair for the bridge. To get the pubkey for an ActivityPub user, we'd sha256 the user's ActivityPub ID, and use that as the chain code in an HD wallet of the master pubkey, then derive index 0.
Bridged accounts would include a "custody" tag, like: ["custody", <master-pubkey>, <chain-code>, <index>]
Clients could verify it by initializing an HD wallet with the chain code, and then deriving the index. If it matches the current event's pubkey, and the event's signature is valid, it proves the account was generated by the master account.
For it to be useful, though, the master pubkey would already have to be trusted by some metric. Either because it's followed, or labeled by a different trusted pubkey somehow, or something else like that.
It could be used for more than just bridged accounts. It could be used for account recover purposes, and more.-
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Wednesday, 31-Jan-2024 08:20:20 JST Alex Gleason @97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322 check this -
Embed this notice
Curtis Rock, SkD (curtis@social.teci.world)'s status on Wednesday, 31-Jan-2024 08:44:24 JST Curtis Rock, SkD @alex https://www.gemini.com/cryptopedia/hd-crypto-wallets-hierachichal-deterministic
Alex Gleason likes this.
-
Embed this notice