-
Notifications
You must be signed in to change notification settings - Fork 375
CPS-???? | Linking Off-Chain Identities #1059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Kammerlo
wants to merge
36
commits into
cardano-foundation:master
Choose a base branch
from
Kammerlo:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
38bf5e4
Adding 1517 metadata label to registry for Reeve - transparent and ve…
Kammerlo 42d3435
Merge branch 'cardano-foundation:master' into master
Kammerlo 912e6a2
docs: changing the metadata label for reeve after the official launch
Kammerlo 3c66f10
docs: adding reeve soft launch metadata back
Kammerlo 03c9ea4
docs: first version of CIP 1447 to start receiving feedback
Kammerlo 4f3384d
Merge branch 'cardano-foundation:master' into master
Kammerlo f08d67a
docs: added json schema + cddl description
Kammerlo c0bcf5a
docs: added id to transactions as required field
Kammerlo 1fbe657
docs: added more explanation about the tradeoff in motivation
Kammerlo 7b1d9d6
docs: incorporating feedback
Kammerlo 808cb6b
docs: incorporating feedback
Kammerlo 506132b
docs: added CPS for linking offChain identites
Kammerlo 1952ecd
applying `Tools` category
rphair 0ccfacf
applying seminal discussion link to header
rphair 1af1f1e
docs: update template, incorporated feedback
Kammerlo 8c81002
correcting title capitalisation after https://github.com/cardano-foun…
rphair b27dc02
Merge branch 'cardano-foundation:master' into master
Kammerlo e0c56b2
Merge branch 'cardano-foundation:master' into master
Kammerlo bb30aa8
docs: first draft of the KERI CIP
Kammerlo bb97df1
chore: removed reeve cip draft
Kammerlo fe4ccf3
docs: adjusted placeholders in markdown
Kammerlo ad492a5
docs: added linebreaks for better readability
Kammerlo 13e4782
docs: updated texts, removed todos, added diagrams
Kammerlo 1b26e71
docs: updated texts, removed todos, added diagrams
Kammerlo 0bc2645
docs: added copyright
Kammerlo b160e25
docs: some feedback incorporated
Kammerlo d83834c
docs: incorporated feedback
Kammerlo c7e8a70
docs: added rationale
Kammerlo ac4057a
docs: added example data
Kammerlo 2f2948e
docs: replaced old schema
Kammerlo 9b2525a
docs: renamed files to cesr and linked revocation in doc
Kammerlo 8621abc
docs: incorporated feedback
Kammerlo 47f7207
docs: incorporated feedback
Kammerlo fc38ac9
docs: typos
Kammerlo 817f7c3
Merge pull request #2 from Kammerlo/feat/keri-cip
Kammerlo 9338979
add trailing CIP-0010 DB array comment (coding standard & CI validation)
rphair File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,133 @@ | ||
| { | ||
| "v": "KERI10JSON000113_", | ||
| "t": "vcp", | ||
| "d": "EFfQPwW9s8HQV-zq2NTGks_WYT79Z046mhIJwPQxlfn0", | ||
| "i": "EFfQPwW9s8HQV-zq2NTGks_WYT79Z046mhIJwPQxlfn0", | ||
| "ii": "EOosFLj1gOfRFEx5g5TSCPdpml9jM9_jIaWI5pZO5YCU", | ||
| "s": "0", | ||
| "c": [ | ||
| "NB" | ||
| ], | ||
| "bt": "0", | ||
| "b": [], | ||
| "n": "AFltXlPUmiWy8_v8d9f6jj1E2l7LX1UWjU7hGtrp-1xW" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAABEKiuK7uqunvbRxirmi9gqfuOGfQSZuqCT9b0WEVFx_Cf | ||
| { | ||
| "v": "KERI10JSON000113_", | ||
| "t": "vcp", | ||
| "d": "EOzV2Oj64Wwe9QetkB_FCmIvoTI_6OKn7nB4W51wJQ-a", | ||
| "i": "EOzV2Oj64Wwe9QetkB_FCmIvoTI_6OKn7nB4W51wJQ-a", | ||
| "ii": "EARtegK3M61uNJ5wyuznNjngYP0kJm1-KHv5fh-8UFWS", | ||
| "s": "0", | ||
| "c": [ | ||
| "NB" | ||
| ], | ||
| "bt": "0", | ||
| "b": [], | ||
| "n": "AM0aXrE5B79nt1_FOffK7N_rMw1VkYLRe1KB60rwRplM" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAABEPQN2EE4bNWu6-1vXoLMfTUumlHFEAr9-p4_CeoxfchP | ||
| { | ||
| "v": "KERI10JSON000113_", | ||
| "t": "vcp", | ||
| "d": "EOWTJBCuCpDtamFQrepwyC2WwbsOzWIP0fhRnT8eZeLC", | ||
| "i": "EOWTJBCuCpDtamFQrepwyC2WwbsOzWIP0fhRnT8eZeLC", | ||
| "ii": "EF--c3_VLg-aaoI-y9kKc0XSQD2-bZoiyk0U7Vym9p-l", | ||
| "s": "0", | ||
| "c": [ | ||
| "NB" | ||
| ], | ||
| "bt": "0", | ||
| "b": [], | ||
| "n": "AG_SUFGr-Nvk_t1Z7QUAjwsjoFw9GF4tZEt8IcNwrjFe" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAABEFVhm8TjehsDvAJGxlI5ufy_Mxd5j-B1KSqB-YLC1JWV | ||
| { | ||
| "v": "KERI10JSON0000ed_", | ||
| "t": "iss", | ||
| "d": "EOkDhM2BZL2dXuWydnDvIl7kWj5q2bVZXnPNLtr1Wtop", | ||
| "i": "EIUaX_JLblNtJQQg0gh7Ka4h64gbwOhqlPl9QC-7M6DZ", | ||
| "s": "0", | ||
| "ri": "EFfQPwW9s8HQV-zq2NTGks_WYT79Z046mhIJwPQxlfn0", | ||
| "dt": "2025-11-10T11:43:47.242000+00:00" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAACEDFK7pUh-Ez7kk0knpLl1m8iA59_BE4_Rkv8QtHMbRuE | ||
| { | ||
| "v": "KERI10JSON0000ed_", | ||
| "t": "iss", | ||
| "d": "ELlER5cq0f8sPsZKjz_jcdegz65uErDiCqfbYlYQHlim", | ||
| "i": "EBK-BG-8-ZhvQ7ml52PWOVJn30IUviSeC7VepeU_mZXK", | ||
| "s": "0", | ||
| "ri": "EOzV2Oj64Wwe9QetkB_FCmIvoTI_6OKn7nB4W51wJQ-a", | ||
| "dt": "2025-11-10T11:43:51.081000+00:00" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAACEIXsXeDBh9kSbE4pvn3uCPzKxE9Pkg4t-JuRKyLGrUI9 | ||
| { | ||
| "v": "KERI10JSON0000ed_", | ||
| "t": "iss", | ||
| "d": "EOyo58VXZv4qVVs8jczoTmFlwffJDC8yirqpqecFW3jj", | ||
| "i": "EPSkZ1-E6ojESV9mt20vA0YUfoYAD8dxYyn4-ochHMtV", | ||
| "s": "0", | ||
| "ri": "EOWTJBCuCpDtamFQrepwyC2WwbsOzWIP0fhRnT8eZeLC", | ||
| "dt": "2025-11-10T11:43:58.630000+00:00" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAACEFuQPJfiOsO71geAaItT4DGH7xr0ZtaDs8ycsnpxki6k | ||
| { | ||
| "v": "ACDC10JSON000197_", | ||
| "d": "EIUaX_JLblNtJQQg0gh7Ka4h64gbwOhqlPl9QC-7M6DZ", | ||
| "i": "EOosFLj1gOfRFEx5g5TSCPdpml9jM9_jIaWI5pZO5YCU", | ||
| "ri": "EFfQPwW9s8HQV-zq2NTGks_WYT79Z046mhIJwPQxlfn0", | ||
| "s": "EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao", | ||
| "a": { | ||
| "d": "EC9iDB-5CIrhu_R68eXQ9HgDT_vxTqSPZXU-TPVzr6-F", | ||
| "i": "EARtegK3M61uNJ5wyuznNjngYP0kJm1-KHv5fh-8UFWS", | ||
| "dt": "2025-11-10T11:43:47.242000+00:00", | ||
| "LEI": "50670047U83746F70E20" | ||
| } | ||
| }-IABEIUaX_JLblNtJQQg0gh7Ka4h64gbwOhqlPl9QC-7M6DZ0AAAAAAAAAAAAAAAAAAAAAAAEOkDhM2BZL2dXuWydnDvIl7kWj5q2bVZXnPNLtr1Wtop | ||
| { | ||
| "v": "ACDC10JSON0005c8_", | ||
| "d": "EBK-BG-8-ZhvQ7ml52PWOVJn30IUviSeC7VepeU_mZXK", | ||
| "i": "EARtegK3M61uNJ5wyuznNjngYP0kJm1-KHv5fh-8UFWS", | ||
| "ri": "EOzV2Oj64Wwe9QetkB_FCmIvoTI_6OKn7nB4W51wJQ-a", | ||
| "s": "ENPXp1vQzRF6JwIuS-mp2U8Uf1MoADoP_GqQ62VsDZWY", | ||
| "a": { | ||
| "d": "EB9PCr5APfA1o9LRkO45kijrvoQuH1N5Te4U5JhjpzOO", | ||
| "i": "EF--c3_VLg-aaoI-y9kKc0XSQD2-bZoiyk0U7Vym9p-l", | ||
| "dt": "2025-11-10T11:43:51.081000+00:00", | ||
| "LEI": "50670047U83746F70E20" | ||
| }, | ||
| "e": { | ||
| "d": "EC4U5Yxjv1TbJm6fVwi9b_mPr1kpqyv0EQM9Gb0AKDz8", | ||
| "qvi": { | ||
| "n": "EIUaX_JLblNtJQQg0gh7Ka4h64gbwOhqlPl9QC-7M6DZ", | ||
| "s": "EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao" | ||
| } | ||
| }, | ||
| "r": { | ||
| "d": "EGZ97EjPSINR-O-KHDN_uw4fdrTxeuRXrqT5ZHHQJujQ", | ||
| "usageDisclaimer": { | ||
| "l": "Usage of a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, does not assert that the Legal Entity is trustworthy, honest, reputable in its business dealings, safe to do business with, or compliant with any laws or that an implied or expressly intended purpose will be fulfilled." | ||
| }, | ||
| "issuanceDisclaimer": { | ||
| "l": "All information in a valid, unexpired, and non-revoked vLEI Credential, as defined in the associated Ecosystem Governance Framework, is accurate as of the date the validation process was complete. The vLEI Credential has been issued to the legal entity or person named in the vLEI Credential as the subject; and the qualified vLEI Issuer exercised reasonable care to perform the validation process set forth in the vLEI Ecosystem Governance Framework." | ||
| } | ||
| } | ||
| }-IABEBK-BG-8-ZhvQ7ml52PWOVJn30IUviSeC7VepeU_mZXK0AAAAAAAAAAAAAAAAAAAAAAAELlER5cq0f8sPsZKjz_jcdegz65uErDiCqfbYlYQHlim | ||
| { | ||
| "v": "ACDC10JSON000230_", | ||
| "d": "EPSkZ1-E6ojESV9mt20vA0YUfoYAD8dxYyn4-ochHMtV", | ||
| "i": "EF--c3_VLg-aaoI-y9kKc0XSQD2-bZoiyk0U7Vym9p-l", | ||
| "ri": "EOWTJBCuCpDtamFQrepwyC2WwbsOzWIP0fhRnT8eZeLC", | ||
| "s": "EJVgEQO8BEhGGM7GcAjlqoKG1upeuBZj9WjvjZo353sQ", | ||
| "a": { | ||
| "d": "EKGU79bIkzxFsr-ZcoOLyZyX5mD4ScRbylGNNVbeiOW3", | ||
| "i": "EKtQ1lymrnrh3qv5S18PBzQ7ukHGFJ7EXkH7B22XEMIL", | ||
| "dt": "2025-11-10T11:43:58.630000+00:00", | ||
| "labels": [ | ||
| 1447 | ||
| ] | ||
| }, | ||
| "e": { | ||
| "d": "EPvTf6H9kJBJ87jDXR-IM-jSwWoGwQ_AhuwnIpq0lhqG", | ||
| "le": { | ||
| "n": "EBK-BG-8-ZhvQ7ml52PWOVJn30IUviSeC7VepeU_mZXK", | ||
| "s": "ENPXp1vQzRF6JwIuS-mp2U8Uf1MoADoP_GqQ62VsDZWY" | ||
| } | ||
| } | ||
| }-IABEPSkZ1-E6ojESV9mt20vA0YUfoYAD8dxYyn4-ochHMtV0AAAAAAAAAAAAAAAAAAAAAAAEOyo58VXZv4qVVs8jczoTmFlwffJDC8yirqpqecFW3jj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "v": "KERI10JSON000120_", | ||
| "t": "rev", | ||
| "d": "EIYQA02v1cjNrPn1KhIZXof56LRLmCNPWnaeSyZ87KeU", | ||
| "i": "EPSkZ1-E6ojESV9mt20vA0YUfoYAD8dxYyn4-ochHMtV", | ||
| "s": "1", | ||
| "ri": "EOWTJBCuCpDtamFQrepwyC2WwbsOzWIP0fhRnT8eZeLC", | ||
| "p": "EOyo58VXZv4qVVs8jczoTmFlwffJDC8yirqpqecFW3jj", | ||
| "dt": "2025-11-10T13:00:40.243000+00:00" | ||
| }-VAS-GAB0AAAAAAAAAAAAAAAAAAAAAADEDNyGD0Vt0UgfX3NZuf3JhHY34kTzxGZfhApeISBCBUI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| cardano_keri_metadata = { | ||
| ? uint => auth_event | ||
| } | ||
|
|
||
| auth_event = | ||
| auth_begin / | ||
| auth_end / | ||
| attest | ||
|
|
||
| auth_begin = { | ||
| t: "AUTH_BEGIN", | ||
| s: text, ; SAID of leaf credential schema | ||
| i: text, ; AID of signer | ||
| c: bytes, ; Byte stream payload | ||
| ? m: metadata_map ; Optional metadata | ||
| } | ||
|
|
||
| attest = { | ||
| t: "ATTEST", | ||
| i: text, ; AID of signer | ||
| d: text, ; Digest | ||
| s: text ; Hex-encoded sequence number | ||
| } | ||
|
|
||
| auth_end = { | ||
| t: "AUTH_END", | ||
| s: text, ; SAID of leaf credential schema | ||
| i: text, ; AID of signer | ||
| c: bytes, ; Byte stream payload | ||
| ? m: metadata_map ; Optional metadata | ||
| } | ||
|
|
||
| metadata_map = { | ||
| * text => any | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-07/schema#", | ||
| "title": "Cardano KERI Accountability Metadata", | ||
| "description": "Metadata schema for embedding KERI identifiers and authentication events (AUTH_BEGIN, ATTEST, AUTH_END) within Cardano transactions.", | ||
| "type": "object", | ||
| "patternProperties": { | ||
| "^[0-9]+$": { | ||
| "description": "Metadata label key (integer as string).", | ||
| "oneOf": [ | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "t": { | ||
| "const": "AUTH_BEGIN" | ||
| }, | ||
| "s": { | ||
| "type": "string", | ||
| "description": "Self-addressing identifier (SAID) of the leaf credential schema." | ||
| }, | ||
| "i": { | ||
| "type": "string", | ||
| "description": "Autonomic Identifier (AID) of the signer." | ||
| }, | ||
| "c": { | ||
| "type": "string", | ||
| "description": "Byte stream representing the credential or context." | ||
| }, | ||
| "m": { | ||
| "type": "object", | ||
| "description": "Optional metadata block.", | ||
| "additionalProperties": true | ||
| } | ||
| }, | ||
| "required": [ | ||
| "t", | ||
| "s", | ||
| "i", | ||
| "c" | ||
| ], | ||
| "additionalProperties": false | ||
| }, | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "t": { | ||
| "const": "ATTEST" | ||
| }, | ||
| "i": { | ||
| "type": "string", | ||
| "description": "Autonomic Identifier (AID) of the signer." | ||
| }, | ||
| "d": { | ||
| "type": "string", | ||
| "description": "Digest referencing the authenticated data." | ||
| }, | ||
| "s": { | ||
| "type": "string", | ||
| "pattern": "^[0-9A-Fa-f]+$", | ||
| "description": "Hex-encoded sequence number." | ||
| } | ||
| }, | ||
| "required": [ | ||
| "t", | ||
| "i", | ||
| "d", | ||
| "s" | ||
| ], | ||
| "additionalProperties": false | ||
| }, | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "t": { | ||
| "const": "AUTH_END" | ||
| }, | ||
| "s": { | ||
| "type": "string", | ||
| "description": "Self-addressing identifier (SAID) of the leaf credential schema." | ||
| }, | ||
| "i": { | ||
| "type": "string", | ||
| "description": "Autonomic Identifier (AID) of the signer." | ||
| }, | ||
| "c": { | ||
| "type": "string", | ||
| "description": "Byte stream representing the credential or closing context." | ||
| }, | ||
| "m": { | ||
| "type": "object", | ||
| "description": "Optional metadata block.", | ||
| "additionalProperties": true | ||
| } | ||
| }, | ||
| "required": [ | ||
| "t", | ||
| "s", | ||
| "i", | ||
| "c" | ||
| ], | ||
| "additionalProperties": false | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "additionalProperties": false | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kammerlo
I think this could have the same issue this one (failing CIP-0010 validation because of the assymmetrical final entry missing a trailing comma)Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually @Kammerlo this modification should be removed since it's already being added in this PR:
... in which, as you pointed out, the validation failure has been from the
?string pending the usual number.