0:00 My name is Sam Smith and my parents knew that I would be identity challenged
0:06 so they gave me a name I couldn't forget.
0:13 I'm co-chair of the KERI Foundation. It is a organization that is promulgating the
0:21 KERI and ACDC standards. There's a KERI suite of protocols includes also a
0:27 standard called CESER. The trust of IP foundation is where those are being
0:32 incubated. They are official specs of the Linux foundation as of January. And then
0:38 once they pass that process, they're now starting to climb the hill of IETF
0:45 standardization, which you'll take whatever time it takes. These are open
0:51 standards. Well, several open source
0:55 libraries of various parts that implement the different specs. Some of the
1:02 presentations that you've seen, they didn't bother to tell you that under the
1:05 hood they were using KERI and ACDCs. The Veridian wallet is all based on the stuff
1:10 you know, KERI and ACDCs. The demo for health KERI is based on that. That's kind
1:15 of more obvious. A few others. But these have been in development for quite some
1:22 time and the KERI Foundation has been developing new versions of the
1:29 libraries that have some of the citizen -based identity. Originally KERI ACDC's
1:35 the first big adoption was GLEIF, the Global Legal Entity Identifier Foundation,
1:40 which is primarily organizational identity. So a lot of the tooling was
1:44 focused on organizational identity and now we're adding tooling for citizen-based
1:51 identity in the state of Utah and SEDI. If this will be a
1:58 fairly technical session, but don't hesitate to ask questions. I'd rather get
2:06 interrupted and answer questions than have it not make any sense. Are we good to
2:13 go? Caleb, is it going? Yep. Okay, great. I'm going to talk a little bit about
2:18 using ACDCs. ACDC stands for Authentic Chain Data Container. Now, we've heard a
2:25 lot today about verifiable credentials. ACDCs intentionally didn't
2:30 use the term verifiable credential because they're more general than a verifiable
2:34 credential. An authentic chain data container can carry any information,
2:39 right? And a credential is a type of permissioning system. Like I'm going to
2:43 present a credential to allow me to gain access to something or a credential might
2:47 be an entitlement. But an ACDC could just have evidence. It could have
2:52 whatever's in there. So it's a more generic approach.
2:58 From a technical point of view, an ACDC is a graph fragment that has edges which are
3:05 normative property. And that's one of the superpowers of
3:09 ACDCs is that early on we put edges in them as a normative property. And we'll
3:13 talk about what edges allow you to do. And then there's a vertex, the node that has
3:18 metadata properties and the node properties which you would call maybe
3:22 claims, you know, attributes, but these are just the properties. What
3:30 you use them for is dependent on the application. You can take a bunch of ACDCs
3:37 and graph them together. So, you can link them in a graph where each ACDC is a
3:45 fragment of the graph. So, now what you have is a graph of
3:53 containers where the source of each container can be different. So this is the
3:58 hardest thing to get for a lot of people get their mind around. This graph isn't
4:02 sourced from one issuer. Every node in this graph could be
4:08 sourced from a completely different issuer. So that means you can build and
4:13 construct data structures that span trust domains. Think of each one of these is
4:19 coming from a different trust domain. Now you have a completely verifiable graph of
4:24 information that spans trust domains. Trust domains aren't a barrier to being
4:28 able to send around verifiable data. That's like a superpower of ACDCs.
4:35 You've heard the term durable, right? Perpetually verifiable issuances, they're
4:41 durable. That is a core feature of ACDCs. That was a hard problem we had to solve,
4:47 right? Each fragment is separately often decatable. That means it comes from a
4:51 different source. Each one could be authenticated differently. So you don't
4:54 put them in a big glob, authenticate the whole glob from a single issuer. You
4:59 authenticate everything in every chain and in every part of the graph. The important
5:05 thing is that when you do it, model it this way, we can now do high fidelity
5:11 modeling of real world authority structures. That's the hard problem. If I
5:15 want to model how the real world works, it doesn't work the way most people build
5:20 verifiable credentials or verifiable issuances. Most identity is not does not
5:27 have high fidelity modeling. If you go to an organization, even an organization as
5:33 small as a family, right? Is there a hierarchy of authority in something as
5:40 small as a family unit? Now, some family units probably not, right? But there is.
5:46 In the human world, everything has some aspect of this delegable
5:51 authority. Are we short chairs? Here's a… – I just didn't want to walk in front of
5:55 your camera. – Well, if you don't mind being videotaped, you can walk in front of
5:59 it. Okay. – All right. All right. We went out of our way to model that.
6:06 So, that's why ACDCs exist. It's not because we didn't like other
6:11 structures. It's because the other structures made no meaningful effort
6:18 to model delegable authority structures. And so we said, well, there's
6:24 a need for that. So we're going to build a standard that does that as a first order
6:28 property. I have this mnemonic for authorization because one of the things
6:33 you can do with this is you can build authorizations. And these authorizations
6:37 meet the model of what most people want to do for agentic delegation, right?
6:43 Delegation, whether I'm delegating to humans or delegating to agents or
6:48 delegated to humans, to humans, to humans, to agents, to agents, to agents. As far as
6:52 an ACDC is concerned, it's the same structure. It's just what goes in each of
6:57 the nodes that is different. But the overall structure doesn't change. So the
7:01 tooling doesn't really change. Agents have higher velocity. So that affects something
7:05 in your tooling, but that's the main difference. The talk from Sarah from
7:10 NIST where she had that diagram. One of the things on there was delegation. She
7:14 had a few other things. You'll see some of those show up in this ACDC support
7:20 delegable, attenuable, agribable, auditable, revocable, transferable
7:25 authorizations. All of those properties or some combination can be had because we
7:33 didn't leave anything out. So it's a complete approach to solving the problem
7:37 of modeling real-world authority structures. And that's why some people
7:43 say, well, that seems really complicated. Well, if you're a technical person and you
7:46 actually tried to solve those problems, it would be complicated, but once you solve
7:51 them, then it's really just up to the UI guys to make it so you don't see that.
7:56 Like the RIDian demo, right? The RIDian demo did a really good job of showing
8:00 mutual authentication with a lot of delegable stuff going on in there and you
8:05 didn't see it as the user, right? But it was going on under the hood. So it can
8:10 happen. One of the things that I think Chris mentioned, Brandwell is about a
8:17 public utility, a digital identity or digital public utility, right? Well,
8:24 public utility is necessary because if I want to be able to operate in a
8:31 decentralized world where I don't have a central single trust domain, I have to
8:38 have a way to solve the problems of moving data and trust across trust domains. And
8:44 that requires some form of infrastructure because that means you have to have
8:48 something that people can look to. So we want to do is build infrastructure that is
8:53 at has the lowest possible cost floor. I spent years working in the blockchain
8:58 space building identity on blockchains and it has problems. One of the problems is
9:05 the cost floor is really high, right? You put anything on blockchain, every
9:09 transaction is really expensive.
9:14 Yeah. But if you look at web, the web has pushed the cost floor down to fractions,
9:20 small fractions of a penny per transaction. Right? And it's just going to
9:24 keep going down. Right? By design, we want this infrastructure to have that kind
9:29 of cost floor, but we do have to have infrastructure. That means somebody has to
9:34 stand up the infrastructure. All right? So it has to be monetized in some
9:38 way. Right? And there are different strategies for monetizing that. Phil
9:43 Windley, he's here, but I don't see him in the audience. He wrote a couple of blog
9:47 posts and a couple of presentations about one of the adoption problems of digital
9:52 identity has been that no one wanted to pay for identity assurance. And so the
9:59 people that benefit the most from identity assurance are the us, right? Not the
10:05 organizations, but everybody just wants their digital identity for free. But if
10:11 the state pays for a strong identity assurance, then that cost adoption barrier
10:17 goes away. Now you've sort of primed the pump, you spun up the flywheel sort of
10:23 an effect. The state and Chris is here so I don't want to put words in his mouth.
10:29 The state's going to pay for identity assurance for SEDI, right? Yes. We let
10:37 people to sum and take one or two steps ahead of the But we do know new models are
10:44 needed and there is a session here at the summit on utility and how do we take this?
10:49 – We also don't want it to be sold. – Yes. – If the state kicks it off and maintains
10:54 it, we don't want somebody to say, well, we'll just sell it off. – Yeah, we want a
10:59 vibrant market of multiple suppliers. – What I will say is identity is going to
11:04 solve hundreds of billions of dollars. We just talked about fraud, but the things
11:09 that going to open up. If you view it as critical public infrastructure, usually
11:13 the government plays a role to maintain that because if you privatize critical
11:17 public infrastructure, especially identity, it has essentially it's
11:24 inelastic and we need trusted identity. So the risk is people saying, well, let's
11:29 extract as much value as possible and we don't want that. So that's why governments
11:33 can play the role of the utility to say, well, we don't want this extracted, but
11:36 it's where the public's good. If you figure out the right government models for
11:40 it, you can get the best of all worlds and you can still have a rise for five or
11:44 three market where people make money, but it's not exploding.
11:49 That's great. Yes. I don't want to go into the economics too much, but I'm
11:55 just pointing out there is infrastructure. Witnesses, watchers and a watcher network
12:00 are essential and wallets. So you see a lot of wallets. You don't see these other
12:03 ones that are under the hood. There is a demo in the demo alley of KERI Foundation
12:08 engineers owners. They can show you the a full set of infrastructure running in the
12:14 cloud. If you want to see it running in the cloud, you can look at
12:18 strings scrolling by on terminals, but it's running in the cloud. And it's all
12:26 open source. So if somebody wants to stand up KERI infrastructure, they can just go
12:30 download the code and we'll help you get it set up. The other KERI infrastructure
12:37 for revocable credentials is registrars and observers. And these are
12:46 split so that the issuer doesn't have visibility to the points of validation.
12:51 How the credentials are being used. So this gives herd privacy to solve the
12:57 privacy point there. And there's a couple of and we also have something called bulk
13:03 issuance and we're using sparse Merkle trees in there as well for managing that.
13:07 I'm going to this is where I'm going to start to be a little technical.
13:15 If you can't read the labels on the arrows, then you know what this is. All
13:22 right. Anyway, one of the unique features of the KERI ACDC design is we're
13:29 trying to manage the trade space of having issuances that have durability, which is
13:41 really difficult to do, at the same time protect privacy. The way we do that
13:48 with revocable credentials. If you take those three things and you put them
13:54 together, usually you get two of the three, but you don't get all three, right?
13:59 So we're able to get all three to a high degree because of what we've done.
14:04 Normally if you have a revocation registry, you lose privacy.
14:08 because everything in the revocation registry is correlatable. And so now
14:13 vendors can now share information that they just say, well, you know, I did this
14:18 and here you go look at this. So you have vendor linkability because the
14:21 revocation registry. We solved that problem with something called a blindable
14:25 registry. And the way it works is that the issuer issues an ACDC to an issuee.
14:32 You've seen this in the demo. They do a presentation to a verifier. The verifier
14:37 goes to an observer to look up the state of the registry. The observer gets a bulk
14:43 update. So the registrar itself doesn't see what the observer is giving out, but
14:51 the observer can get the latest state of the ACDC and this state is actually
14:57 blinded. So the only way the verifier knows the state is the issuee unblinds it
15:02 at the presentation and then it can be re -blinded after the presentation, which
15:07 means that in most revocation registries, once you unblind it, it's unblinded
15:11 forever. And so that means that if for example, if I go, let's say I have a
15:17 credential that is my transcript, right? And I go to a job interview and they want
15:25 my transcript. So I present my transcript. No, not my transcript, my work
15:32 history. Like I work for somebody, right? And so I prove that I'm an employee and
15:38 then they don't hire me, right? But now they know the state of my employee status
15:46 because I presented it. And if it gets revoked because I leave employment, they
15:52 can then go, oh, that person just left employment and we actually wanted to hire
15:56 him, but the timing wasn't right. But now we know that he's looking for a job
16:00 because he just lost his last employment. So we'll go search him out, right?
16:05 Revocation registries these become forward privacy problems, right? But by having a
16:11 blinded registry that can be re-blinded after the presentation, they don't know
16:16 what the current state of my ACDC is after the presentation. I have what we call
16:25 a perfect forward privacy. We made that term up just because it sounded good,
16:29 right? But it's analogous to what's called perfect forward secrecy in encryption.
16:37 The idea is that I've got this key event log. I'm going to explain how ACDCs are
16:44 durable. Now you saw an example, a simplified example of a verifiable
16:49 credential that has a signature attached to it. Now a signature is only valid for
16:56 the crypto period of the issuer keys that issued it. Imagine that I've got this
17:02 key pair and I use the private key to create a signature and I attach it to a
17:06 credential and I give it to you. Then I rotate my keys. Why would I have rotated
17:11 my keys? Anybody have a good reason why someone would rotate their keys? – You
17:16 lost your phone. – Okay. That's one reason. – Good hygiene on the issue. –
17:21 Good hygiene. – Keys were compromised. – Keys were compromised. As a verifier, do I
17:26 know that it rotated because he lost his keys or because the keys were compromised?
17:30 – I don't know. – Okay. As a verifier, if I want to protect myself from fraud,
17:34 what do I have to soon when the keys are rotated? – Compromised. – That they've
17:38 been compromised. That's the only safe policy. That means the signature is no
17:43 good anymore. Which means that digital signatures, unlike wet signatures, are
17:49 like signing and disappearing ink. And that ink disappears the minute you rotate
17:54 your keys. Imagine that you've issued a million ACDCs, a million credentials of
18:00 the world, and all you did was sign them. And then the issuer rotates their keys
18:04 after 18 months. good hygiene according to NIST special publication, right? 857-1.
18:10 Part revision 5.
18:17 I don't remember the paragraph. It's 50 pages. It's a long document. Anyway, so
18:27 what happens now is that I've effectively by rotating my keys invalidated all
18:34 million issuances. What happens now is I have a catastrophe because now what if
18:39 those were driver's licenses and I just invalidated everybody's driver's license?
18:44 What would happen to transportation? Right? The idea that you can use a
18:51 signature as a way to provide a verifiable credential means that it's really only
18:57 good for ephemeral use cases where the likelihood that you're going to rotate
19:03 your keys in that timeframe is vanishingly small, right? You see this like in X509
19:12 certificates. The current best practice is that we're eventually going to be forcing
19:18 everybody that's a certificate authority that's using X509s to rotate their keys
19:23 every 45 days. Okay, so every X509 on the planet for web is going to get a churn.
19:33 every 45 days, right? – I think that's going down. – It's going to go below 45? –
19:38 I think it'll – Yeah, well, the cyber AI threat is putting downward pressure on key
19:43 on crypto key periods, right? If you say that a year is reasonable today, I
19:49 can't hazard what it's going to what's going to be reasonable in 10 years with
19:52 cyber AI threats. So we have to have a way to issue things that are durable that
19:59 survive key rotations. And that's what, when we say perpetual or
20:03 durable issuances, we have a mechanism for that. The mechanism we use is a key
20:09 event log and the state in the registry. We talked about the blindable state
20:13 registry, but the main purpose of the registry, even if it's not blindable, is
20:18 to make the issuance perpetually verifiable. I could either anchor the
20:24 issuance directly in my key event log or I could anchor a state registry event in the
20:30 key event log. It doesn't matter. The fact that it's anchored in some way means that
20:36 now when I rotate my keys, the seal in my key event log is still there despite the
20:41 key rotation, which means the verifier could still find it and then go, oh, yeah,
20:45 it was validly issued when the keys were not rotated. So it's still valid today. It
20:52 doesn't matter what happened. And so the KERI protocol is all about managing this
20:57 thing called a key event log. And so it feels like a blockchain technically under
21:04 the hood. It's a little bit of a blockchain, but it's a blockchain per
21:07 identifier that each individual controls what isn't controlled on a shared
21:13 distributed consensus ledger with this high cost floor. It's a really low cost
21:17 floor. So that's the innovation of those protocols. Was there a question? What?
21:27 Oh, she sneezed. Okay. Okay. One of the things when you have these registries that
21:33 you can do is you can do something else that's unique to this technology. User
21:38 impersonation fraud detection. If you think about it, we've been talking about
21:45 the issuer having their keys compromised, right? And the issuer doesn't want to be
21:50 impersonated, right? So if they can detect that their keys have been compromised,
21:54 they're going to rotate their keys and manage that. But what about you the user
21:59 that has a credential in your wallet and you got attacked and you made a mistake
22:07 and it's really hard. You know, private keys are much harder to phish
22:12 right they're relatively phish resistant but there are still ways that could happen
22:16 I mean if you talk to Steve McCown he can say well you know pretty much every cell
22:21 phone is hackable so anything that's stored on a cell phone potentially
22:26 won't survive, so you have to worry about that, right?
22:31 That's a side channel attack. Let's say that your keys got compromised, right? So
22:38 what we have is the user themselves can have a presentation registry. So it's not
22:42 just the issuer has a registry for the state, but the act of presenting can be
22:46 anchored in the user's KEL, not the issuer's KEL. And that means that a
22:52 verifier has to see that anchor before they'll accept the credential. And what
22:57 that does is it means that a fraudster who is presenting your
23:02 credentials with your compromised keys is detectable by you, the user. And when you
23:07 see a presentation that you didn't present, then you know your keys have been
23:11 compromised and you can rotate them and recover. So you limit the timeframe over
23:16 which a damage can happen. Does anybody know what the average time to detect a
23:21 breach is as of the end of 2025? I haven't seen the report for 2026. 48 hours. Huh? I
23:27 was joking negative 48 hours. It's six months. What's the average time to contain
23:34 a breach? Three what? Three months. So an attacker has nine months to exploit,
23:44 right? On average. That's the industry standard. What if we could change that
23:50 detection time from six months down to six minutes or six hours? How much harm would
23:56 go out of the system? Well, that's what KERI provides. It provides the detection
24:02 mechanism that is equivalent to network latency and the time that it takes for you
24:07 to respond to recover from it. So that's a fantastic security property. And so any
24:14 issuer at a state level, I forgot to ask what my audience looked like. You got too
24:20 many people, but how many people here are from states? States? Okay, fair
24:25 number. As a representative of a state, do you want you as a state to be
24:32 impersonated by attackers? Right? You I mean you're like, of course not, right?
24:39 But if you adopt a technology that makes it so that you can't detect that you've
24:46 been impersonated, is that a problem for you? Okay, so what is on the priority
24:53 list? should detectability of compromise be near the top, right? And is six months
24:58 in my book isn't detectability. Six months is the attacker said, well, we've
25:04 exploited it all that we can. We're now going to tell the world that we did this
25:07 to get cred so that we can charge more for our next attack, right? That's not
25:11 detectability by you, the exploited. That's their, them just what do you call
25:19 it? They're just sort of So they're advertising. Yeah, they're advertising at
25:23 your expense, right? Same thing. The issuee has their own key event log and
25:32 they have their own registry for presentations and all of the presentations
25:36 could share one registry because they're not it's just anchoring the presentations.
25:40 It's not managing state of the ACDC. That's in the issuer log. All right. We
25:45 have a KERI Foundation SEDI implementation documentation guide draft. It's now about
25:52 150 pages. But in that draft, I'm going to go through what are proposed ACDCs that
26:00 satisfy the SEDI requirements. And so one of the first things
26:08 is a delegation change. So the root of trust is the state. And that is like some
26:16 set of people at the state that are the Root of Trust. And I don't know who's
26:21 going to be in that, but it might be the governor and the CIO and the CTO and a few
26:28 other people. I don't know who's in that, right? Chris, do you know? I
26:33 respect my email. Oh, okay. Who's going to be? Do you know who's
26:40 going to be the signers on the Root of Trust? – Oh, it's an
26:44 interesting discussion. I'm going to put this out here. This is where it gets
26:47 really interesting. What's the ceremony we're going to have in government
26:51 to transition, how we elect people and then the authority. Because as we move to
26:56 technology, like the concept of authority is important. The people elect officials
27:00 and then they have authority from us to represent us. But we haven't built
27:04 technology that way. We've created tons of silos where every entity is their own
27:08 root of trust. And so how we design this or who are the people that can sign this
27:12 and maintain the keys and rotate, we need to think hard of what does this look like
27:16 in a constitutional republic because we're essentially saying here's the root of
27:20 authority and this should be really important like when a new governor comes
27:24 in or a new whoever it is comes in there's a rotation that needs to occur and this is
27:29 a new ceremony we're creating in government for this new type of digital
27:33 world. I'm not going to say who's going to be in it. This is very important.
27:37 – But it's a policy discussion and it hasn't been decided. But this is modeling real
27:42 world authority structures, right? When you say who has signing authority for the
27:46 state of Utah, if you say not your keys, not your identity. If an IT person holds
27:54 the keys for the state of Utah, the state of Utah is run by that IT person, not the
27:59 governor, right? You've given sign-in authority to the IT person. So you have
28:04 this problem of you go, well, politicians shouldn't be managing keys, right?
28:11 Everybody's going, what is he? There's no way that's not going to happen, right?
28:16 The reason you use a delegation chain is so that you can push away the friction.
28:23 How often did these guys ever actually have to use their keys?
28:28 Well, if you're following best practices, that might be once every two years you do
28:33 a rotation. These guys here might be doing stuff with their keys like, you know,
28:40 every week or daily. These guys here definitely, you know, daily hourly, right?
28:45 The more delegation levels you have, the more you can push the work down at the
28:50 lower levels. But it's the same root of trust. There's one root of trust.
28:54 Everything verifies back to that root of trust. So the ultimate control rests in
28:59 the root of trust. And I know the president of the United States doesn't
29:02 know how to actually type in the codes on the football, right? There's somebody
29:06 walking around that's going to tell him how to do it, but only he can do it,
29:11 right? So you can still manage the fact that politicians, you know, by virtue of
29:16 being elected are the only ones with signing authority and they can still
29:20 manage private keys. Yeah. – This is not just about identity. Think of the record
29:26 aspect. We have created government where every entity has just been creating their
29:31 own records and now they're creating digital records. And I can tell you these
29:35 entities have not considered the durability concept and also the authority
29:39 concept. We have so separated sometimes the processes in government from the
29:44 elected authority and the legislators in the different branches and there's a
29:48 unique opportunity here to get the right structure so the keys, the authority, the
29:52 signatures, the trust represents what government's ability to play, what the
29:56 processes and the data do as well. But every record you have in government, it
30:00 should have signatures and it should be signed and that has a moved authority and
30:04 it needs to be durable because some of these need to last centuries for property
30:08 records and things like that. So, what we design here is critical for what's going
30:13 to be coming and the attacks that are going to be coming that want to break
30:16 trust. They want to compromise these records. They want to in your systems.
30:20 You're going to have thought about any cities and counties that have moved their
30:23 property records into a proprietary system and they're not keeping paper records
30:28 anymore. I can assure you AI is going to go in there and create issues where it's
30:32 like, hey, here's a fake encumbrance, here's a fake easement, here's a fake
30:38 change and you're not going to be able to prove it otherwise unless you have this
30:42 type of structure to say, well, that's not true. Here's the truth. but this rule of
30:48 authority and this training is very important. Digital determinism. Yeah. Yes.
30:57 I think something especially exciting about the structure is not that you have
31:03 this hierarchical digital structure because there's a lot of existing things
31:08 that can do that one time. It's the succession. Yeah, it's durable. – From
31:15 human to human to human and allowing the governor to that ceremony that transfers
31:22 the authority to the successor without breaking anything that his predecessor
31:28 did. – Yes. When I showed the KEL and I say it survives a key rotation, the key
31:35 rotation isn't just to yourself. Your key rotation is to anybody. If I'm in this
31:41 office and when I walk out of the office, the new person comes in, I rotate the keys
31:46 that control the office to keys that they control that I don't control. So there's
31:52 no sharing of keys. Never. – Without breaking the work that was done by your
31:56 predecessor. – But everything that I did is still in the ledger, in the log.
32:02 It's still verifiable in perpetuity. Yes. – I was just going to put a plug out
32:07 for Carla's session on boot three. GLEI has basically built this architecture in
32:14 reality. So it's not just market texture stuff that Sam's put on the
32:18 slide and talks very convincingly about. I like how you use technical
32:24 terms for non-technical stuff. Yes. I'm glad you waited for five minutes to
32:28 get into the technical stuff. If you're here day three, be here day three, but go
32:34 to Carlos Session because you'll be able to kind of walk through what this looks
32:38 like in practice, right? Because it's one thing to see the diagrams. It's another to
32:41 see what an organization global is going to be do with this tax credit. – Thank
32:47 you for that. Any more questions? – Oh, you wasn't. – Oh, okay. In blue, we
32:53 have the AIDs. Those are the autonomic identifiers. Autonomic means self
32:58 -governing, right? Even this person has their own AID that they control. It's
33:04 their AID. It's not the government's AID. Even inside the government, everybody
33:09 controls their own identity, right? What they do is that this person issues an ACDC
33:15 that delegates to that AID whatever powers and authority come with this office that
33:21 that person is sitting in as indicated by that. When they leave that office, it's
33:26 still their AID. The AID doesn't… It's like in a current business place when you
33:33 go to work, right? And you onboard and you go and they give you a set of keys to get
33:38 into the building, right? And then when you leave, they say, oh, turn in your
33:42 keys, right? That doesn't happen here. You're not turning your keys in.
33:46 You're just they're just revoking your authority, right? They're changing the
33:52 locks, not changing the keys. Yes. All right. We've got the organizational
33:57 unit. That'd be like driver's license division, health and human services, the
34:04 SEDI program division of GovOps. I don't I you know they know them better than I do.
34:11 And then issuing agent is somebody that is beneath that. It might be somebody outside
34:15 the state. It might actually be the issuing agent might be a third party that
34:19 the state contracts with or it could be within a state agency. Yeah. Now
34:26 the actual identity credentials that go to the citizen are issued by this person,
34:31 right? And see this binds? That's the edge that goes back that says this thing is
34:38 bound to that thing and if this one and if this authority is broken, then that breaks
34:42 that one. And then here's the core identity which has an edge back to whoever
34:45 issued it. And so now this is the citizen's AID. And then these are the
34:50 credentials that are issued to a citizen. And there'll be more than this. This set
34:56 here is just the set that was authorized by the legislation in 2026. And so, yeah,
35:03 one thing that I've learned is that we have to do everything by the book. And if
35:11 the legislation doesn't authorize it, we don't just go do it, right? Which is
35:18 really foreign to me as a tech person. It's like, no, we go do the tech stuff and
35:23 then we try to convince the powers that be that that's their only choice, right?
35:28 Any questions about this? I'm going to I'm now going to go one layer one more layer
35:33 down. All right. Code. Okay. We're at the bottom layer now. We're all the way
35:38 down to the bottom. Okay. This is what an ACDC looks like. This is in JSON,
35:45 right? Or in Python dict form. But same thing. There's a version string. There's a
35:52 type. And then you see a lot of these things. See all of these things. Those are
35:57 all cryptographic primitives. We're a security first protocol. That means
36:03 everything has to be cryptographic strength. Cryptographic strength means
36:09 that the operation has a minimum of 128 bits of entropy. Now, I just used a bunch
36:16 of terms I know most people don't understand. But if I have 128 bits of
36:20 entropy and I'm excluding post-quantum stuff because that's a different measure,
36:25 but pre-quantum, right? This is the standard and it means that it's
36:32 computationally infeasible to break it. That means it doesn't matter how many AIs
36:36 you have, how many supercomputers you have, you can't brute force break it. The
36:41 only way you can attack it is through what's called a side channel attack. Side
36:44 channel attacks are things like phishing, right? Like I can't break your signature.
36:49 I can't forge a signature. That would be a brute force attack. But if I can get your
36:54 private key, then I can create a signature that I didn't have to brute force the
36:58 signatures you created, right? So that means that attacks go from trying to
37:03 attack the crypto as long as you're using strong crypto. And that's not always been
37:06 the case, right? The world of protocols that use crypto over the last 30
37:11 years are filled with examples where engineers go, that's really kind of an
37:16 expensive operation. How about if we only use 64 bits of entropy? Because, you know,
37:22 it'll be exponentially faster. Or four bits. Or four bits. Or two bits. Right?
37:30 The number four. Right? From the beginning, I said, no, no, the world is
37:35 only going to get worse. Right? It's only going to get worse. Right? going to get
37:39 harder, right? So any temptation to be less than full cryptographic strength is a
37:45 temptation that we're just not we just no don't ever go there, right? We did
37:51 things that people complain, why do you put that in there? And it says, no, we
37:54 want zero malleability attacks. That means everything has to be protected with ashes.
37:58 We can't have any free variables floating out there. Everything has to be protected.
38:02 We invented something called the SED protocol, which is now actually an IANA
38:06 protocol, which says that any document that I have that has data in it is going
38:12 to have a field in it and this happens to be the D field and one of the reasons
38:15 we're using really short labels here is because these are reserved fields that
38:20 happen over and over again if they were really long they would actually make the
38:24 labels longer than the crypto and that would be a problem. Anyway, but you can
38:29 see we have some that aren't because they're not reserved labels. Anyway… – You
38:32 make jokes about the DUI. – Yes. Yes, DUI right there. There you go. Driving under
38:41 the influence, which can't be said of me because I don't drink. But anyway, so this
38:45 said is a hash of this data that is inside the data. And so there's a protocol
38:50 because basically you can't hash data and put it inside. We put dummy variables
38:55 there, hash it, then replace it. But that means that anytime the data goes anywhere,
38:59 it's already integrity protected. And it's integrity protected in an interoperable
39:03 cryptographic agile way. And so we just have these SEDs everywhere
39:09 because they allow us to manage all of the data in a way that's protected. And if I
39:14 sign just the hash because the properties of cryptographic strength hashes, it's
39:21 just as good as signing the actual document. So that means that I can manage
39:28 things really well. I'm going to go through the field. This is the SED.
39:34 This is unique entropy. This protects this data structure from what's called a
39:39 rainbow table attack. And in a rainbow table attack, if I have a schema that
39:43 defines all these fields, what these values are, then I might be able to deduce
39:48 what the field values are, even though you only gave me a hash of the data. And so if
39:53 I have enough entropy, then I can't do a rainbow table attack. So that's why that's
39:58 there. This is the issuer field. This is the identifier of the registry. We talked
40:04 about the registry. This is the schema identifier. Notice the schema itself has a
40:08 hash or a sed, which means the schema are immutable. So nobody can play games with
40:12 the schema to try to change the semantics of this. Here the attribute block.
40:17 The attribute block itself has a sed. It has unique entropy. It has an issuee.
40:22 This is where the issuee shows up. Here's the issue date in the SEDI program office.
40:26 And then down here in the rule section, we don't have any rules because I can't get
40:29 the lawyers to put rules in there. But this is where all the legal
40:32 language goes, right? So that's a big to do item for the... I think, is there an
40:37 attorney in the room? What is Micah here? Oh, we got a couple other. Where's Micah?
40:42 All right. Anyway, but this means that the actual that you can actually embed what's
40:49 called a Ricardian contract, which is a human readable machine readable contract,
40:55 right? So it's a legal contract because it's in text, but it's expressed in a way
41:01 that you can also do machine operations on it. So you can embed the you can either
41:06 embed references to the legal structure or you can put the actual legal structure.
41:10 You put liability waivers, whatever you want. You can put it inside that so that
41:14 it's carried with the data. The data carries its own legal constraints, which
41:19 means that in duty of data loyalty, you can define what those are with the data
41:24 whenever you send the data to somebody. So that's another normative feature of ACDCs
41:28 that you don't find anywhere else. So this is actually a pretty simple credential
41:34 because all I'm doing is the designated program office role for
41:42 whoever has this credential, that AID, the issue AID. Here's the next delegation
41:48 chain. It's a little bit more complicated. I've got all the other stuff is the same.
41:53 I've got a role and a name. And in this case, the name has its own block so that
42:01 it can be hidden and it's Susan Park. And then here's my edge section that links
42:06 back to the other one. You see that I've got SEDS everywhere. I've got unique
42:11 IDs everywhere. And then I've got the data and the edge operator tells me how to
42:17 interpret the edge. DI2I is a shorthand for a delegated issuer to issuee. It says
42:23 this edge represents a delegation. That's what it does. But now my
42:27 tooling for the credentials can actually verify delegation change because it's a
42:33 normative feature. It's not just some field that I decided meant that. It's in
42:38 its own section. Now, the thing is you see all this extra crypto and that extra
42:42 crypto is so that I can do something called selective disclosure or what we
42:46 call nested partial disclosure so that we can present the credential and you can
42:52 make a commitment to this without disclosing these other things or to this
42:57 block without disclosing those other things and verify the commitment but wait
43:03 until you've you come to a agreement about the terms. Here's the core identity
43:08 credential. Same sort of stuff up here. But now we have more attributes and each
43:15 attribute gets its own block. I've got given name, bin name, family name, name
43:19 suffix. Let's just do one block given name. Has a said. It's a said of just this
43:25 block. Has a unique attribute. So you can't guess the value of the given name
43:29 just by giving its said and the schema. And each of these blocks have the same
43:35 thing. But by doing this, I can make a cryptographic commitment to this whole
43:43 data structure and only disclose parts of it and the cryptographic commitment still
43:48 verifies. In here are familiar with a Merkle tree. Who knows what a Merkle tree
43:52 is? Okay, most of you. Right? A Merkle tree is a binary tree and ACDC is an MERI
43:58 Merkle tree. Right? Each of these blocks is an edge in a tree that is hash chained
44:06 up to the root. This is the root. Here's the root. Right? And so these are all
44:12 nodes that hash chain down. So now I have this hash chain data structure where I can
44:17 selectively disclose a branch without disclosing any of the other branches.
44:21 That's the fundamental property of a Merkle tree. We made it an mary tree
44:25 because real data isn't expressed in binary structures. It's expressed in
44:29 groups that are non-binary. And I didn't mean that politically.
44:34 Exactly.
44:38 Here's the other fields, right? And then here's the edge that points back and
44:43 what does this edge point back to? The Utah agent. So that's the structure of an
44:47 ACDC. You now know as much as anybody else in the world about an ACDC. All
44:53 right. Yes. Okay. Let's pursue my follow -up.
45:01 The thing you're hashing is has 128 bits of entropy. Or the hash. The hash itself
45:09 has 128 bits of entropy. But what you're hashing also has 120 bits of entropy. And
45:16 the reason is that if I have a schema that says this field, its values are,
45:22 let's say, a zip code. How many zip codes are there? Not very many. Right. The
45:31 entropy of a zip code is really, really small. So if I have a block of data that
45:35 has a zip code, a street address, right? A country and a county for address, the
45:43 entropy of all of those fields for all of the address in the United States is way,
45:48 way, way less than 120 bits. It's like maybe 40 bits, right? Which means that's
45:53 attackable. All I need to know is the schema that says this field is a street
45:58 address, this field is zip code. I can guess all the values of the field by doing
46:01 a rainbow table attack. But if one of the fields is high entropy, a random
46:06 number, I can't do a rainbow table attack. I'm with you on that. Oh, okay. You're
46:12 making the assertion that you're just not worrying about quantum supremacy or you're
46:16 going to pull over to two. Okay. Hashes, cryptographic strength hashes
46:21 are already post quantum secure. Yes. Okay. If you go look it up. The crypto
46:28 agility element. Yeah. Okay. I haven't talked about crypto agility. The place
46:32 where quantum attacks is not the hashes. It's the signatures. The public-private
46:37 key pair generation algorithm, you can invert the public key and get the private
46:40 key with crypto because you can use an attack that reduces its cryptographic
46:45 strength from 128 bits to something much smaller. Right? So what you need then is
46:50 for the public-private key pairs, you need to have a crypto strength public-private
46:54 key pair. That's all you need for this because we're not doing encryption.
46:58 We do encryption, but KERI isn't about
47:01 encryption. It's about authentication with private key pairs. Now, because
47:06 which I haven't talked about KERI, this is ACDCs. We have something called pre
47:11 -rotation. The pre-rotated keys are protected with a hash, which means that
47:16 they're already post-quantum proof, which means that they can get my signing keys
47:21 because they know the public key. But then if I have a way to detect that they've
47:25 compromised me because they entered something in my key event log and I see
47:28 that they entered it, then I can do a rotation at the time of attack to a post
47:33 -quantum safe public-private key pair. So I can wait to the last possible minute to
47:37 have to migrate. So I don't have to incur the cost of migration now. We're pre
47:41 -migrated. I don't have to incur the size and penalty. All that stuff can wait till
47:46 quantum attacks actually start happening. Right? We'll probably we'll do it before
47:50 then. 2030 is the date. So, you know, but we don't have to do it today. Right? And
47:54 so that's an advantage, especially if you're trying to roll it out today to
47:58 millions of people in the state of Utah. So, and you don't have to at day one say,
48:04 well, we've got to be already post-quantum when this only just barely, you know, and
48:10 maybe a couple years of seasoning is a good idea, right? There's lots. Okay, so
48:16 now we're going to do something called partial disclosure. Okay, so here's my
48:22 same credential, but I've collapsed my Merkle tree to the roots of each of the
48:29 nodes. Given name instead of being block is a hash, right? So now I can
48:35 present this without disclosing any of these field values. They don't know what
48:39 they are and they can't guess them because of the unique entropy in them, right? So
48:45 that now allows me to present any subset that I choose at the time of presentation
48:53 without disclosing any of the other ones. I didn't have to do anything fancy. I
48:56 didn't need black-magic crypto, which is an advantage because we want to
49:01 adopt this at scale. We want to use well -seasoned crypto that's everywhere, right?
49:05 I mean, we're using stuff that's been around for 20 years. ECC has been around
49:10 for 20 years. It's been stable. When I say stable, people before ECC, crypto meant
49:17 that every two or three years you had to double the size of your keys because it
49:22 just, you know, prime factorization was subject to Moore's law attack. But ECC has
49:27 maintained its strength over the last 20 years despite, you know, a thousand
49:32 Moore's law doubling of computation power because it always has been computationally
49:37 feasible and they haven't come up with any way to break it, right? Now post-quantum
49:42 has. Now we'll get a we'll jump to the post-quantum but then hopefully we'll have
49:46 a stable period for the next 50 years or so before we have to redo
49:51 everything again. But during the 80s and 90s and 2000s it was like, you know,
49:57 because ECC didn't go off patent until like 2011. So even though it was around
50:01 for 10 years before that, nobody could use it because it's patented. I got 10
50:05 minutes. Okay. Well, I'm just about done. Right. I'm going to talk about
50:12 guardianship. A little more sophisticated delegation chain. Here's the
50:16 same one here, but now I'm delegating to a citizen. Here's their AID that they're
50:23 a guardian of a different AID. This ACDC is saying that this
50:31 citizen guardian AID is a guardian of this citizen ward AID and this citizen guardian
50:37 now, not the state, can now issue an ACDC as an authorization to the ward or the
50:46 child in this case, that ward can present to social media. And so what we've
50:51 done is that we've inserted the parent as now the authority structure. The authority
50:57 isn't going from the state to here. The authority to access the social media is
51:03 going through the parent. So even though this citizen might be over 13, which the
51:08 law says, if the parent says, no, no, no, I want to control the access when and how
51:15 much and how often and not just let the state determine that they're over 13 so
51:20 they can do whenever they want to, now they can issue this social media
51:24 authorization. And we're using the same technology all the way down. All
51:28 we've done is we've changed to the issuer is of this. This person is the issuer of
51:33 that. I can show this… Oh, yeah, I don't want to show that credential. It's
51:43 going one line at a time. But it's not fundamentally different from what I showed
51:46 before. I'm at the point where without going into more detail Do you kind of get
51:59 a sense of why delegation solves the problem of modeling authority structures?
52:10 That was a bad way to ask the question. What don't you get about that? Here's a
52:20 problem with delegation. Up until ACDCs as far as I could tell when people built
52:28 cryptographically verifiable delegation structures, these delegations were signed.
52:37 They weren't durable. Which means that if I have a chain of any length and that
52:44 chain will break whenever anybody rotates their keys. Not because they wanted it to
52:51 break, but because their key management forced it to break. And so DNSSEC is an
52:57 example of that, right? You read the spec and you go, oh, this is a great idea. I'm
53:01 going to delegate stuff. But does anybody use DNSSEC? Most people use DNSSEC say,
53:06 can't really use it because I keep DDoSing myself, right? And why are they DDoSing
53:12 themselves? Because every time anybody in the chain rotates their keys, it breaks
53:16 their credentials. And they go, well, wait, you rotated your keys. My
53:19 credentials should be valid. No, no, no, no. No, the authority is based on your
53:23 current key state, not based on some other mechanism that is durable, right? So we
53:30 couldn't do this if we hadn't solved the durability problem a long time ago. Once
53:35 we solve the durability problem, then it's like, oh, we can do delegation. Delegation
53:39 actually becomes something that's not that difficult to do once you solve the
53:42 durability problem. And if you don't solve the durable problem, then delegation is
53:46 fragile in every case. And when people try to do it, it sounds like a good idea. And
53:50 then it goes, oh, it doesn't really work. Right? And then they throw it away. Right?
53:55 And there have been lots of specs that have delegation in them, but they're not
53:59 used very much. So the idea is that if you don't start with durability, you can't
54:06 get… there's certain things you just can't do like guardianship because guardianship
54:10 is durable. How long does the guardian relationship last?
54:15 Well, 18 years, right? Sometimes longer than that. Yes. Yes. Well, actually, if
54:21 you're on the other end of the age scale, it could be much longer than 18 years.
54:25 Right? You know, my kids are already telling me that I need to, you know, They
54:35 need to be in charge of what I do. Right? Anyway, the point is...
54:41 Now, don't get me wrong. There are lots of really, really, really good
54:47 valuable applications of ephemeral permissions and verifiable credentials. No
54:53 doubt about it. And ephemeral things have lower friction so they can be used more
54:58 easily at scale, but they don't solve the hardest problems that are essential to
55:03 government function. And so if you can't solve the hardest problem, adopting things
55:11 that can never solve it means that you're just going to have years of heartache and
55:16 headache because you're going to keep trying to be saying, well, can't we just
55:20 do this way? And what you end up with is ephemeral systems trying to emulate
55:25 durable systems and that's a really difficult thing to do because it means
55:28 you're just reissuing all the time. – It's what the internet's built on right now
55:32 with certificate orders, right? – Yeah, yeah. – The whole mechanism is you have a
55:36 DigiCert up their own, right? It's a billion dollar company that rents itself
55:41 the fact that you have to rotate your keys and they take advantage of that. So
55:44 there's… – Well, yeah, there's a business model for churn, right? And I hope I know
55:49 I don't want to criticize certificate authorities, but yeah. – Can I ask a dumb
55:52 business guy question? – Yes. – Absolutely. – The dumb business guy
55:56 question is this, would it be correct to assume that each delegation step has to
56:03 have its own key management infrastructure? – Yes. Yeah. Every
56:07 identifier is independent. – So each one's got its own HS7, each one's got its own. –
56:14 Yep. – The business guy nerd question is, That's really expensive and do they
56:21 all have those already? Well, okay. When you use the term HSM, if you're
56:25 talking about like enterprise class HSMs, which are like $10,000 a piece. Okay.
56:33 Tomorrow I'm going to do a dinner talk on the security
56:41 properties of KERI. This is ACDC. Tomorrow is KERI and we'll talk about
56:46 tunable parameters that allow you to use relatively weak infrastructure, low cost
56:52 infrastructure to get the same security properties as expensive infrastructure.
56:58 An HSM could be a $10,000 server that has, you know, signing infrastructure or it
57:05 could be a $10 smart card. And these guys have a demo. The reading guys have a demo
57:09 of a $10 smart card. Yeah. So now you're just talking about each of these people
57:16 don't necessarily need an expensive HSM. They just need a phone and a couple of
57:21 smart cards. Right? So it's not a lot of infrastructure. Now, this person, this
57:27 agent who might be issuing, you know, hundreds of credentials a day, they might
57:31 want to have a little bit better infrastructure. Right? But hundreds is not
57:36 10,000. And because of this delegation, you could have a hundred issuers and it
57:42 doesn't matter. You can horizontally scale with issuers that don't issue a lot.
57:48 and guess what happens if somebody's keys get compromised? The whole infrastructure
57:53 doesn't go down. Just that one person, right? So you've minimized the blast
57:58 radius by distributing the signing authority, which is why we delegate in
58:03 organizations anyway. Can anybody by themselves run an organization of 20,000
58:08 employees? No, they got to have 10 layers of management and each layer of management
58:12 has at max 20 direct reports, right? Anybody with more than 20 direct reports
58:17 is either working 80 hours a week or you know. Yeah. Okay. Yes. I know there are
58:27 people to do that. Did that answer your question? It did actually. Okay. Great.
58:31 Any more questions? Yes. Yeah. I'm curious how latency and timeouts on
58:36 the network actually impact like impact this especially if you get into a doom.
58:41 Can you get into a doom with this over? No. No. That's because the proof is
58:49 static. What happens that we have something called percolated discovery.
58:55 If I go back and I got to go back a few diagrams.
59:03 It's all right. Just start at the top. Here we go. Okay. See this seal right
59:11 here, this little box, that's an anchor to an issuance. Okay. This KEL up to that
59:17 point and seal is immutable. It doesn't change. So if I give this much to
59:24 the issuee and they put it in their wallet, they can now present that to
59:28 anybody and prove it's a proof. It's a durable portable proof. Nobody has to go
59:32 back to the issuer. Nobody has to go back actually even to the network to verify
59:37 that proof. No phone home anywhere. So there's no network
59:42 latency problem there because the verification is just a static proof. It's
59:46 just a verifiable set of things that say at this point in this key event log that
59:49 was issued, right? And if I go a few events past that, you can see that there
59:53 wasn't a recovery or something like that that could have invalidated it.
59:57 There's sort of like, well, up to this rotation, nothing can change. So, that's
1:00:02 good. You're set. You're static. Everybody just has static proofs. And if and the
1:00:07 only thing that the network affects is revokability, right? But revokability can
1:00:13 be batched. I can say I got a 24-hour revocation time period, which corresponds
1:00:17 with most legal basis for revocation, which means that if I don't have network
1:00:21 for 24 hours, somebody who had a revoked credential, I can't detect it. But guess
1:00:27 what? Even if they did, it wouldn't be valid for 24 hours till the next day
1:00:31 anyway. So it didn't really hurt me. There's only a few cases where they do
1:00:36 revocation faster than that. And so absent, you know, somebody upgrading the
1:00:42 FAA's routers. Yes. Once again. Right. But the actual issuance isn't affected. It's
1:00:53 only the revokability. And you might get a few people that had their credentials
1:00:58 revoked that got away with it for two or three days. And that's a pretty minimal
1:01:02 damage. Because how many people actually get their credentials revoked? Of the
1:01:07 total population? People who drunk drivers, right? How many of those? Right?
1:01:13 Well, on New Year's Day, there's a few, right? But the rest of the year, not too
1:01:16 many. Does that answer your question? I mean, I'd have to go into you'd have to
1:01:21 see but that's the idea. Yes. Where and how are you storing your raw data? What do
1:01:28 you mean by raw data? Everything. Okay. Well, the way it's a small blockchain.
1:01:34 Blockchain stores data. Where are we storing? You're just storing it in a key
1:01:39 value store. Okay. And then and so that amount of data you're talking about
1:01:44 millions of people, how does that get secured? The hashes of all the data in the
1:01:50 hash chains are self-securing. So if somebody tampers with it, you can detect
1:01:55 it. I'm just wondering, I mean, fundamentally though, is it stirring it in
1:01:59 some kind of a block? Is it stirring it in some kind of a text file? It doesn't
1:02:04 matter. Any data Yeah, any database will work. What we use in our code is we use
1:02:12 LMDB. LMDB is a really fast key value store used for you. You're familiar with
1:02:17 it. Okay. Thank you. Yeah. Okay. Yes. Then you found the confusion earlier.
1:02:23 Which hash scheme are you using now? SHA3, Blake? It's perfectly cryptographically
1:02:30 agile. When I go, so here, I go back to the code. We have a protocol called CESER.
1:02:39 It's called Compact Event Streaming Representation. It's a protocol that
1:02:45 has a compact encoding scheme for all cryptographic primitives. For example,
1:02:51 this first character is actually not part of the hash. It is the algorithm. This is
1:02:56 Blake 3. If it was Blake 2B, it would be an F. If it was SHA 3, it would be a G or
1:03:05 an H. And if it was SHA 3 512, it'd be a different letter. If it's SHA, you'd be,
1:03:11 you know, so all of the hashes are in the table. and anybody that's processing it
1:03:16 just looks it up and go, oh, yeah, I know what, so I know how to verify that hash.
1:03:21 Yeah. No, that's all right. In the distributed authority world, I know how
1:03:25 this happens when something goes bad. You know, you're looking at those statements,
1:03:29 transparency logs, the distributed authority tells you, right? Yes. There was
1:03:32 a slide here where it's like, and you will know something has gone bad and the word
1:03:36 you was carrying a lot of weight. Oh, okay. Yes. We'll go back here. Okay.
1:03:41 Tomorrow's talk, I will answer that. Okay. All right. To be continued. All
1:03:49 right. Well, thank you so much. Thank you.