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

Controller URL #2

Open
cfontana0 opened this issue Nov 16, 2022 · 2 comments
Open

Controller URL #2

cfontana0 opened this issue Nov 16, 2022 · 2 comments
Assignees

Comments

@cfontana0
Copy link

Hello!
Thanks for your hard work on this library, it's awesome.

I'm struggling with the definition of the controller when I want to create a keyPair for the suite

const controller = 'https://example.edu/issuers/565049';
const keyPair = await Ed25519VerificationKey2020.from({
  type: 'Ed25519VerificationKey2020',
  controller,
  id: controller + '#---',
  publicKeyMultibase: '---',
  privateKeyMultibase: '---'
});

const suite = new Ed25519Signature2020({key: keyPair});

So, what are the requirements for that URL? I assume I have to create a REST GET endpoint, but I'm unsure what to deploy there to perform the control action.

This is the current error:

jsonld.InvalidUrl: URL "https://example.edu/issuers/565049" could not be dereferenced: Not Found
@dmitrizagidulin
Copy link
Member

Hi @cfontana0, thanks for the question. You're right, there's definitely room for better documentation and explanation here :)

I'm at a conference right now, but will try and answer you as soon as I can.

@kayaelle kayaelle moved this to Backlog in DCC Engineering Aug 9, 2023
@kayaelle kayaelle moved this from Backlog to Follow-up in DCC Engineering Sep 22, 2023
@kayaelle
Copy link
Member

This was fixed by @cfontana0 upstream. We should integrate the fix. Moving to backlog for now.

@kayaelle kayaelle moved this from Follow-up to Backlog in DCC Engineering Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

3 participants