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

Support for the latest versions of Atala Mediator #876

Closed
FabioPinheiro opened this issue Feb 6, 2024 · 1 comment
Closed

Support for the latest versions of Atala Mediator #876

FabioPinheiro opened this issue Feb 6, 2024 · 1 comment

Comments

@FabioPinheiro
Copy link
Contributor

FabioPinheiro commented Feb 6, 2024

Is this a regression?

No

Description

The OEA doesn't support Peer DID with more than one service endpoint.
Like the one used on the Atala Mediator version 0.13.0.

This was fixed by @mineme0110 on the upstream library.
But to update the library we also need to address did:peer:2 spec changes.
decentralized-identity/peer-did-method-spec#64

Please provide the exception or error you saw

The error is in the regexp

2024-02-05 15:17:50 timestamp=2024-02-05T18:17:50.493731179Z level=ERROR thread=#zio-fiber-675 message="Connect - Error processing record: d1c0bc59-7b37-4331-82e1-b314df51745a " cause="Exception in thread "zio-fiber-" scala.Tuple2: (WalletAccessContext(00000000-0000-0000-0000-000000000000),io.iohk.atala.mercury.model.error.package$SendMessageError: Error when sending message: Invalid peer DID provided. Does not match peer DID regexp: did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwIiwiciI6W10sImEiOlsiZGlkY29tbS92MiJdfQ.SeyJ0IjoiZG0iLCJzIjoid3M6Ly9sb2NhbGhvc3Q6ODA4MC93cyIsInIiOltdLCJhIjpbImRpZGNvbW0vdjIiXX0;)" location=io.iohk.atala.agent.server.jobs.ConnectBackgroundJobs.performExchange file=ConnectBackgroundJobs.scala line=204

Please provide the environment you discovered this bug in

Use the Atala Mediator version `0.13.0` or above with the latest version of the OEA.

Anything else?

No response

@FabioPinheiro
Copy link
Contributor Author

This is fixed by #866 877

@github-project-automation github-project-automation bot moved this to Status: Completed in Project Roadmap Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant