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

No public key could be resolved for alice #508

Open
stefanlack opened this issue Jan 20, 2025 · 0 comments
Open

No public key could be resolved for alice #508

stefanlack opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working triage

Comments

@stefanlack
Copy link

stefanlack commented Jan 20, 2025

Current Behavior

When I try to request the catalog from bob as user alice, I do not get expected result.

curl --request POST \
  --url {{URL_EDC_ALICE}}/management/v3/catalog/request \
  --header 'content-type: application/json' \
  --header 'user-agent: vscode-restclient' \
  --header 'x-api-key: password' \
  --data '{"@context": {"@vocab": "https://w3id.org/edc/v0.0.1/ns/","odrl": "http://www.w3.org/ns/odrl/2/"},"@type": "CatalogRequest","counterPartyAddress": "{{URL_EDC_BOB}}/api/public/v1/dsp","counterPartyId": "BPNL000000000002","protocol": "dataspace-protocol-http","querySpec": {"offset": 0,"limit": 50}}'

I get
[{"message":"{\"errors\":[\"No public key could be resolved for key-ID 'did:web:alice-ih%3A7083:alice#signing-key-1'\"]}","type":"BadGateway","path":null,"invalidValue":null}]

Expected Behavior

Catalog Data is returned

Steps To Reproduce

We have to investigate and find out where the key should be added, so that that step can be executed. Can someone please give us a hint?

@stefanlack stefanlack added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant