diff --git a/CHANGELOG.md b/CHANGELOG.md index da7c93726e..0907a99844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +# [1.37.0](https://github.com/hyperledger/identus-cloud-agent/compare/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](https://github.com/hyperledger/identus-cloud-agent/issues/1233)) ([73e8e24](https://github.com/hyperledger/identus-cloud-agent/commit/73e8e2445e038ea154b0ddd0ca93f15fa9db69b4)) +* incorrect parsing of public key coordinates and enable some tests again ([#1215](https://github.com/hyperledger/identus-cloud-agent/issues/1215)) ([5398a75](https://github.com/hyperledger/identus-cloud-agent/commit/5398a75cfde7ee922588bd84608223abf389d5c1)) +* KeyID from String to Opaque Type and presentation job cleanup ([#1190](https://github.com/hyperledger/identus-cloud-agent/issues/1190)) ([b813faf](https://github.com/hyperledger/identus-cloud-agent/commit/b813faf5f076521955d4b84cab5d46d3635159a2)) +* make init-script.sh idempotent [#1173](https://github.com/hyperledger/identus-cloud-agent/issues/1173) ([#1194](https://github.com/hyperledger/identus-cloud-agent/issues/1194)) ([1712062](https://github.com/hyperledger/identus-cloud-agent/commit/1712062cafcba4a46f4d190a7ef628208d21ce7b)) +* migrate and repair in case of renaming issues ([#1211](https://github.com/hyperledger/identus-cloud-agent/issues/1211)) ([cb4d479](https://github.com/hyperledger/identus-cloud-agent/commit/cb4d47927c4d6f1c02e4fcf95a52e5ce074d2724)) +* Present Error Handling (Part 1: Repo Changes) ([#1172](https://github.com/hyperledger/identus-cloud-agent/issues/1172)) ([13e2447](https://github.com/hyperledger/identus-cloud-agent/commit/13e244738c54bcc43bbea694acebc9b372a1ccb5)) +* Present Error Handling Job ([#1204](https://github.com/hyperledger/identus-cloud-agent/issues/1204)) ([3191d8b](https://github.com/hyperledger/identus-cloud-agent/commit/3191d8b933e1e7e08ccd5dd95dbcfddb1ae8bb01)) +* present error handling Part 2 ([#1177](https://github.com/hyperledger/identus-cloud-agent/issues/1177)) ([9ac6e52](https://github.com/hyperledger/identus-cloud-agent/commit/9ac6e52ec447710ae7917d8176dcb0ebdc6b2e0d)) +* Verification Policy Error Handling ([#1228](https://github.com/hyperledger/identus-cloud-agent/issues/1228)) ([6117a3c](https://github.com/hyperledger/identus-cloud-agent/commit/6117a3cc00121c34a06fd680b1a0b4df4b188f49)) + + +### Features + +* add oidc4vci protocol MVP ([#1182](https://github.com/hyperledger/identus-cloud-agent/issues/1182)) ([3ae91dc](https://github.com/hyperledger/identus-cloud-agent/commit/3ae91dce17e5925aad8d5ce3471527889f26c6de)) +* add schemaId to the issuance session ([#1199](https://github.com/hyperledger/identus-cloud-agent/issues/1199)) ([97f5d83](https://github.com/hyperledger/identus-cloud-agent/commit/97f5d833d7988d59c4fd51459ee3d48d779399a3)) +* add support for EcdsaSecp256k1Signature2019Proof and fix pk encoding for EddsaJcs2022Proof ([#1127](https://github.com/hyperledger/identus-cloud-agent/issues/1127)) ([e617ded](https://github.com/hyperledger/identus-cloud-agent/commit/e617dedd962f379033ae199d40addd222bf945da)) +* **agent:** add browser fingerprint label to http metrics ([#1231](https://github.com/hyperledger/identus-cloud-agent/issues/1231)) ([f090554](https://github.com/hyperledger/identus-cloud-agent/commit/f09055455df7ebc316fbc6f0e6bf610a05a278a1)) +* ATL 6829 - Integrate ZIO failures and defects ADR in credential status list ([#1175](https://github.com/hyperledger/identus-cloud-agent/issues/1175)) ([dffad1d](https://github.com/hyperledger/identus-cloud-agent/commit/dffad1d0bc07248f1559651ddce82629231c6cf7)) +* ATL-6832 ZIO failures and defects in entity controller ([#1203](https://github.com/hyperledger/identus-cloud-agent/issues/1203)) ([9050094](https://github.com/hyperledger/identus-cloud-agent/commit/905009490cf0c360431fa235cf26609bea9b951b)) +* ATL-6833 integrate ZIO failures and defects in wallet event controller ([#1186](https://github.com/hyperledger/identus-cloud-agent/issues/1186)) ([8bc2018](https://github.com/hyperledger/identus-cloud-agent/commit/8bc2018bd1ca6d1aa679e1935cde5996602b8ae5)) +* ATL-6834 Use ZIO Failures and Defects effectively in the Issue flow ([#1139](https://github.com/hyperledger/identus-cloud-agent/issues/1139)) ([ede7b77](https://github.com/hyperledger/identus-cloud-agent/commit/ede7b770341d1efd5026f7badc1f963ecfefcdef)) +* Handle Error in Background Jobs - Improve the way we store errors and defects in DB ([#1218](https://github.com/hyperledger/identus-cloud-agent/issues/1218)) ([e3cadc9](https://github.com/hyperledger/identus-cloud-agent/commit/e3cadc9eb7f3adde05548345c456d1c059356a1c)) +* implement ADR Use ZIO Failures and Defects Effectively - Mercury should not throw exceptions ([#1192](https://github.com/hyperledger/identus-cloud-agent/issues/1192)) ([a4ce87f](https://github.com/hyperledger/identus-cloud-agent/commit/a4ce87fd709102e0a5e597e5ba50891e01d46a51)) +* improve OpenAPI's PresentProof to make more consistent ([#1130](https://github.com/hyperledger/identus-cloud-agent/issues/1130)) ([bdc5d20](https://github.com/hyperledger/identus-cloud-agent/commit/bdc5d207a6d1567b9dca88f4d72300de091d1d24)) +* Integrate ZIO failures and defects ADR in DID Registrar Controller and Mercury ([#1180](https://github.com/hyperledger/identus-cloud-agent/issues/1180)) ([d8e2120](https://github.com/hyperledger/identus-cloud-agent/commit/d8e21201f2b07cd03afbba8fb668329105048ba2)) +* SDJWT holder key binding ([#1185](https://github.com/hyperledger/identus-cloud-agent/issues/1185)) ([628f2f0](https://github.com/hyperledger/identus-cloud-agent/commit/628f2f07b29824a899b2c50b0d9cd1c5449bd0e7)) +* use kid in the jwt proof header of OID4VCI CredentialIssue request ([#1184](https://github.com/hyperledger/identus-cloud-agent/issues/1184)) ([ee53eda](https://github.com/hyperledger/identus-cloud-agent/commit/ee53edae1fc0bb7f06770a835234052de46665f5)) +* use the compact format in SD-JWT ([#1169](https://github.com/hyperledger/identus-cloud-agent/issues/1169)) ([65da651](https://github.com/hyperledger/identus-cloud-agent/commit/65da65185ebda33cab499e87196bf9ce3543b3aa)) + ## [1.36.1](https://github.com/hyperledger/identus-cloud-agent/compare/cloud-agent-v1.36.0...cloud-agent-v1.36.1) (2024-06-09) diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index f93ea67081..f25d5d9208 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -3,9 +3,9 @@ Category | License | Dependency | Notes --- | --- | --- | --- Apache | [APL2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [net.reactivecore # circe-json-schema_2.13 # 0.4.1](https://github.com/reactivecore/rc-circe-json-schema) | -Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # lenses_3 # 0.11.15](https://github.com/scalapb/ScalaPB) | -Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # scalapb-runtime-grpc_3 # 0.11.15](https://github.com/scalapb/ScalaPB) | -Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # scalapb-runtime_3 # 0.11.15](https://github.com/scalapb/ScalaPB) | +Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # lenses_3 # 0.11.17](https://github.com/scalapb/ScalaPB) | +Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # scalapb-runtime-grpc_3 # 0.11.17](https://github.com/scalapb/ScalaPB) | +Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.thesamet.scalapb # scalapb-runtime_3 # 0.11.17](https://github.com/scalapb/ScalaPB) | Apache | [Apache 2](http://www.apache.org/licenses/LICENSE-2.0) | [io.lemonlabs # scala-uri_3 # 4.0.3](https://github.com/lemonlabsuk/scala-uri) | Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [com.google.android # annotations # 4.1.1.4](http://source.android.com/) | Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | com.google.errorprone # error_prone_annotations # 2.23.0 | @@ -49,14 +49,14 @@ Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [com.softwar Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | com.squareup.okhttp3 # okhttp # 3.14.9 | Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | com.squareup.okio # okio # 1.17.2 | Apache | [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [io.circe # circe-yaml_3 # 0.14.2](https://github.com/circe/circe-yaml) | -Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-api # 1.61.0](https://github.com/grpc/grpc-java) | +Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-api # 1.62.2](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-api # 1.63.0](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-context # 1.63.0](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-core # 1.63.0](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-okhttp # 1.63.0](https://github.com/grpc/grpc-java) | -Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-protobuf # 1.61.0](https://github.com/grpc/grpc-java) | -Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-protobuf-lite # 1.61.0](https://github.com/grpc/grpc-java) | -Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-stub # 1.61.0](https://github.com/grpc/grpc-java) | +Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-protobuf # 1.62.2](https://github.com/grpc/grpc-java) | +Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-protobuf-lite # 1.62.2](https://github.com/grpc/grpc-java) | +Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-stub # 1.62.2](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.grpc # grpc-util # 1.63.0](https://github.com/grpc/grpc-java) | Apache | [Apache 2.0](https://opensource.org/licenses/Apache-2.0) | [io.perfmark # perfmark-api # 0.26.0](https://github.com/perfmark/perfmark) | Apache | [Apache 2.0](https://github.com/swagger-api/swagger-ui) | [org.webjars # swagger-ui # 5.1.3](http://webjars.org) | @@ -85,6 +85,11 @@ Apache | [Apache License v2.0](https://www.apache.org/licenses/LICENSE-2.0) | [f Apache | [Apache License v2.0](https://www.apache.org/licenses/LICENSE-2.0) | [fr.acinq.secp256k1 # secp256k1-kmp-jni-jvm-mingw # 0.11.0](https://github.com/ACINQ/secp256k1-kmp) | Apache | [Apache License v2.0](https://www.apache.org/licenses/LICENSE-2.0) | [fr.acinq.secp256k1 # secp256k1-kmp-jvm # 0.14.0](https://github.com/ACINQ/secp256k1-kmp) | Apache | [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [net.java.dev.jna # jna # 5.3.1](https://github.com/java-native-access/jna) | +Apache | [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) | [com.apicatalog # carbon-did # 0.3.0](https://github.com/filip26/carbon-decentralized-identifiers) | +Apache | [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) | [com.apicatalog # copper-multibase # 0.5.0](https://github.com/filip26/copper-multibase) | +Apache | [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) | [com.apicatalog # copper-multicodec # 0.1.1](https://github.com/filip26/ccopper-multicodec) | +Apache | [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) | [com.apicatalog # iron-verifiable-credentials # 0.14.0](https://github.com/filip26/iron-verifiable-credentials) | +Apache | [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0) | [com.apicatalog # titanium-json-ld # 1.4.0](https://github.com/filip26/titanium-json-ld) | Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [com.ethlo.time # itu # 1.8.0](https://github.com/ethlo/itu) | Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [com.github.ben-manes.caffeine # caffeine # 3.1.8](https://github.com/ben-manes/caffeine) | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.github.stephenc.jcip # jcip-annotations # 1.0-1](http://stephenc.github.com/jcip-annotations) | @@ -204,7 +209,6 @@ Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala- Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang # scaladoc_3 # 3.3.3](https://github.com/lampepfl/dotty) | Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang # scalap # 2.13.13](https://www.scala-lang.org/) | Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang # tasty-core_3 # 3.3.3](https://github.com/lampepfl/dotty) | -Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang.modules # scala-collection-compat_3 # 2.11.0](http://www.scala-lang.org/) | Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang.modules # scala-collection-compat_3 # 2.12.0](http://www.scala-lang.org/) | Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang.modules # scala-collection-compat_3 # 2.9.0](http://www.scala-lang.org/) | Apache | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | [org.scala-lang.modules # scala-parallel-collections_3 # 1.0.4](http://www.scala-lang.org/) | @@ -235,6 +239,7 @@ Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENS Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.zmannotes # varint # 1.0.0](https://github.com/zman2013/varint) | Apache | [The Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [io.iohk.atala # sd-jwt-kmp-jvm # 0.1.2](https://docs.atalaprism.io/) | Apache | [The Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [io.iohk.atala.prism.apollo # apollo-jvm # 1.3.4](https://docs.atalaprism.io/) | +Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [io.setl # rdf-urdna # 1.1](https://github.com/setl/rdf-urdna) | Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.didcommx # didcomm # 0.3.2](https://github.com/sicpa-dlab/didcomm-jvm) | Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.didcommx # peerdid # 0.5.0](https://github.com/sicpa-dlab/peer-did-jvm) | Apache | [The Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlin # kotlin-stdlib # 1.8.22](https://kotlinlang.org/) | @@ -316,7 +321,6 @@ Apache | [the Apache License, ASL Version 2.0](http://www.apache.org/licenses/LI Apache | [the Apache License, ASL Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [org.scalatest # scalatest-shouldmatchers_3 # 3.2.16](http://www.scalatest.org) | Apache | [the Apache License, ASL Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [org.scalatest # scalatest-wordspec_3 # 3.2.16](http://www.scalatest.org) | Apache | [the Apache License, ASL Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [org.scalatest # scalatest_3 # 3.2.16](http://www.scalatest.org) | -BSD | [3-Clause BSD License](https://opensource.org/licenses/BSD-3-Clause) | com.google.protobuf # protobuf-java # 3.14.0 | BSD | [3-Clause BSD License](https://opensource.org/licenses/BSD-3-Clause) | com.google.protobuf # protobuf-javalite # 3.18.0 | BSD | [BSD](https://github.com/sbt/test-interface/blob/master/LICENSE) | [org.scala-sbt # test-interface # 1.0](http://www.scala-sbt.org) | BSD | [BSD](https://github.com/scalameta/scalameta/blob/main/LICENSE.md) | [org.scalameta # common_2.13 # 4.9.3](https://github.com/scalameta/scalameta) | @@ -364,6 +368,7 @@ Bouncy Castle License | [Bouncy Castle Licence](http://www.bouncycastle.org/lice Bouncy Castle License | [Bouncy Castle Licence](http://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcprov-jdk15to18 # 1.69](http://www.bouncycastle.org/java.html) | EPL | [Eclipse Public License 1.0](http://www.eclipse.org/legal/epl-v10.html) | [junit # junit # 4.13.1](http://junit.org) | EPL | [Eclipse Public License 1.0](http://www.eclipse.org/legal/epl-v10.html) | [junit # junit # 4.13.2](http://junit.org) | +GPL with Classpath Extension | [GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp) | [org.glassfish # jakarta.json # 2.0.1](https://github.com/eclipse-ee4j/jsonp) | LGPL | [GNU Lesser General Public License](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) | ch.qos.logback # logback-classic # 1.4.14 | LGPL | [GNU Lesser General Public License](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) | ch.qos.logback # logback-core # 1.4.14 | MIT | [MIT](http://opensource.org/licenses/MIT) | [co.fs2 # fs2-core_3 # 3.9.3](https://typelevel.org/fs2) | @@ -417,34 +422,34 @@ MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafe Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.hdrhistogram # HdrHistogram # 2.1.12](http://hdrhistogram.github.io/HdrHistogram/) | Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.latencyutils # LatencyUtils # 2.0.3](http://latencyutils.github.io/LatencyUtils/) | none specified | []() | [net.jcip # jcip-annotations # 1.0](http://jcip.net/) | -none specified | []() | [org.hyperledger # castor-core_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # cloud-agent-wallet-api_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # connect-core_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # connect-sql-doobie_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # event-notification_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-agent-core_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-agent-didcommx_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-data-models_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-connection_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-coordinate-mediation_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-invitation_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-issue-credential_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-mailbox_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-outofband-login_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-present-proof_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-report-problem_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-revocation-notification_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-routing-2-0_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-protocol-trust-ping_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-resolver_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # mercury-verifiable-credentials_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # pollux-anoncreds_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # pollux-core_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # pollux-sd-jwt_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # pollux-sql-doobie_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # pollux-vc-jwt_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # prism-node-client_3 # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # shared # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # shared-crypto # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | -none specified | []() | [org.hyperledger # shared-test # 1.36.0-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # castor-core_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # cloud-agent-wallet-api_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # connect-core_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # connect-sql-doobie_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # event-notification_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-agent-core_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-agent-didcommx_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-data-models_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-connection_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-coordinate-mediation_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-invitation_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-issue-credential_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-mailbox_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-outofband-login_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-present-proof_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-report-problem_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-revocation-notification_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-routing-2-0_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-protocol-trust-ping_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-resolver_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # mercury-verifiable-credentials_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # pollux-anoncreds_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # pollux-core_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # pollux-sd-jwt_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # pollux-sql-doobie_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # pollux-vc-jwt_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # prism-node-client_3 # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # shared # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # shared-crypto # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | +none specified | []() | [org.hyperledger # shared-test # 1.36.1-SNAPSHOT](https://github.com/hyperledger/identus-cloud-agent) | diff --git a/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml b/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml index 3b9f36aac9..588b1873af 100644 --- a/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml +++ b/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Identus Cloud Agent API Reference - version: 1.36.1 + version: 1.37.0 description: |2 The Identus Cloud Agent API facilitates the integration and management of self-sovereign identity capabilities within applications. @@ -227,6 +227,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -276,6 +282,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -319,6 +331,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -359,6 +377,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -438,6 +462,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -487,6 +517,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -554,6 +590,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -597,6 +639,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -635,6 +683,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -693,6 +747,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -734,6 +794,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -783,6 +849,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -844,6 +916,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -888,6 +966,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1251,6 +1335,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1356,6 +1446,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1411,6 +1507,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1875,6 +1977,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1911,6 +2019,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -1970,6 +2084,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2020,6 +2140,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2070,6 +2196,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2126,6 +2258,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2172,6 +2310,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2201,6 +2345,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2228,6 +2378,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2277,6 +2433,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2325,6 +2487,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2380,6 +2548,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2435,6 +2609,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2484,6 +2664,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2528,6 +2714,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2572,6 +2764,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2615,6 +2813,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2668,6 +2872,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2714,6 +2924,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2764,6 +2980,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2813,6 +3035,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2861,6 +3089,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2900,6 +3134,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2948,6 +3188,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -2992,6 +3238,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: @@ -3001,10 +3253,615 @@ paths: security: - apiKeyAuth: [] - jwtAuth: [] -components: - schemas: - AcceptConnectionInvitationRequest: - required: + /oid4vci/issuers/{issuerId}/credentials: + post: + tags: + - OpenID for Verifiable Credential Issuance + summary: Credential Endpoint + description: OID for VCI [Credential Endpoint](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-endpoint) + operationId: oid4vciIssueCredential + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialRequest' + required: true + responses: + '200': + description: Credential issued successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialResponse' + '400': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/ExtendedErrorResponse' + '401': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/ExtendedErrorResponse' + '403': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/ExtendedErrorResponse' + '500': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/ExtendedErrorResponse' + security: + - {} + - jwtAuth: [] + /oid4vci/issuers/{issuerId}/credential-offers: + post: + tags: + - OpenID for Verifiable Credential Issuance + summary: Create a new credential offer + description: |- + Create a new credential offer and return a compliant `CredentialOffer` for the holder's + [Credential Offer Endpoint](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-offer-endpoint). + operationId: oid4vciCreateCredentialOffer + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialOfferRequest' + required: true + responses: + '201': + description: CredentialOffer created successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialOfferResponse' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + /oid4vci/nonces: + post: + tags: + - OpenID for Verifiable Credential Issuance + summary: Nonce Endpoint + description: The endpoint that returns a `nonce` value for the [Token Endpoint](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-nonce-endpoint) + operationId: getNonce + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NonceRequest' + required: true + responses: + '200': + description: Nonce issued successfully + content: + application/json: + schema: + $ref: '#/components/schemas/NonceResponse' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - {} + - jwtAuth: [] + /oid4vci/issuers: + get: + tags: + - OpenID for Verifiable Credential Issuance + summary: List all credential issuers + operationId: getCredentialIssuers + responses: + '200': + description: List the credential issuers + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialIssuerPage' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + post: + tags: + - OpenID for Verifiable Credential Issuance + summary: Create a new credential issuer + operationId: createCredentialIssuer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateCredentialIssuerRequest' + required: true + responses: + '201': + description: Credential issuer created successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialIssuer' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + /oid4vci/issuers/{issuerId}: + delete: + tags: + - OpenID for Verifiable Credential Issuance + summary: Delete the credential issuer + operationId: deleteCredentialIssuer + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + responses: + '200': + description: Credential issuer deleted successfully + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + patch: + tags: + - OpenID for Verifiable Credential Issuance + summary: Update the credential issuer + operationId: updateCredentialIssuer + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchCredentialIssuerRequest' + required: true + responses: + '200': + description: Credential issuer updated successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialIssuer' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + /oid4vci/issuers/{issuerId}/credential-configurations: + post: + tags: + - OpenID for Verifiable Credential Issuance + summary: Create a new credential configuration + description: |- + Create a new credential configuration for the issuer. + It represents the configuration of the credential that can be issued by the issuer. + This credential configuration object will be displayed in the credential issuer metadata. + operationId: createCredentialConfiguration + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateCredentialConfigurationRequest' + required: true + responses: + '201': + description: Credential configuration created successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialConfiguration' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + /oid4vci/issuers/{issuerId}/credential-configurations/{credentialConfigId}: + get: + tags: + - OpenID for Verifiable Credential Issuance + summary: Get the credential configuration + operationId: getCredentialConfiguration + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + - name: credentialConfigId + in: path + description: An identifier for the credential configuration + required: true + schema: + type: string + example: UniversityDegree + responses: + '200': + description: Get credential configuration successfully + content: + application/json: + schema: + $ref: '#/components/schemas/CredentialConfiguration' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + delete: + tags: + - OpenID for Verifiable Credential Issuance + summary: Delete the credential configuration + operationId: deleteCredentialConfiguration + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + - name: credentialConfigId + in: path + description: An identifier for the credential configuration + required: true + schema: + type: string + example: UniversityDegree + responses: + '200': + description: Credential configuration deleted successfully + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] + /oid4vci/issuers/{issuerId}/.well-known/openid-credential-issuer: + get: + tags: + - OpenID for Verifiable Credential Issuance + summary: Get the credential issuer metadata + operationId: getIssuerMetadata + parameters: + - name: issuerId + in: path + description: An issuer identifier in the oid4vci protocol + required: true + schema: + type: string + format: uuid + example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + responses: + '200': + description: Issuer Metadata successfully retrieved + content: + application/json: + schema: + $ref: '#/components/schemas/IssuerMetadata' + '400': + description: Invalid request parameters + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Resource could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Unable to process the request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' +components: + schemas: + AcceptConnectionInvitationRequest: + required: - invitation type: object properties: @@ -3022,6 +3879,13 @@ components: The short-form subject Prism DID to which the JWT verifiable credential will be issued. This parameter only applies if the offer is of type 'JWT'. example: did:prism:3bb0505d13fcb04d28a48234edb27b0d4e6d7e18a81e2c1abab58f3bbc21ce6f + keyId: + type: string + description: |2 + + The short-form subject Prism DID to which the JWT verifiable credential will be issued. + This parameter only applies if the offer is of type 'JWT'. + example: did:prism:3bb0505d13fcb04d28a48234edb27b0d4e6d7e18a81e2c1abab58f3bbc21ce6f ActionType: type: string enum: @@ -3123,6 +3987,24 @@ components: $ref: '#/components/schemas/Map_String' non_revoked: $ref: '#/components/schemas/AnoncredNonRevokedIntervalV1' + AnoncredsCredentialRequest: + required: + - format + - anoncreds + type: object + properties: + format: + $ref: '#/components/schemas/CredentialFormat' + proof: + $ref: '#/components/schemas/Proof2' + credential_identifier: + type: string + credential_response_encryption: + $ref: '#/components/schemas/CredentialResponseEncryption' + credential_definition: + $ref: '#/components/schemas/CredentialDefinition' + anoncreds: + type: string ApiKeyAuthenticationRequest: required: - entityId @@ -3146,6 +4028,19 @@ components: elements: type: array items: {} + AuthorizationServer: + required: + - url + - clientId + - clientSecret + type: object + properties: + url: + type: string + clientId: + type: string + clientSecret: + type: string Bool: required: - value @@ -3153,6 +4048,17 @@ components: properties: value: type: boolean + ClaimDescriptor: + type: object + properties: + mandatory: + type: boolean + value_type: + type: string + display: + type: array + items: + $ref: '#/components/schemas/Localization' Connection: required: - connectionId @@ -3342,6 +4248,29 @@ components: description: A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message. example: To issue a Faber College Graduate credential + CreateCredentialConfigurationRequest: + required: + - configurationId + - format + - schemaId + type: object + properties: + configurationId: + type: string + format: + $ref: '#/components/schemas/CredentialFormat' + schemaId: + type: string + CreateCredentialIssuerRequest: + required: + - authorizationServer + type: object + properties: + id: + type: string + format: uuid + authorizationServer: + $ref: '#/components/schemas/AuthorizationServer' CreateEntityRequest: required: - name @@ -3506,6 +4435,39 @@ components: example: http://example.com customHeaders: $ref: '#/components/schemas/Map_String' + CredentialConfiguration: + required: + - configurationId + - format + - scope + - schemaId + - createdAt + type: object + properties: + configurationId: + type: string + format: + $ref: '#/components/schemas/CredentialFormat' + scope: + type: string + schemaId: + type: string + createdAt: + type: string + format: date-time + CredentialDefinition: + type: object + properties: + '@context': + type: array + items: + type: string + type: + type: array + items: + type: string + credentialSubject: + $ref: '#/components/schemas/Map_ClaimDescriptor' CredentialDefinitionInput: required: - name @@ -3709,6 +4671,114 @@ components: page of results. If the API response is the first page of results, this field should be set to None. example: /cloud-agent/schema-registry/schemas?skip=0&limit=10 + CredentialErrorCode: + type: string + enum: + - insufficient_scope + - invalid_credential_request + - invalid_encryption_parameters + - invalid_proof + - invalid_request + - invalid_token + - unsupported_credential_format + - unsupported_credential_type + CredentialErrorResponse: + required: + - error + type: object + properties: + error: + $ref: '#/components/schemas/CredentialErrorCode' + error_description: + type: string + c_nonce: + type: string + c_nonce_expires_in: + type: integer + format: int64 + CredentialFormat: + type: string + enum: + - anoncreds + - jwt_vc_json + - vc+sd-jwt + CredentialIssuer: + required: + - id + - authorizationServerUrl + type: object + properties: + id: + type: string + format: uuid + authorizationServerUrl: + type: string + CredentialIssuerPage: + required: + - self + - kind + - pageOf + type: object + properties: + self: + type: string + kind: + type: string + pageOf: + type: string + next: + type: string + previous: + type: string + contents: + type: array + items: + $ref: '#/components/schemas/CredentialIssuer' + CredentialOfferRequest: + required: + - credentialConfigurationId + - issuingDID + - claims + type: object + properties: + credentialConfigurationId: + type: string + issuingDID: + type: string + claims: {} + CredentialOfferResponse: + required: + - credentialOffer + type: object + properties: + credentialOffer: + type: string + CredentialRequest: + oneOf: + - $ref: '#/components/schemas/AnoncredsCredentialRequest' + - $ref: '#/components/schemas/JwtCredentialRequest' + discriminator: + propertyName: format + mapping: + anoncreds: '#/components/schemas/AnoncredsCredentialRequest' + jwt_vc_json: '#/components/schemas/JwtCredentialRequest' + CredentialResponse: + oneOf: + - $ref: '#/components/schemas/DeferredCredentialResponse' + - $ref: '#/components/schemas/ImmediateCredentialResponse' + CredentialResponseEncryption: + required: + - jwk + - alg + - enc + type: object + properties: + jwk: + type: string + alg: + type: string + enc: + type: string CredentialSchemaInput: required: - name @@ -3944,16 +5014,11 @@ components: example: /cloud-agent/schema-registry/schemas?skip=0&limit=10 CredentialSubject: required: - - id - type - statusPurpose - encodedList type: object properties: - id: - type: string - description: Url to resolve this particular status list credential - example: http://issuer-agent.com/credential-status/060a2bec-6d6f-4c1f-9414-d3c9dbd3ccc9 type: type: string description: Always equals to constnat value - StatusList2021 @@ -3974,6 +5039,16 @@ components: - Ed25519 - X25519 - secp256k1 + CwtProof: + required: + - proof_type + - cwt + type: object + properties: + proof_type: + $ref: '#/components/schemas/ProofType' + cwt: + type: string DIDDocument: required: - id @@ -4113,6 +5188,18 @@ components: example: '2022-03-10T12:00:00Z' parameterType: type: string + DeferredCredentialResponse: + required: + - transaction_id + type: object + properties: + transaction_id: + type: string + c_nonce: + type: string + c_nonce_expires_in: + type: integer + format: int32 DidOperationSubmission: required: - id @@ -4196,8 +5283,13 @@ components: description: A sequence of CredentialSchemaResponse objects representing the list of credential schemas that the API response contains example: - - EntityResponse(Entity,/cloud-agent/iam/entities/00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000000,John - Doe,00000000-0000-0000-0000-000000000000,2023-01-01T00:00:00Z,2023-01-01T00:00:00Z) + - kind: Entity + self: /cloud-agent/iam/entities/00000000-0000-0000-0000-000000000000 + id: 00000000-0000-0000-0000-000000000000 + name: John Doe + walletId: 00000000-0000-0000-0000-000000000000 + createdAt: '2023-01-01T00:00:00Z' + updatedAt: '2023-01-01T00:00:00Z' kind: type: string description: A string field indicating the type of the API response. In @@ -4256,6 +5348,10 @@ components: description: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. example: The received '{}à!è@!.b}' email does not conform to the email format + ExtendedErrorResponse: + oneOf: + - $ref: '#/components/schemas/CredentialErrorResponse' + - $ref: '#/components/schemas/ErrorResponse' HealthInfo: required: - version @@ -4265,6 +5361,18 @@ components: type: string description: The semantic version number of the running service example: 1.1.0 + ImmediateCredentialResponse: + required: + - credential + type: object + properties: + credential: + type: string + c_nonce: + type: string + c_nonce_expires_in: + type: integer + format: int32 IssueCredentialRecord: required: - recordId @@ -4333,7 +5441,7 @@ components: type: string description: The date and time when the issue credential record was created. format: date-time - example: '2024-06-09T15:27:06.605422118Z' + example: '2024-07-01T08:50:32.358710422Z' updatedAt: type: string description: The date and time when the issue credential record was last @@ -4425,6 +5533,23 @@ components: page of results. If the API response is the first page of results, this field should be set to None. example: /cloud-agent/issue-credentials/records?offset=0&limit=10 + IssuerMetadata: + required: + - credential_issuer + - credential_endpoint + - credential_configurations_supported + type: object + properties: + credential_issuer: + type: string + authorization_servers: + type: array + items: + type: string + credential_endpoint: + type: string + credential_configurations_supported: + $ref: '#/components/schemas/Map_SupportedCredentialConfiguration' Json: description: The service endpoint. Can contain multiple possible values as described in the [Create DID operation](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#create-did) @@ -4436,6 +5561,51 @@ components: - $ref: '#/components/schemas/Num' - $ref: '#/components/schemas/Obj' - $ref: '#/components/schemas/Str' + JwtCredentialRequest: + required: + - format + type: object + properties: + format: + $ref: '#/components/schemas/CredentialFormat' + proof: + $ref: '#/components/schemas/Proof2' + credential_identifier: + type: string + credential_response_encryption: + $ref: '#/components/schemas/CredentialResponseEncryption' + credential_definition: + $ref: '#/components/schemas/CredentialDefinition' + JwtProof: + required: + - proof_type + - jwt + type: object + properties: + proof_type: + $ref: '#/components/schemas/ProofType' + jwt: + type: string + LdpProof: + required: + - proof_type + - vp + type: object + properties: + proof_type: + $ref: '#/components/schemas/ProofType' + vp: + type: string + Localization: + required: + - name + - locale + type: object + properties: + name: + type: string + locale: + type: string ManagedDID: required: - did @@ -4501,10 +5671,36 @@ components: type: object additionalProperties: $ref: '#/components/schemas/AnoncredRequestedPredicateV1' + Map_ClaimDescriptor: + type: object + additionalProperties: + $ref: '#/components/schemas/ClaimDescriptor' Map_String: type: object additionalProperties: type: string + Map_SupportedCredentialConfiguration: + type: object + additionalProperties: + $ref: '#/components/schemas/SupportedCredentialConfiguration' + NonceRequest: + required: + - issuerState + type: object + properties: + issuerState: + type: string + NonceResponse: + required: + - nonce + - nonceExpiresIn + type: object + properties: + nonce: + type: string + nonceExpiresIn: + type: integer + format: int64 'Null': type: object Num: @@ -4541,6 +5737,15 @@ components: $ref: '#/components/schemas/VcVerification' parameter: $ref: '#/components/schemas/VcVerificationParameter' + PatchAuthorizationServer: + type: object + properties: + url: + type: string + clientId: + type: string + clientSecret: + type: string PatchContextAction: type: object properties: @@ -4550,6 +5755,11 @@ components: type: string description: The JSON-LD context describing the JSON document example: https://didcomm.org/messaging/contexts/v2 + PatchCredentialIssuerRequest: + type: object + properties: + authorizationServer: + $ref: '#/components/schemas/PatchAuthorizationServer' PresentationStatus: required: - presentationId @@ -4634,10 +5844,37 @@ components: $ref: '#/components/schemas/PresentationStatus' description: A sequence of Presentation objects. example: - - PresentationStatus(938bfc23-f78d-4734-9bf3-6dccf300856f,04112f4d-e894-4bff-a706-85b3e7190a2c,Verifier,RequestSent,List(),List(),Some(e0d81be9-47ca-4e0b-b8a7-325e8c3abc2f),5) - - PresentationStatus(d22158b0-c650-48ea-be85-2920a845ef26,04112f4d-e894-4bff-a706-85b3e7190a2c,Prover,RequestReceived,List(),List(),None,5) - - PresentationStatus(fd3f5e54-fae9-4f72-9413-ec66aab83a57,6b42fd91-4c98-40ae-a371-a1fd1a39e05e,Prover,PresentationPending,List(),List(),None,5) - - PresentationStatus(e56dd3e0-79d0-45f4-ba6c-ff857211b07b,6b42fd91-4c98-40ae-a371-a1fd1a39e05e,Verifier,PresentationVerified,List(),List({"claimsToDisclose":{"emailAddress":{},"givenName":{}},"presentation":"{\"protected\":\"eyJhbGciOiJFZERTQSJ9\",\"payload\":\"eyJfc2QiOlsiMGl4d0tIV0dzbzFvZThFR0hQd2tGYW9EZE1TRFQ3SmgyNkZGSm1ZbGRnRSIsIjQ4VlFXZS1tcjBibHMyOWpicHFKeDNxX2dYY0k5N3dHcEpsZnRoNXQwMGciLCI0Wk9xanFNZVNUVHRKQTNJRExsc3ZXN0dTNzRIemNxY3N2NVFoZk1valE4IiwiUjhGRE0ydXB1V09mNmVJMVA5ckNPdG12c3puVWFFYXpncVNuN0JfeTE0MCIsIlU5MmpfUHlpcHN2TERNQTlDaVRWbnl3bUFzYTM4S2lDWm5TeVhyUE5mNG8iLCJldFB1Mmc5ajdRd01rZ3g5VnpEX1RnNTNUV3UydVpadk1KeHRnNEJ1WGJBIiwidGV3RG1LWklNcS10bUNrMkpqZU0wajNYbU1aUUFLN01heENVNlF4dm9OMCJdLCJfc2RfYWxnIjoic2hhLTI1NiIsImlzcyI6ImRpZDpwcmlzbToxMmEzOWI1YWEwZTcxODI3ZmMxYzYwMjg1ZDVlZWJjMTk0Yjg2NzFhYTJmY2QxZDM2NDBkMGYwMTBlMzliZmVlIiwiaWF0IjoxNzE3NDEwMzgzLCJleHAiOjE3MjAwMDIzODN9\",\"signature\":\"953FfSRU_0Y2q0ERrFPzbXJ_hkF0YQe5efwESaZwtXDCn8aanD3MUstp3lzqGZkhvcWRdtCCpIxzhy0zgKwLBg\",\"disclosures\":[\"WyI0SHF6MDZCeG5fRlJMb2hWX2lWNXp3IiwgImdpdmVuTmFtZSIsICJBbGljZSJd\",\"WyJLUnNYYU01c3NXZTl4UEhqQnNjT213IiwgImVtYWlsQWRkcmVzcyIsICJhbGljZUB3b25kZXJsYW5kLmNvbSJd\"],\"kb_jwt\":null}"}),Some(e0d81be9-47ca-4e0b-b8a7-325e8c3abc2f),5) + - presentationId: 938bfc23-f78d-4734-9bf3-6dccf300856f + thid: 04112f4d-e894-4bff-a706-85b3e7190a2c + role: Verifier + status: RequestSent + proofs: [] + data: [] + connectionId: e0d81be9-47ca-4e0b-b8a7-325e8c3abc2f + metaRetries: 5 + - presentationId: d22158b0-c650-48ea-be85-2920a845ef26 + thid: 04112f4d-e894-4bff-a706-85b3e7190a2c + role: Prover + status: RequestReceived + proofs: [] + data: [] + metaRetries: 5 + - presentationId: fd3f5e54-fae9-4f72-9413-ec66aab83a57 + thid: 6b42fd91-4c98-40ae-a371-a1fd1a39e05e + role: Prover + status: PresentationPending + proofs: [] + data: [] + metaRetries: 5 + - presentationId: e56dd3e0-79d0-45f4-ba6c-ff857211b07b + thid: 6b42fd91-4c98-40ae-a371-a1fd1a39e05e + role: Verifier + status: PresentationVerified + proofs: [] + data: + - '{"claimsToDisclose":{"emailAddress":{},"givenName":{}},"presentation":"{\"protected\":\"eyJhbGciOiJFZERTQSJ9\",\"payload\":\"eyJfc2QiOlsiMGl4d0tIV0dzbzFvZThFR0hQd2tGYW9EZE1TRFQ3SmgyNkZGSm1ZbGRnRSIsIjQ4VlFXZS1tcjBibHMyOWpicHFKeDNxX2dYY0k5N3dHcEpsZnRoNXQwMGciLCI0Wk9xanFNZVNUVHRKQTNJRExsc3ZXN0dTNzRIemNxY3N2NVFoZk1valE4IiwiUjhGRE0ydXB1V09mNmVJMVA5ckNPdG12c3puVWFFYXpncVNuN0JfeTE0MCIsIlU5MmpfUHlpcHN2TERNQTlDaVRWbnl3bUFzYTM4S2lDWm5TeVhyUE5mNG8iLCJldFB1Mmc5ajdRd01rZ3g5VnpEX1RnNTNUV3UydVpadk1KeHRnNEJ1WGJBIiwidGV3RG1LWklNcS10bUNrMkpqZU0wajNYbU1aUUFLN01heENVNlF4dm9OMCJdLCJfc2RfYWxnIjoic2hhLTI1NiIsImlzcyI6ImRpZDpwcmlzbToxMmEzOWI1YWEwZTcxODI3ZmMxYzYwMjg1ZDVlZWJjMTk0Yjg2NzFhYTJmY2QxZDM2NDBkMGYwMTBlMzliZmVlIiwiaWF0IjoxNzE3NDEwMzgzLCJleHAiOjE3MjAwMDIzODN9\",\"signature\":\"953FfSRU_0Y2q0ERrFPzbXJ_hkF0YQe5efwESaZwtXDCn8aanD3MUstp3lzqGZkhvcWRdtCCpIxzhy0zgKwLBg\",\"disclosures\":[\"WyI0SHF6MDZCeG5fRlJMb2hWX2lWNXp3IiwgImdpdmVuTmFtZSIsICJBbGljZSJd\",\"WyJLUnNYYU01c3NXZTl4UEhqQnNjT213IiwgImVtYWlsQWRkcmVzcyIsICJhbGljZUB3b25kZXJsYW5kLmNvbSJd\"],\"kb_jwt\":null}"}' + connectionId: e0d81be9-47ca-4e0b-b8a7-325e8c3abc2f + metaRetries: 5 self: type: string description: The reference to the presentation collection itself. @@ -4780,6 +6017,17 @@ components: proofValue: FiPfjknHikKmZ... jws: eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImt0eSI6Ik... domain: prims.atala.com + Proof2: + oneOf: + - $ref: '#/components/schemas/CwtProof' + - $ref: '#/components/schemas/JwtProof' + - $ref: '#/components/schemas/LdpProof' + discriminator: + propertyName: proof_type + mapping: + cwt: '#/components/schemas/CwtProof' + jwt: '#/components/schemas/JwtProof' + ldp_vp: '#/components/schemas/LdpProof' ProofRequestAux: required: - schemaId @@ -4799,6 +6047,19 @@ components: - did:web:atalaprism.io/users/testUser - did.prism:123 - did:prism:... + ProofType: + type: string + enum: + - cwt + - jwt + - ldp_vp + ProofTypeConfiguration: + type: object + properties: + proof_signing_alg_values_supported: + type: array + items: + type: string PublicKeyJwk: required: - kty @@ -4952,7 +6213,7 @@ components: type: string description: Issuance timestamp of status list credential format: date-time - example: '2024-06-09T15:27:06.640034187Z' + example: '2024-07-01T08:50:32.396776613Z' credentialSubject: $ref: '#/components/schemas/CredentialSubject' proof: @@ -4979,6 +6240,37 @@ components: properties: value: type: string + SupportProofType: + required: + - jwt + type: object + properties: + jwt: + $ref: '#/components/schemas/ProofTypeConfiguration' + SupportedCredentialConfiguration: + required: + - format + - scope + - credential_definition + - proof_types_supported + type: object + properties: + format: + $ref: '#/components/schemas/CredentialFormat' + scope: + type: string + credential_definition: + $ref: '#/components/schemas/CredentialDefinition' + cryptographic_binding_methods_supported: + type: array + items: + type: string + credential_signing_alg_values_supported: + type: array + items: + type: string + proof_types_supported: + $ref: '#/components/schemas/SupportProofType' Suspension: type: object UpdateEntityNameRequest: diff --git a/infrastructure/charts/agent/Chart.yaml b/infrastructure/charts/agent/Chart.yaml index d9909d3135..15c98c9c8b 100644 --- a/infrastructure/charts/agent/Chart.yaml +++ b/infrastructure/charts/agent/Chart.yaml @@ -13,12 +13,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.36.1 +version: 1.37.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 1.36.1 +appVersion: 1.37.0 dependencies: - name: vault version: 0.24.1 diff --git a/infrastructure/charts/cloud-agent-1.37.0.tgz b/infrastructure/charts/cloud-agent-1.37.0.tgz new file mode 100644 index 0000000000..e4d9d71cd6 Binary files /dev/null and b/infrastructure/charts/cloud-agent-1.37.0.tgz differ diff --git a/infrastructure/charts/index.yaml b/infrastructure/charts/index.yaml index e57ea14ec8..71980545cb 100644 --- a/infrastructure/charts/index.yaml +++ b/infrastructure/charts/index.yaml @@ -1,9 +1,27 @@ apiVersion: v1 entries: cloud-agent: + - apiVersion: v2 + appVersion: 1.37.0 + created: "2024-07-01T09:13:50.234308304Z" + dependencies: + - name: vault + repository: https://helm.releases.hashicorp.com + version: 0.24.1 + - condition: keycloak.enabled + name: keycloak + repository: https://charts.bitnami.com/bitnami + version: 17.2.0 + description: A Helm chart for deploying cloud-agent + digest: e578a6c2af046ca47c138025f62602829fba7e4f5826f5d2cea31d03b0efa44f + name: cloud-agent + type: application + urls: + - https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/main/infrastructure/charts/cloud-agent-1.37.0.tgz + version: 1.37.0 - apiVersion: v2 appVersion: 1.36.1 - created: "2024-06-09T15:50:01.018809549Z" + created: "2024-07-01T09:13:50.223902191Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -21,7 +39,7 @@ entries: version: 1.36.1 - apiVersion: v2 appVersion: 1.36.0 - created: "2024-06-09T15:50:01.009485865Z" + created: "2024-07-01T09:13:50.214857923Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -39,7 +57,7 @@ entries: version: 1.36.0 - apiVersion: v2 appVersion: 1.35.1 - created: "2024-06-09T15:50:00.999383131Z" + created: "2024-07-01T09:13:50.204930147Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -57,7 +75,7 @@ entries: version: 1.35.1 - apiVersion: v2 appVersion: 1.35.0 - created: "2024-06-09T15:50:00.989043321Z" + created: "2024-07-01T09:13:50.195078852Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -75,7 +93,7 @@ entries: version: 1.35.0 - apiVersion: v2 appVersion: 1.34.0 - created: "2024-06-09T15:50:00.979060956Z" + created: "2024-07-01T09:13:50.185271959Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -94,7 +112,7 @@ entries: prism-agent: - apiVersion: v2 appVersion: 1.33.1 - created: "2024-06-09T15:50:01.249494985Z" + created: "2024-07-01T09:13:50.461034123Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -112,7 +130,7 @@ entries: version: 1.33.1 - apiVersion: v2 appVersion: 1.33.0 - created: "2024-06-09T15:50:01.239665056Z" + created: "2024-07-01T09:13:50.450096134Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -130,7 +148,7 @@ entries: version: 1.33.0 - apiVersion: v2 appVersion: 1.32.1 - created: "2024-06-09T15:50:01.228671731Z" + created: "2024-07-01T09:13:50.440440387Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -148,7 +166,7 @@ entries: version: 1.32.1 - apiVersion: v2 appVersion: 1.32.0 - created: "2024-06-09T15:50:01.218598783Z" + created: "2024-07-01T09:13:50.429229489Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -166,7 +184,7 @@ entries: version: 1.32.0 - apiVersion: v2 appVersion: 1.31.0 - created: "2024-06-09T15:50:01.207836077Z" + created: "2024-07-01T09:13:50.420150878Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -184,7 +202,7 @@ entries: version: 1.31.0 - apiVersion: v2 appVersion: 1.30.1 - created: "2024-06-09T15:50:01.198075227Z" + created: "2024-07-01T09:13:50.40938063Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -202,7 +220,7 @@ entries: version: 1.30.1 - apiVersion: v2 appVersion: 1.30.0 - created: "2024-06-09T15:50:01.18715575Z" + created: "2024-07-01T09:13:50.398758055Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -220,7 +238,7 @@ entries: version: 1.30.0 - apiVersion: v2 appVersion: 1.29.0 - created: "2024-06-09T15:50:01.176906011Z" + created: "2024-07-01T09:13:50.388282635Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -238,7 +256,7 @@ entries: version: 1.29.0 - apiVersion: v2 appVersion: 1.28.0 - created: "2024-06-09T15:50:01.167236391Z" + created: "2024-07-01T09:13:50.378802886Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -256,7 +274,7 @@ entries: version: 1.28.0 - apiVersion: v2 appVersion: 1.27.0 - created: "2024-06-09T15:50:01.155956102Z" + created: "2024-07-01T09:13:50.368443349Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -274,7 +292,7 @@ entries: version: 1.27.0 - apiVersion: v2 appVersion: 1.26.0 - created: "2024-06-09T15:50:01.146170646Z" + created: "2024-07-01T09:13:50.358343839Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -292,7 +310,7 @@ entries: version: 1.26.0 - apiVersion: v2 appVersion: 1.25.0 - created: "2024-06-09T15:50:01.13532275Z" + created: "2024-07-01T09:13:50.348875871Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -310,7 +328,7 @@ entries: version: 1.25.0 - apiVersion: v2 appVersion: 1.24.0 - created: "2024-06-09T15:50:01.12495793Z" + created: "2024-07-01T09:13:50.339737128Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -328,7 +346,7 @@ entries: version: 1.24.0 - apiVersion: v2 appVersion: 1.23.0 - created: "2024-06-09T15:50:01.11528283Z" + created: "2024-07-01T09:13:50.328935996Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -346,7 +364,7 @@ entries: version: 1.23.0 - apiVersion: v2 appVersion: 1.22.0 - created: "2024-06-09T15:50:01.10400928Z" + created: "2024-07-01T09:13:50.318312167Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -364,7 +382,7 @@ entries: version: 1.22.0 - apiVersion: v2 appVersion: 1.21.1 - created: "2024-06-09T15:50:01.094006799Z" + created: "2024-07-01T09:13:50.307947402Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -382,7 +400,7 @@ entries: version: 1.21.1 - apiVersion: v2 appVersion: 1.21.0 - created: "2024-06-09T15:50:01.083539206Z" + created: "2024-07-01T09:13:50.298351541Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -400,7 +418,7 @@ entries: version: 1.21.0 - apiVersion: v2 appVersion: 1.20.1 - created: "2024-06-09T15:50:01.073696687Z" + created: "2024-07-01T09:13:50.289340676Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -418,7 +436,7 @@ entries: version: 1.20.1 - apiVersion: v2 appVersion: 1.20.0 - created: "2024-06-09T15:50:01.063690308Z" + created: "2024-07-01T09:13:50.279663615Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -436,7 +454,7 @@ entries: version: 1.20.0 - apiVersion: v2 appVersion: 1.19.1 - created: "2024-06-09T15:50:01.053819009Z" + created: "2024-07-01T09:13:50.269885862Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -454,7 +472,7 @@ entries: version: 1.19.1 - apiVersion: v2 appVersion: 1.19.0 - created: "2024-06-09T15:50:01.043691298Z" + created: "2024-07-01T09:13:50.259598085Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -472,7 +490,7 @@ entries: version: 1.19.0 - apiVersion: v2 appVersion: 1.18.0 - created: "2024-06-09T15:50:01.034097449Z" + created: "2024-07-01T09:13:50.249658531Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -486,7 +504,7 @@ entries: version: 1.18.0 - apiVersion: v2 appVersion: 1.17.0 - created: "2024-06-09T15:50:01.031352175Z" + created: "2024-07-01T09:13:50.246850237Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -500,7 +518,7 @@ entries: version: 1.17.0 - apiVersion: v2 appVersion: 1.16.4 - created: "2024-06-09T15:50:01.027992485Z" + created: "2024-07-01T09:13:50.242960911Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -514,7 +532,7 @@ entries: version: 1.16.4 - apiVersion: v2 appVersion: 1.16.3 - created: "2024-06-09T15:50:01.02521981Z" + created: "2024-07-01T09:13:50.239921005Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -528,7 +546,7 @@ entries: version: 1.16.3 - apiVersion: v2 appVersion: 1.16.2 - created: "2024-06-09T15:50:01.022286414Z" + created: "2024-07-01T09:13:50.237164297Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -540,4 +558,4 @@ entries: urls: - https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/main/infrastructure/charts/prism-agent-1.16.2.tgz version: 1.16.2 -generated: "2024-06-09T15:50:00.968928935Z" +generated: "2024-07-01T09:13:50.175364732Z" diff --git a/infrastructure/local/.env b/infrastructure/local/.env index 5d8adce878..d151c7359e 100644 --- a/infrastructure/local/.env +++ b/infrastructure/local/.env @@ -1,3 +1,3 @@ -AGENT_VERSION=1.36.1 +AGENT_VERSION=1.37.0 PRISM_NODE_VERSION=2.3.0 VAULT_DEV_ROOT_TOKEN_ID=root diff --git a/package-lock.json b/package-lock.json index 6e18cb35f6..b2b54b9e17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "identus-cloud-agent", - "version": "1.36.1", + "version": "1.37.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "identus-cloud-agent", - "version": "1.36.1", + "version": "1.37.0", "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", diff --git a/package.json b/package.json index 49f1a60184..84f56ed851 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "identus-cloud-agent", - "version": "1.36.1", + "version": "1.37.0", "engines": { "node": ">=16.13.0" }, diff --git a/version.sbt b/version.sbt index 8044267dda..2e05788ede 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "1.36.1-SNAPSHOT" +ThisBuild / version := "1.37.0-SNAPSHOT"