decentralized-identity / ion-sdk

TypeScript SDK for ION
Apache License 2.0
30 stars 14 forks source link

Does update operation support nonce for the update public key #25

Open zkwzk opened 2 years ago

zkwzk commented 2 years ago

hello ION-SDK team,

According to the https://identity.foundation/sidetree/spec/#jwk-nonce, is suggested we can implement a nonce that will introduce the randomness to the update commitment, so I'm wondering whether there is any implementation already support this nonce feature. Because we want to keep using the same public key to reduce the key management efforts.

thehenrytsai commented 2 years ago

No, it currently doesn't support it, but if the SDK does support it, don't you need to then implement the management of the nonce thus back to square one?

Just trying to understand and prioritize this feature ask accordingly!

zkwzk commented 2 years ago

hello @thehenrytsai , our use case is we will help user issue the DID, but we are expecting only maintain one restore key pair for all of the dids we issued, and for each of the user we just maintain a nonce for them, should not be very high priority