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 other encodings #26

Open
nikosft opened this issue Feb 16, 2021 · 2 comments
Open

Support for other encodings #26

nikosft opened this issue Feb 16, 2021 · 2 comments

Comments

@nikosft
Copy link

nikosft commented Feb 16, 2021

Hi,
I am wondering since did:key supports multibase, why the draft enforces base58btc. We are using Ed25519 keys, but we prefer base64url, so it will be nice if we could have something like:

did:key:uXX6varD0RjXZfW58v4DGtd7kltX6Kzn9fghX94LvrMDxo

(XX should be replaced with the multicodec part)

@OR13
Copy link
Contributor

OR13 commented Sep 23, 2021

I believe base64url encoding is legal, but nobody is using it or bothered to provide test vectors for it.

@OR13
Copy link
Contributor

OR13 commented Sep 23, 2021

other encodings are supported, but a PR to the spec might make this clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants