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

fix(prism-agent): check issuing DID validity when creating a VC offer #740

Conversation

bvoiturier
Copy link
Contributor

@bvoiturier bvoiturier commented Sep 29, 2023

Overview

Fixes ATL-4241
Fixes ATL-5573

Checklist

My PR contains...

  • No code changes (changes to documentation, CI, metadata, etc.)
  • Bug fixes (non-breaking change which fixes an issue)
  • Improvements (misc. changes to existing features)
  • Features (non-breaking change which adds functionality)

My changes...

  • are breaking changes
  • are not breaking changes
  • If yes to above: I have updated the documentation accordingly

Documentation

  • My changes do not require a change to the project documentation
  • My changes require a change to the project documentation
  • If yes to above: I have updated the documentation accordingly

Tests

  • My changes can not or do not need to be tested
  • My changes can and should be tested by unit and/or integration tests
  • If yes to above: I have added tests to cover my changes
  • If yes to above: I have taken care to cover edge cases in my tests

@github-actions
Copy link
Contributor

github-actions bot commented Sep 29, 2023

Atala PRISM Test Results

  77 files    77 suites   15m 17s ⏱️
669 tests 658 ✔️ 11 💤 0
675 runs  664 ✔️ 11 💤 0

Results for commit 4c78097.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 29, 2023

Integration Test Results

11 files  11 suites   4s ⏱️
25 tests 25 ✔️ 0 💤 0
37 runs  37 ✔️ 0 💤 0

Results for commit 4c78097.

♻️ This comment has been updated with latest results.

@yshyn-iohk
Copy link
Member

yshyn-iohk commented Oct 2, 2023

Good job, @bvoiturier! Don't forget about DCO (it's now required)
I left one comment about the code style, but fixing it in this PR is not required.

@patlo-iog
Copy link
Contributor

Something to note, the e2e tests has green check, but not all the tests pass.

Copy link
Contributor

@mineme0110 mineme0110 left a comment

Choose a reason for hiding this comment

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

LGTM

bvoiturier and others added 10 commits October 2, 2023 10:27
…known by the agent and not deactivated

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Benjamin Voiturier <[email protected]>
## [1.16.4](prism-agent-v1.16.3...prism-agent-v1.16.4) (2023-09-29)

### Bug Fixes

* Integration flow ATL-5777 ([#738](#738)) ([7cf927c](7cf927c))

Signed-off-by: Anton Baliasnikov <[email protected]>
Signed-off-by: Benjamin Voiturier <[email protected]>
… failure in REST endpoint response

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Signed-off-by: Benjamin Voiturier <[email protected]>
…tion endpoints response

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Benjamin Voiturier <[email protected]>
@bvoiturier bvoiturier force-pushed the tech-debt/ATL-4241-reject-unknown-or-deactivated-did-on-vc-offer-creation branch from e775faa to 396100a Compare October 2, 2023 08:29
Copy link
Contributor

@FabioPinheiro FabioPinheiro left a comment

Choose a reason for hiding this comment

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

LGTM

@bvoiturier bvoiturier merged commit f2e2fd3 into main Oct 2, 2023
9 checks passed
@bvoiturier bvoiturier deleted the tech-debt/ATL-4241-reject-unknown-or-deactivated-did-on-vc-offer-creation branch October 2, 2023 10:47
shotexa pushed a commit that referenced this pull request Oct 2, 2023
…r + return 'metaRetries' (#740)

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Anton Baliasnikov <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Co-authored-by: Milos Backonja <[email protected]>
Co-authored-by: atala-dev <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
shotexa pushed a commit that referenced this pull request Oct 2, 2023
…r + return 'metaRetries' (#740)

Signed-off-by: Benjamin Voiturier <[email protected]>
Signed-off-by: Milos Backonja <[email protected]>
Signed-off-by: Anton Baliasnikov <[email protected]>
Signed-off-by: Pat Losoponkul <[email protected]>
Co-authored-by: Milos Backonja <[email protected]>
Co-authored-by: atala-dev <[email protected]>
Co-authored-by: patlo-iog <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
atala-dev added a commit that referenced this pull request Oct 14, 2023
# [1.17.0](prism-agent-v1.16.4...prism-agent-v1.17.0) (2023-10-14)

### Bug Fixes

* change repository and name for rest api clients ([#745](#745)) ([0f84e28](0f84e28))
* improve performance for background jobs in multitenancy mode ([#749](#749)) ([17def3f](17def3f))
* **prism-agent:** agent should read DIDComm port from config ([#757](#757)) ([cda908c](cda908c))
* **prism-agent:** configure APISIX to return CORS headers from Prism Agent endpoints ([#746](#746)) ([a579aa9](a579aa9))
* **prism-agent:** fix docker env variables interpolation issue ([#751](#751)) ([110eb2d](110eb2d))
* **prism-agent:** return relevant errors on offer creation ([#754](#754)) ([d36533f](d36533f))
* prohibit tenants to use equal or revoked api keys ([#742](#742)) ([4b10c3a](4b10c3a))
* upgrade vault and quill versions ([#739](#739)) ([c140857](c140857))

### Features

* **prism-agent:** check issuing DID validity when creating a VC offer + return 'metaRetries' ([#740](#740)) ([f2e2fd3](f2e2fd3))
* **prism-agent:** implement AnonCreds issuance flow ([#693](#693)) ([9165a6f](9165a6f))

Signed-off-by: Anton Baliasnikov <[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.

7 participants