satoshilabs / slips

SatoshiLabs Improvement Proposals
Creative Commons Attribution Share Alike 4.0 International
1.52k stars 1.72k forks source link

Purpose Field for Identities #1210

Open sondreb opened 2 years ago

sondreb commented 2 years ago

I'm working on an implementation of Decentralized Identifiers (DIDs) specification (W3C) and I'm using a custom purpose value to derive keys used for identities.

Is there any interest in a SLIP for such a purpose for key derivation?

Suggestion is somewhat like this:

m / purpose' / identity_type' / identity' / operation / key_index

Currently use purpose 302 and identity type as 616 (picked for the DID Method I'm working on). Another identity system could pick another identity_type value.

I read on one of the other slips: Purpose codes from 10001 to 19999 are reserved for SLIPs.

So either I can write a draft for Purpose Field for Identities or I'll pick a number above these and go with it.

prusnak commented 2 years ago

Hi Sondre!

Sure! Feel free to go ahead and draft SLIP-0302 and use the purpose 302 and identity type 616, so you won't have to change anything.