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

Determine how to specify outputting a different public key format #56

Open
dlongley opened this issue Apr 11, 2023 · 2 comments
Open

Determine how to specify outputting a different public key format #56

dlongley opened this issue Apr 11, 2023 · 2 comments

Comments

@dlongley
Copy link
Member

dlongley commented Apr 11, 2023

We have API changes to properly multiple key types (as identified by multibase-multikey headers) in #55. We should figure out how we want to layer using different public key formats on top of it -- or decide that it's not appropriate to do that at all and either:

  1. A different driver instance should be created with different fromMultibase plugins, OR
  2. Presume that cryptosuites should allow all the different formats they accept and perform the necessary conversions.
@dlongley
Copy link
Member Author

Some approach for this was taken in #47, but that PR built on a faulty API (that couldn't properly support multiple key types) so it also needs changing. It's unclear what we can preserve from #47 since it's doing a lot -- it needs to be split into smaller pieces that we can pull in.

@dlongley
Copy link
Member Author

dlongley commented Apr 20, 2023

We should add examples to the README showing how to use ed25519-multikey. (In addition to figuring out the above).

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