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

feat: add oidc4vci protocol MVP #1182

Merged
merged 3 commits into from
Jun 14, 2024
Merged

feat: add oidc4vci protocol MVP #1182

merged 3 commits into from
Jun 14, 2024

Conversation

patlo-iog
Copy link
Contributor

@patlo-iog patlo-iog commented Jun 13, 2024

Description:

Summarize the changes you're submitting in a few sentences, including Jira ticket ATL-5751 if applicable.
Link to any discussion, related issues and bug reports to give the context to help the reviewer understand the PR.

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

yshyn-iohk and others added 2 commits June 13, 2024 22:30
Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): implement Nonce stub endpoint for OIDC credential issuer

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): add CredentialIssuerService mock and get walletId by prism DID method

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): implement the VC issuance flow with the dummy data

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): implement the VC issuance flow with the dummy data

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: credential offer endpoint and keycloak plugin wip (#935)

Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): add IssuanceSession and NonceService

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: add example instruction how to run

Signed-off-by: Pat Losoponkul <[email protected]>

fix: integrate oidc4vc CredentialOffer to IssuanceSession (#943)

Signed-off-by: Pat Losoponkul <[email protected]>

doc(agent): add the details to the readme.md and change the port of the mock server

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore: resolve rebase conflict

Signed-off-by: Pat Losoponkul <[email protected]>

chore: resolve rebase conflict

Signed-off-by: Pat Losoponkul <[email protected]>

chore: resolve merge compilation conflict

Signed-off-by: Pat Losoponkul <[email protected]>

feat: oidc4vc issuer metadata and credential configuration CRUD (#977)

Signed-off-by: Kranium Gikos Mendoza <[email protected]>
Co-authored-by: womfoo <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

test: fix test layer make it pass

Signed-off-by: Pat Losoponkul <[email protected]>

chore: resolve rename conflicts

Signed-off-by: Pat Losoponkul <[email protected]>

chore: resolve rename conflicts

Signed-off-by: Pat Losoponkul <[email protected]>

chore: clean duplicate imports

Signed-off-by: Pat Losoponkul <[email protected]>

docs: delete the architecture folder [skip ci] (#996)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: update the references to the Cloud Agent in the documentation and tutorials (#995)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: switch linter workflows to the Hyperledger CI (#997)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: fix scala-steward after moving repo to hyperledger (#993)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: expose pg_admin port on the localhost interface only (#957)

Signed-off-by: Roberto Carvajal <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: cloud-agent OAS breaking change detection (#1000)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: fix megalinter PR creation (#1003)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: cleanup other prism term entries (#1001)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore: update Coveralls badge [skip ci] (#1005)

Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: improve OAS docs for Event and IAM section (#1007)

Signed-off-by: Pat Losoponkul <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Fix OneOf OpenAPI Serialization Issue (#1010)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: remove prism-crypto dependency (#1015)

Signed-off-by: Pat Losoponkul <[email protected]>

ci: semantic-release upgrade, oasdiff fix (#1017)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.32.1 release

* expose pg_admin port on the localhost interface only ([#957](#957)) ([73674b5](73674b5))
* Fix OneOf OpenAPI Serialization Issue ([#1010](#1010)) ([393c296](393c296))
* remove prism-crypto dependency ([#1015](#1015)) ([46e594c](46e594c))
* update open-api-spec and generator script and package.json ([#990](#990)) ([88c1b5e](88c1b5e))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: integration test (#1011)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: oid4vci credential configuration and metadata endpoints (#1021)

Signed-off-by: Pat Losoponkul <[email protected]>

feat: rename `prism-agent` to `cloud-agent` (#1019)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.33.0 release

* integration test ([#1011](#1011)) ([d674f31](d674f31))

* rename `prism-agent` to `cloud-agent` ([#1019](#1019)) ([74560da](74560da))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

test: add tests for oid4vci credential configuration CRUD (#1027)

Signed-off-by: Pat Losoponkul <[email protected]>

chore: update OID4VCI example script to use issuer metadata (#1036)

Signed-off-by: Pat Losoponkul <[email protected]>

Merge branch main into oidc

Signed-off-by: Pat Losoponkul <[email protected]>

test: add tests for the new key types (#1044)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: expose new key types in rest api (#1066)

Signed-off-by: Pat Losoponkul <[email protected]>

docs: rename ADRs in the scope of rebranding to the Identus ATL-7050 (#1053)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: fix scala steward DCO signature (#1057)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.33.1 release

* broken link for the cloud agent packages in readme file ([#1032](#1032)) ([92d17c2](92d17c2))
* expose new key types in rest api ([#1066](#1066)) ([9ce8d3a](9ce8d3a))
* rename the folder to identus for vc-jwt ([#1063](#1063)) ([364a5dc](364a5dc))

* update ts client in the performance tests, cleanup `println` ([#1041](#1041)) ([7d5ceba](7d5ceba))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

test: add DID Registrar test scenario to use new key types (#1071)

Signed-off-by: Pat Losoponkul <[email protected]>

ci: scala steward DCO by hardcoding the message (#1074)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(deps): bump requests from 2.26.0 to 2.32.0 in /infrastructure/utils/python/github-helpers in the pip group across 1 directory (#1070)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: use branch name in pre-release version name (#1080)

Signed-off-by: Pat Losoponkul <[email protected]>

docs: rebranding to the Identus, OEA->ICA (#1081)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Pete Vielhaber <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: add identus logo to README.md [skip ci] (#1084)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

build: protobuf dependency update (#1077)

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

build: internal dependency updates (#1079)

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

build: sbt and plugins dependency update (#1078)

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: update new key types in DID tutorials [skip ci] (#1085)

Signed-off-by: Pat Losoponkul <[email protected]>

build: DAL dependency update (#1076)

Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: Add ADR for resources storage (#1087)

Signed-off-by: EzequielPostan <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

test: add jwt revocation test scenario (#951)

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: fail megalinter check when there are autofixes (#1092)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore: fix slack notification message tag (#1091)

Signed-off-by: Allain Magyar <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: update the architecture diagram and typos in ADRs [skip ci] (#1093)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: fail the build when the megalinter found the issues [skip ci] (#1095)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs: update website link to Identus (#1096)

Signed-off-by: Michael Breuninger <[email protected]>
Signed-off-by: mkbreuning <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: integrate issuer metadata in oid4vci credential endpoint (#1105)

Signed-off-by: Pat Losoponkul <[email protected]>

ci: fix linter warnings (#1109)

Signed-off-by: Pat Losoponkul <[email protected]>

feat: Rename helm chart and its resources (#1104)

Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.34.0 release

* Rename helm chart and its resources ([#1104](#1104)) ([84c5cea](84c5cea))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: integrate SD JWT (#1016)

Signed-off-by: FabioPinheiro <[email protected]>
Signed-off-by: mineme0110 <[email protected]>
Co-authored-by: mineme0110 <[email protected]>

build: sbt and plugins dependency update (#1102)

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

test: updates integration test tags (#1098)

Signed-off-by: Allain Magyar <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): ATL-6839 migrate DIDComm endpoint to tapir (#1116)

Signed-off-by: Benjamin Voiturier <[email protected]>

Resolve merge conflicts

Signed-off-by: Pat Losoponkul <[email protected]>

fix: re-number migration

Signed-off-by: Pat Losoponkul <[email protected]>

ci: switch to the GitHub runners (#1121)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore: scalafmt import rewrite (#1120)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: VC Verification API Doc (#1118)

Signed-off-by: Bassam Riman <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix:  SemanticCheckOfClaims In Verification API (#1124)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: revert switch to the GitHub runners (#1123)

Signed-off-by: Pat Losoponkul <[email protected]>

fix:  update the jose dependency and switch back to the official library (#1117)

Signed-off-by: mineme0110 <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: make oidc local script work (#1131)

Signed-off-by: Pat Losoponkul <[email protected]>

feat: authentication for oid4vci credential and nonce endpoint (#1148)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: update issuer auth server model parity (#1154)

Signed-off-by: Pat Losoponkul <[email protected]>

feat(agent): validate JWT proof in the credential request, update dem… (#1165)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>

feat: add claims to the VC (#1176)

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore: migrate oid4vci example to published keycloak plugin (#1174)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: add claims validation when creating oid4vci credential offer (#1178)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: Changing .chart.name reference, adding name override (#1129)

Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.35.0 release

*  SemanticCheckOfClaims In Verification API ([#1124](#1124)) ([7cb4192](7cb4192))
*  update the jose dependency and switch back to the official library ([#1117](#1117)) ([3608aaf](3608aaf))
* Changing .chart.name reference, adding name override ([#1129](#1129)) ([650ae3b](650ae3b))
* VC Verification API Doc ([#1118](#1118)) ([d70d4b7](d70d4b7))

* **agent:** ATL-6839 migrate DIDComm endpoint to tapir ([#1116](#1116)) ([2f4f7c3](2f4f7c3))
* integrate SD JWT ([#1016](#1016)) ([9d7948f](9d7948f))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

docs(agent): Regenerate PNG images from updated PUML files (#1128)

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Add expiration time for cloud-agent (#1132)

Signed-off-by: mineme0110 <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

style: remove deprecated Scala syntax (#1134)

Signed-off-by: FabioPinheiro <[email protected]>

fix: Chart refactor (#1143)

Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.35.1 release

* Add expiration time for cloud-agent ([#1132](#1132)) ([f719120](f719120))
* Chart refactor ([#1143](#1143)) ([f309a0e](f309a0e))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: add custom DCO check action [skip ci] (#1142)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: Schema Error Handling (#1138)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

ci: revert custom DCO check action [skip ci] (#1147)

Signed-off-by: Pat Losoponkul <[email protected]>

test: add checks for prism did creation (#1144)

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

style: remove unused imports (#1135)

Signed-off-by: FabioPinheiro <[email protected]>

docs: updating the hdkey ADR  [skip ci]  (#1149)

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: improve ZIO failures and defects in credential definition (#1133)

Signed-off-by: FabioPinheiro <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Credential Defintion Error Handling Part 2 (#1155)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Credential Defintion Error Handling Part 2 (#1156)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: Remove double Error logs in DIDController (#1140)

fix: pick right key type when creating corresponding issuer (#1157)

Signed-off-by: Pat Losoponkul <[email protected]>

build: internal dependency updates (#1126)

Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Update the Holder to send the presentation only, No claims to disclose is needed separately  (#1158)

Signed-off-by: mineme0110 <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Helm chart refactor (#1160)

Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.36.0 release

* Credential Defintion Error Handling Part 2 ([#1155](#1155)) ([2df5306](2df5306))
* Credential Defintion Error Handling Part 2 ([#1156](#1156)) ([5755504](5755504))
* Helm chart refactor ([#1160](#1160)) ([4b59112](4b59112))
* pick right key type when creating corresponding issuer ([#1157](#1157)) ([22f0448](22f0448))
* Schema Error Handling ([#1138](#1138)) ([a9da840](a9da840))
* Update the Holder to send the presentation only, No claims to disclose is needed separately  ([#1158](#1158)) ([9eaa5d4](9eaa5d4))

* improve ZIO failures and defects in credential definition ([#1133](#1133)) ([d6dfb72](d6dfb72))
* Remove double Error logs in DIDController ([#1140](#1140)) ([888ebb4](888ebb4))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: Helm chart refactor vol2 (#1162)

Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.36.1 release

* Helm chart refactor vol2 ([#1162](#1162)) ([72fc6d1](72fc6d1))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow (#1139)

Signed-off-by: Benjamin Voiturier <[email protected]>

feat: use the compact format in SD-JWT (#1169)

Signed-off-by: Pat Losoponkul <[email protected]>

fix: Present Error Handling (Part 1: Repo Changes) (#1172)

Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

feat: ATL 6829 - Integrate ZIO failures and defects ADR in credential status list (#1175)

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>

fix: resolve merge conflict and error interface

chore: use latest snaptshot version for example

Signed-off-by: Pat Losoponkul <[email protected]>

style: fix and fmt

Signed-off-by: Pat Losoponkul <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Copy link
Contributor

github-actions bot commented Jun 13, 2024

Integration Test Results

15 files  ±0  15 suites  ±0   2s ⏱️ ±0s
33 tests ±0  33 ✅ ±0  0 💤 ±0  0 ❌ ±0 
46 runs  ±0  46 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 3aded08. ± Comparison against base commit 9ac6e52.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Jun 13, 2024

Unit Test Results

 95 files  + 3   95 suites  +3   23m 16s ⏱️ + 2m 1s
821 tests +35  813 ✅ +35  8 💤 ±0  0 ❌ ±0 
828 runs  +35  820 ✅ +35  8 💤 ±0  0 ❌ ±0 

Results for commit 3aded08. ± Comparison against base commit 9ac6e52.

♻️ This comment has been updated with latest results.

import com.nimbusds.jose.crypto.{ECDSASigner, Ed25519Signer}
import com.nimbusds.jose.crypto.bc.BouncyCastleProviderSingleton
import com.nimbusds.jose.jwk.{Curve, ECKey}
import com.nimbusds.jwt.{JWTClaimsSet, SignedJWT}
import io.circe.*
import org.hyperledger.identus.shared.crypto.Ed25519KeyPair
import org.hyperledger.identus.shared.crypto.{Ed25519KeyPair, Secp256k1PrivateKey}
Copy link
Contributor

Choose a reason for hiding this comment

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

I have changes in my branch for keyId and signer and extraction

@yshyn-iohk yshyn-iohk merged commit 3ae91dc into main Jun 14, 2024
15 checks passed
@yshyn-iohk yshyn-iohk deleted the oidc-merge-main branch June 14, 2024 09:15
hyperledger-bot added a commit that referenced this pull request Jul 1, 2024
# [1.37.0-snapshot.test.1](cloud-agent-v1.36.1...cloud-agent-v1.37.0-snapshot.test.1) (2024-07-01)

### Bug Fixes

* avoid name and operationId conflict when creating oas client ([#1233](#1233)) ([73e8e24](73e8e24))
* incorrect parsing of public key coordinates and enable some tests again ([#1215](#1215)) ([5398a75](5398a75))
* KeyID from String to Opaque Type and presentation job cleanup  ([#1190](#1190)) ([b813faf](b813faf))
* make init-script.sh idempotent [#1173](#1173) ([#1194](#1194)) ([1712062](1712062))
* migrate and repair in case of renaming issues ([#1211](#1211)) ([cb4d479](cb4d479))
* Present Error Handling (Part 1: Repo Changes) ([#1172](#1172)) ([13e2447](13e2447))
* Present Error Handling Job ([#1204](#1204)) ([3191d8b](3191d8b))
* present error handling Part 2 ([#1177](#1177)) ([9ac6e52](9ac6e52))
* Verification Policy Error Handling ([#1228](#1228)) ([6117a3c](6117a3c))

### Features

* add oidc4vci protocol MVP ([#1182](#1182)) ([3ae91dc](3ae91dc))
* add schemaId to the issuance session ([#1199](#1199)) ([97f5d83](97f5d83))
* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](#1127)) ([e617ded](e617ded))
* **agent:** add browser fingerprint label to http metrics ([#1231](#1231)) ([f090554](f090554))
* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](#1175)) ([dffad1d](dffad1d))
* ATL-6832 ZIO failures and defects in entity controller ([#1203](#1203)) ([9050094](9050094))
* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](#1186)) ([8bc2018](8bc2018))
* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](#1139)) ([ede7b77](ede7b77))
* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](#1218)) ([e3cadc9](e3cadc9))
* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](#1192)) ([a4ce87f](a4ce87f))
* improve OpenAPI's PresentProof to make more consistent ([#1130](#1130)) ([bdc5d20](bdc5d20))
* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](#1180)) ([d8e2120](d8e2120))
* SDJWT holder key binding ([#1185](#1185)) ([628f2f0](628f2f0))
* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](#1184)) ([ee53eda](ee53eda))
* use the compact format in SD-JWT ([#1169](#1169)) ([65da651](65da651))

Signed-off-by: Allain Magyar <[email protected]>
patlo-iog pushed a commit that referenced this pull request Jul 1, 2024
# [1.37.0-snapshot.test.1](cloud-agent-v1.36.1...cloud-agent-v1.37.0-snapshot.test.1) (2024-07-01)

### Bug Fixes

* avoid name and operationId conflict when creating oas client ([#1233](#1233)) ([73e8e24](73e8e24))
* incorrect parsing of public key coordinates and enable some tests again ([#1215](#1215)) ([5398a75](5398a75))
* KeyID from String to Opaque Type and presentation job cleanup  ([#1190](#1190)) ([b813faf](b813faf))
* make init-script.sh idempotent [#1173](#1173) ([#1194](#1194)) ([1712062](1712062))
* migrate and repair in case of renaming issues ([#1211](#1211)) ([cb4d479](cb4d479))
* Present Error Handling (Part 1: Repo Changes) ([#1172](#1172)) ([13e2447](13e2447))
* Present Error Handling Job ([#1204](#1204)) ([3191d8b](3191d8b))
* present error handling Part 2 ([#1177](#1177)) ([9ac6e52](9ac6e52))
* Verification Policy Error Handling ([#1228](#1228)) ([6117a3c](6117a3c))

### Features

* add oidc4vci protocol MVP ([#1182](#1182)) ([3ae91dc](3ae91dc))
* add schemaId to the issuance session ([#1199](#1199)) ([97f5d83](97f5d83))
* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](#1127)) ([e617ded](e617ded))
* **agent:** add browser fingerprint label to http metrics ([#1231](#1231)) ([f090554](f090554))
* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](#1175)) ([dffad1d](dffad1d))
* ATL-6832 ZIO failures and defects in entity controller ([#1203](#1203)) ([9050094](9050094))
* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](#1186)) ([8bc2018](8bc2018))
* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](#1139)) ([ede7b77](ede7b77))
* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](#1218)) ([e3cadc9](e3cadc9))
* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](#1192)) ([a4ce87f](a4ce87f))
* improve OpenAPI's PresentProof to make more consistent ([#1130](#1130)) ([bdc5d20](bdc5d20))
* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](#1180)) ([d8e2120](d8e2120))
* SDJWT holder key binding ([#1185](#1185)) ([628f2f0](628f2f0))
* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](#1184)) ([ee53eda](ee53eda))
* use the compact format in SD-JWT ([#1169](#1169)) ([65da651](65da651))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
patlo-iog pushed a commit that referenced this pull request Jul 1, 2024
# [1.37.0-snapshot.test.1](cloud-agent-v1.36.1...cloud-agent-v1.37.0-snapshot.test.1) (2024-07-01)

### Bug Fixes

* avoid name and operationId conflict when creating oas client ([#1233](#1233)) ([73e8e24](73e8e24))
* incorrect parsing of public key coordinates and enable some tests again ([#1215](#1215)) ([5398a75](5398a75))
* KeyID from String to Opaque Type and presentation job cleanup  ([#1190](#1190)) ([b813faf](b813faf))
* make init-script.sh idempotent [#1173](#1173) ([#1194](#1194)) ([1712062](1712062))
* migrate and repair in case of renaming issues ([#1211](#1211)) ([cb4d479](cb4d479))
* Present Error Handling (Part 1: Repo Changes) ([#1172](#1172)) ([13e2447](13e2447))
* Present Error Handling Job ([#1204](#1204)) ([3191d8b](3191d8b))
* present error handling Part 2 ([#1177](#1177)) ([9ac6e52](9ac6e52))
* Verification Policy Error Handling ([#1228](#1228)) ([6117a3c](6117a3c))

### Features

* add oidc4vci protocol MVP ([#1182](#1182)) ([3ae91dc](3ae91dc))
* add schemaId to the issuance session ([#1199](#1199)) ([97f5d83](97f5d83))
* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](#1127)) ([e617ded](e617ded))
* **agent:** add browser fingerprint label to http metrics ([#1231](#1231)) ([f090554](f090554))
* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](#1175)) ([dffad1d](dffad1d))
* ATL-6832 ZIO failures and defects in entity controller ([#1203](#1203)) ([9050094](9050094))
* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](#1186)) ([8bc2018](8bc2018))
* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](#1139)) ([ede7b77](ede7b77))
* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](#1218)) ([e3cadc9](e3cadc9))
* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](#1192)) ([a4ce87f](a4ce87f))
* improve OpenAPI's PresentProof to make more consistent ([#1130](#1130)) ([bdc5d20](bdc5d20))
* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](#1180)) ([d8e2120](d8e2120))
* SDJWT holder key binding ([#1185](#1185)) ([628f2f0](628f2f0))
* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](#1184)) ([ee53eda](ee53eda))
* use the compact format in SD-JWT ([#1169](#1169)) ([65da651](65da651))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
patlo-iog pushed a commit that referenced this pull request Jul 1, 2024
Signed-off-by: Pat Losoponkul <[email protected]>

test: remove println

Signed-off-by: Pat Losoponkul <[email protected]>

chore(release): cut Identus Cloud agent 1.37.0-snapshot.test.1 release

* avoid name and operationId conflict when creating oas client ([#1233](#1233)) ([73e8e24](73e8e24))
* incorrect parsing of public key coordinates and enable some tests again ([#1215](#1215)) ([5398a75](5398a75))
* KeyID from String to Opaque Type and presentation job cleanup  ([#1190](#1190)) ([b813faf](b813faf))
* make init-script.sh idempotent [#1173](#1173) ([#1194](#1194)) ([1712062](1712062))
* migrate and repair in case of renaming issues ([#1211](#1211)) ([cb4d479](cb4d479))
* Present Error Handling (Part 1: Repo Changes) ([#1172](#1172)) ([13e2447](13e2447))
* Present Error Handling Job ([#1204](#1204)) ([3191d8b](3191d8b))
* present error handling Part 2 ([#1177](#1177)) ([9ac6e52](9ac6e52))
* Verification Policy Error Handling ([#1228](#1228)) ([6117a3c](6117a3c))

* add oidc4vci protocol MVP ([#1182](#1182)) ([3ae91dc](3ae91dc))
* add schemaId to the issuance session ([#1199](#1199)) ([97f5d83](97f5d83))
* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](#1127)) ([e617ded](e617ded))
* **agent:** add browser fingerprint label to http metrics ([#1231](#1231)) ([f090554](f090554))
* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](#1175)) ([dffad1d](dffad1d))
* ATL-6832 ZIO failures and defects in entity controller ([#1203](#1203)) ([9050094](9050094))
* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](#1186)) ([8bc2018](8bc2018))
* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](#1139)) ([ede7b77](ede7b77))
* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](#1218)) ([e3cadc9](e3cadc9))
* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](#1192)) ([a4ce87f](a4ce87f))
* improve OpenAPI's PresentProof to make more consistent ([#1130](#1130)) ([bdc5d20](bdc5d20))
* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](#1180)) ([d8e2120](d8e2120))
* SDJWT holder key binding ([#1185](#1185)) ([628f2f0](628f2f0))
* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](#1184)) ([ee53eda](ee53eda))
* use the compact format in SD-JWT ([#1169](#1169)) ([65da651](65da651))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
hyperledger-bot added a commit that referenced this pull request Jul 1, 2024
# [1.37.0](cloud-agent-v1.36.1...cloud-agent-v1.37.0) (2024-07-01)

### Bug Fixes

* avoid name and operationId conflict when creating oas client ([#1233](#1233)) ([73e8e24](73e8e24))
* incorrect parsing of public key coordinates and enable some tests again ([#1215](#1215)) ([5398a75](5398a75))
* KeyID from String to Opaque Type and presentation job cleanup  ([#1190](#1190)) ([b813faf](b813faf))
* make init-script.sh idempotent [#1173](#1173) ([#1194](#1194)) ([1712062](1712062))
* migrate and repair in case of renaming issues ([#1211](#1211)) ([cb4d479](cb4d479))
* Present Error Handling (Part 1: Repo Changes) ([#1172](#1172)) ([13e2447](13e2447))
* Present Error Handling Job ([#1204](#1204)) ([3191d8b](3191d8b))
* present error handling Part 2 ([#1177](#1177)) ([9ac6e52](9ac6e52))
* Verification Policy Error Handling ([#1228](#1228)) ([6117a3c](6117a3c))

### Features

* add oidc4vci protocol MVP ([#1182](#1182)) ([3ae91dc](3ae91dc))
* add schemaId to the issuance session ([#1199](#1199)) ([97f5d83](97f5d83))
* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](#1127)) ([e617ded](e617ded))
* **agent:** add browser fingerprint label to http metrics ([#1231](#1231)) ([f090554](f090554))
* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](#1175)) ([dffad1d](dffad1d))
* ATL-6832 ZIO failures and defects in entity controller ([#1203](#1203)) ([9050094](9050094))
* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](#1186)) ([8bc2018](8bc2018))
* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](#1139)) ([ede7b77](ede7b77))
* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](#1218)) ([e3cadc9](e3cadc9))
* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](#1192)) ([a4ce87f](a4ce87f))
* improve OpenAPI's PresentProof to make more consistent ([#1130](#1130)) ([bdc5d20](bdc5d20))
* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](#1180)) ([d8e2120](d8e2120))
* SDJWT holder key binding ([#1185](#1185)) ([628f2f0](628f2f0))
* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](#1184)) ([ee53eda](ee53eda))
* use the compact format in SD-JWT ([#1169](#1169)) ([65da651](65da651))

Signed-off-by: Allain Magyar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants