Service DID key rotation #95
Replies: 4 comments 3 replies
-
Thanks for sharing your thoughts on this architecture @Gozala . We are faced with some similar design challenges, but don't have a well-formed solution yet. I would be interested to hear more about how Fission manages key rotation for service-level stuff. After reading the HackMD, I'm left with the thought: are long-lived delegations across a series of micro-services kind of an anti-pattern? It seems like a long-lived delegation is a special case, and that you want to err on the side of re-creating a short-lived delegation for each meaningful action on state. Does that sound right?
I don't quite follow this. Are you saying that this is a problem when the Service DID has changed, or when the Provider DID was changed? |
Beta Was this translation helpful? Give feedback.
-
Alan, yes, at a very high level and via skims, hearsay, and twice hearing Sam talk about it.
Are you recommending it beyond indicating it’s existence?
…Sent from my iPhone
On Aug 26, 2022, at 3:04 PM, Alan Karp ***@***.***> wrote:
Are you folks familiar with Sam Smith's Keri for dealing with key rotation?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
Good. Every time I hear "key rotation," I want to make sure people have at least considered Keri. I'm not familiar enough with the key rotation problem in UCAN to know if Keri is the right solution, but I think it's worth a look. |
Beta Was this translation helpful? Give feedback.
-
@alanhkarp yes, thanks for sharing. I have looked at Keri before but generally we need to look a bit deeper. This issue is specifically for services/servers with DIDs, which I don't think Keri really envisions. The meta challenge here (not for this issue) is broadly having a "bundle of DIDs" (from devices, etc.) that represent an account. |
Beta Was this translation helpful? Give feedback.
-
Hey Folks,
In dag.house we've been thinking how to rotate service keys. I've captured some of my thoughts in regards to proposed key custody based solutions but ultimately we failed to come up with a solution that seems right. Before I go into details here is some wants driving us:
However if client delegates invocation to Service DID provider that picks it can no longer delegate some capabilities from it to other services because it will have a different provider DID.
We have also considered use of did:dns or did:web identifiers for Service DID instead. However it introduces additional complexity and indirection while does not provide a great solution.
Is this something you've though about (If so please share) ?
Beta Was this translation helpful? Give feedback.
All reactions