Skip to content
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

P 1006 all identities vc #3059

Merged
merged 2 commits into from
Sep 13, 2024
Merged

P 1006 all identities vc #3059

merged 2 commits into from
Sep 13, 2024

Conversation

higherordertech
Copy link
Contributor

@higherordertech higherordertech commented Sep 11, 2024

Context

As title.

The core-primitives changes are in release branch: #3051

Labels

Please apply following PR-related labels when appropriate:

  • C0-breaking: if your change could break the existing client, e.g. API change, critical logic change
  • C1-noteworthy: if your change is non-breaking, but is still worth noticing for the client, e.g. reference code improvement

How (Optional)

Testing Evidences

Please attach any relevant evidences if applicable

will@azure-dev-1:~/repo/litentry-parachain/tee-worker$ ./bin/litentry-cli trusted -d request-vc did:litentry:evm:0x8c0Ba3291df6bF63088377d29ccdfB15C7750F31 -a "linked-identities"

identity: Evm(Address20)
nonce: 0
assertions: [LinkedIdentities]
----Generated VC-----
{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xb8e37cf5d0eff1e285d02619bc64136aebea2432d8922e12315b37b8654bdb74","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:evm:0x8c0ba3291df6bf63088377d29ccdfb15c7750f31","description":"All web2 and web3 identities you linked","type":"Linked web2/web3 identities","assertionText":"","assertions":[{"and":[{"src":"$identities","op":"==","dst":"["did:litentry:evm:0x8c0ba3291df6bf63088377d29ccdfb15c7750f31"]"}]}],"values":[true],"endpoint":"http://localhost:9944/"},"issuer":{"id":"did:litentry:substrate:0x0aecfff87978f0dfe199db64ff9522fd01358a55a7d346bb5a1e484bf039278a","name":"Litentry TEE Worker","mrenclave":"Fv9aGUnnJBYU8L5VX6iZvYhpzHqYfMhN6VfdEtcxVY4d","runtimeVersion":{"parachain":9200,"sidechain":110}},"issuanceDate":"2024-09-11T03:35:33.719362184+00:00","parachainBlockNumber":26,"sidechainBlockNumber":43,"proof":{"created":"2024-09-11T03:35:33.719629103+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"91bad9615b564312ed070b628217a527d9f583b76b728512bba6c3186ee3efd4a931bc8a7e72b404bdc7078ece30ddbffd3bf13b325906904c25d5831ed10b0d","verificationMethod":"0xb7b0393df6d82ea67da96c3737b742f249c535063b3d19ae2067ba8423d3cb2f"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/27-linked-identities/1-0-0.json","type":"JsonSchemaValidator2018"}}

Copy link

linear bot commented Sep 11, 2024

@higherordertech higherordertech marked this pull request as ready for review September 11, 2024 03:42
Copy link
Collaborator

@BillyWooo BillyWooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@higherordertech higherordertech enabled auto-merge (squash) September 13, 2024 10:39
@higherordertech higherordertech merged commit 6c8054c into dev Sep 13, 2024
27 checks passed
@higherordertech higherordertech deleted the P-1006-all-identities-VC branch September 13, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants