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

Update Example To Use Production Jar #364

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Update Example To Use Production Jar #364

merged 2 commits into from
Sep 25, 2024

Conversation

nitro-neal
Copy link
Contributor

Ouput of hello world example:

/Users/nealr/.gradle/jdks/eclipse_adoptium-21-aarch64-os_x/jdk-21+35/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=52112:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /Users/nealr/MY-WORKSPACE/WEB5-RS/web5-rs/examples/KotlinExample/target/classes:/Users/nealr/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.8.0/kotlin-stdlib-jdk8-1.8.0.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.8.0/kotlin-stdlib-1.8.0.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.8.0/kotlin-stdlib-common-1.8.0.jar:/Users/nealr/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.8.0/kotlin-stdlib-jdk7-1.8.0.jar:/Users/nealr/.m2/repository/xyz/block/web5/0.0.5/web5-0.0.5.jar:/Users/nealr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.17.0/jackson-databind-2.17.0.jar:/Users/nealr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.17.0/jackson-annotations-2.17.0.jar:/Users/nealr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.17.0/jackson-core-2.17.0.jar:/Users/nealr/.m2/repository/net/bytebuddy/byte-buddy/1.14.9/byte-buddy-1.14.9.jar:/Users/nealr/.m2/repository/com/fasterxml/jackson/module/jackson-module-kotlin/2.17.0/jackson-module-kotlin-2.17.0.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.7.22/kotlin-reflect-1.7.22.jar:/Users/nealr/.m2/repository/net/java/dev/jna/jna/5.12.0/jna-5.12.0.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.8.1/kotlinx-coroutines-core-1.8.1.jar:/Users/nealr/.m2/repository/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.8.1/kotlinx-coroutines-core-jvm-1.8.1.jar com.example.HelloWorldKt
Issuer DID URI: did:jwk:eyJhbGciOiJFZDI1NTE5Iiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsIngiOiJUNE95b29DYURHSWY0bDRaZzdxb0EzbklOcHJHUURpVXRKU1o1THdoZjE0In0
Presentation Definition created: PresentationDefinition(id=test_presentation_definition, name=Test Presentation Definition, purpose=Testing Presentation Exchange, inputDescriptors=[InputDescriptor(id=test_input, name=Test Input, purpose=Testing Input, constraints=Constraints(fields=[Field(id=field1, name=Field 1, path=[$.credentialSubject.id], purpose=Must match DID JWK pattern, filter=Filter(type=string, pattern=^did:jwk:.*$, const=null, contains=null), optional=false, predicate=Required)]))], submissionRequirements=null)
Verifiable Credential JWT created and signed:
eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIzAifQ.eyJpc3MiOiJkaWQ6andrOmV5SmhiR2NpT2lKRlpESTFOVEU1SWl3aWEzUjVJam9pVDB0UUlpd2lZM0oySW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ktMjNUMjA6MTA6NTVaIn19.J973agOKxCxWXEi7_teR6TiSPA3wsLbft2XkoQekxxqPtMiSQqqiRLFL0nMrdaSJ7SoJPRC6cKm_DF-b2YyEDg

Presentation Result after matching credentials:
PresentationResult(presentationSubmission=PresentationSubmission(id=dcb8d43d-89ef-45ed-8816-0bc74386ec42, definitionId=test_presentation_definition, descriptorMap=[InputDescriptorMapping(id=test_input, format=jwt_vc, path=$.verifiableCredential[0], pathNested=null)]), matchedVcJwts=[eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIzAifQ.eyJpc3MiOiJkaWQ6andrOmV5SmhiR2NpT2lKRlpESTFOVEU1SWl3aWEzUjVJam9pVDB0UUlpd2lZM0oySWpvaVJXUXlOVFV4T1NJc0luZ2lPaUpVTkU5NWIyOURZVVJIU1dZMGJEUmFaemR4YjBFemJrbE9jSEpIVVVScFZYUktVMW8xVEhkb1pqRTBJbjAiLCJqdGkiOiJ1cm46dXVpZDo3NDUzNTg2YS1hZGU5LTRmOTMtOGVkNS01OGU3NGFmMzE0MDUiLCJzdWIiOiJkaWQ6andrOmV5SmhiR2NpT2lKRlpESTFOVEU1SWl3aWEzUjVJam9pVDB0UUlpd2lZM0oySWpvaVJXUXlOVFV4T1NJc0luZ2lPaUpVTkU5NWIyOURZVVJIU1dZMGJEUmFaemR4YjBFemJrbE9jSEpIVVVScFZYUktVMW8xVEhkb1pqRTBJbjAiLCJuYmYiOjE3MjcxMjIyNTUsImlhdCI6MTcyNzEyMjI1NSwidmMiOnsiaXNzdWVyIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIiwiaWQiOiJ1cm46dXVpZDo3NDUzNTg2YS1hZGU5LTRmOTMtOGVkNS01OGU3NGFmMzE0MDUiLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImlkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlzc3VhbmNlRGF0ZSI6IjIwMjQtMDktMjNUMjA6MTA6NTVaIn19.J973agOKxCxWXEi7_teR6TiSPA3wsLbft2XkoQekxxqPtMiSQqqiRLFL0nMrdaSJ7SoJPRC6cKm_DF-b2YyEDg])

Holder DID URI: did:jwk:eyJhbGciOiJFZDI1NTE5Iiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsIngiOiJMT1F5bm96MGxrUzlxSUtCampuSXhzV1RnVlR6ODRTSi1ZTG1idnNMbUdVIn0
Verifiable Presentation created:
VerifiablePresentation(context=[https://www.w3.org/2018/credentials/v1], type=[VerifiablePresentation], id=urn:uuid:7cecf39c-58bb-4471-8996-e0e3fda7bf45, holder=did:jwk:eyJhbGciOiJFZDI1NTE5Iiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsIngiOiJMT1F5bm96MGxrUzlxSUtCampuSXhzV1RnVlR6ODRTSi1ZTG1idnNMbUdVIn0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J0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImlkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlzc3VhbmNlRGF0ZSI6IjIwMjQtMDktMjNUMjA6MTA6NTVaIn19.J973agOKxCxWXEi7_teR6TiSPA3wsLbft2XkoQekxxqPtMiSQqqiRLFL0nMrdaSJ7SoJPRC6cKm_DF-b2YyEDg], additionalProperties={presentation_submission=PresentationSubmission(id=dcb8d43d-89ef-45ed-8816-0bc74386ec42, definitionId=test_presentation_definition, descriptorMap=[InputDescriptorMapping(id=test_input, format=jwt_vc, path=$.verifiableCredential[0], pathNested=null)])}, rustCoreVerifiablePresentation=web5.sdk.rust.VerifiablePresentation@3b95d13c)

Signed Verifiable Presentation JWT:
eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKTVQxRjVibTk2TUd4clV6bHhTVXRDYW1wdVNYaHpWMVJuVmxSNk9EUlRTaTFaVEcxaWRuTk1iVWRWSW4wIzAifQ.eyJpc3MiOiJkaWQ6andrOmV5SmhiR2NpT2lKRlpESTFOVEU1SWl3aWEzUjVJam9pVDB0UUlpd2lZM0oySWpvaVJXUXlOVFV4T1NJc0luZ2lPaUpNVDFGNWJtOTZNR3hyVXpseFNVdENhbXB1U1hoelYxUm5WbFI2T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lko5NzNhZ09LeEN4V1hFaTdfdGVSNlRpU1BBM3dzTGJmdDJYa29RZWt4eHFQdE1pU1FxcWlSTEZMMG5NcmRhU0o3U29KUFJDNmNLbV9ERi1iMll5RURnIl0sInByZXNlbnRhdGlvbl9zdWJtaXNzaW9uIjp7ImRlc2NyaXB0b3JNYXAiOlt7InBhdGgiOiIkLnZlcmlmaWFibGVDcmVkZW50aWFsWzBdIiwiZm9ybWF0Ijoiand0X3ZjIiwiaWQiOiJ0ZXN0X2lucHV0In1dLCJkZWZpbml0aW9uSWQiOiJ0ZXN0X3ByZXNlbnRhdGlvbl9kZWZpbml0aW9uIiwiaWQiOiJkY2I4ZDQzZC04OWVmLTQ1ZWQtODgxNi0wYmM3NDM4NmVjNDIifSwidHlwZSI6WyJWZXJpZmlhYmxlUHJlc2VudGF0aW9uIl0sImlkIjoidXJuOnV1aWQ6N2NlY2YzOWMtNThiYi00NDcxLTg5OTYtZTBlM2ZkYTdiZjQ1IiwiQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiXSwiaG9sZGVyIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKTVQxRjVibTk2TUd4clV6bHhTVXRDYW1wdVNYaHpWMVJuVmxSNk9EUlRTaTFaVEcxaWRuTk1iVWRWSW4wIn19.A6WZ65PV7GwhIEvH0KrYF2JzEWGeuAHTRAgCx3Eivw-qcbhrfWxTwstvXhxpiQZYA5zKqa6T7qpqaM9qonI1Bg

Decoded Verifiable Presentation:
VerifiablePresentation(context=[https://www.w3.org/2018/credentials/v1], type=[VerifiablePresentation], id=urn:uuid:7cecf39c-58bb-4471-8996-e0e3fda7bf45, holder=did:jwk:eyJhbGciOiJFZDI1NTE5Iiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsIngiOiJMT1F5b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o3NDUzNTg2YS1hZGU5LTRmOTMtOGVkNS01OGU3NGFmMzE0MDUiLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImlkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4wIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlzc3VhbmNlRGF0ZSI6IjIwMjQtMDktMjNUMjA6MTA6NTVaIn19.J973agOKxCxWXEi7_teR6TiSPA3wsLbft2XkoQekxxqPtMiSQqqiRLFL0nMrdaSJ7SoJPRC6cKm_DF-b2YyEDg], additionalProperties={presentation_submission={definitionId=test_presentation_definition, descriptorMap=[{format=jwt_vc, id=test_input, path=$.verifiableCredential[0]}], id=dcb8d43d-89ef-45ed-8816-0bc74386ec42}}, rustCoreVerifiablePresentation=web5.sdk.rust.VerifiablePresentation@bdd2027)

Decoded VP Holder URI: did:jwk:eyJhbGciOiJFZDI1NTE5Iiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsIngiOiJMT1F5bm96MGxrUzlxSUtCampuSXhzV1RnVlR6ODRTSi1ZTG1idnNMbUdVIn0

Verifiable Credentials in VP:
eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmp3azpleUpoYkdjaU9pSkZaREkxTlRFNUlpd2lhM1I1SWpvaVQwdFFJaXdpWTNKMklqb2lSV1F5TlRVeE9TSXNJbmdpT2lKVU5FOTViMjlEWVVSSFNXWTBiRFJhWnpkeGIwRXpia2xPY0hKSFVVUnBWWFJLVTFvMVRIZG9aakUwSW4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pbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlzc3VhbmNlRGF0ZSI6IjIwMjQtMDktMjNUMjA6MTA6NTVaIn19.J973agOKxCxWXEi7_teR6TiSPA3wsLbft2XkoQekxxqPtMiSQqqiRLFL0nMrdaSJ7SoJPRC6cKm_DF-b2YyEDg

Presentation Submission from decoded VP:
{definitionId=test_presentation_definition, descriptorMap=[{format=jwt_vc, id=test_input, path=$.verifiableCredential[0]}], id=dcb8d43d-89ef-45ed-8816-0bc74386ec42}

Decoded Presentation Submission object:
PresentationSubmission(id=dcb8d43d-89ef-45ed-8816-0bc74386ec42, definitionId=test_presentation_definition, descriptorMap=[InputDescriptorMapping(id=test_input, format=jwt_vc, path=$.verifiableCredential[0], pathNested=null)])

Presentation submissions match.

Process finished with exit code 0

@nitro-neal nitro-neal changed the title Update example Update Example Sep 23, 2024
@nitro-neal nitro-neal changed the title Update Example Update Example To Use Production Jar Sep 23, 2024
@nitro-neal nitro-neal merged commit a87c16a into main Sep 25, 2024
25 checks passed
@nitro-neal nitro-neal deleted the update-example branch September 25, 2024 17:21
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