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

Fix byte length of publickKeyMultibase. #67

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

JSAssassin
Copy link
Contributor

@JSAssassin JSAssassin commented Nov 3, 2023

Addresses #66


Preview | Diff

@w3cbot
Copy link

w3cbot commented Nov 3, 2023

iherman marked as non substantive for IPR from ash-nazg.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@msporny msporny added the normative This item is a substantive or normative change. label Dec 10, 2023
Copy link
Contributor

@Wind4Greg Wind4Greg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, it seems that the description is also bit problematic. The publicKeyMultibase value is a string that contains the base-58-btc encoding of the 2 byte prefix plus the 32 byte key. So the length in bytes of what is being encoded is 34 bytes but the string size is whatever. Shouldn't we re-write this a little to be clearer.

@msporny msporny added editorial This item is editorial in nature. and removed normative This item is a substantive or normative change. labels Dec 27, 2023
@msporny
Copy link
Member

msporny commented Dec 27, 2023

Hmm, it seems that the description is also bit problematic. The publicKeyMultibase value is a string that contains the base-58-btc encoding of the 2 byte prefix plus the 32 byte key. So the length in bytes of what is being encoded is 34 bytes but the string size is whatever. Shouldn't we re-write this a little to be clearer.

Yes, I'll do some editorial fix-ups to make this more clear after the merge. I can't edit the PR, so I have to do the fixes in a separate commit.

UPDATE: This is now complete in commit 215cdba

@msporny msporny added normative This item is a substantive or normative change. and removed editorial This item is editorial in nature. labels Dec 27, 2023
@msporny
Copy link
Member

msporny commented Dec 27, 2023

Arguably normative, multiple reviews, changes requested (and will be made in a separate commit), no objections, merging.

@msporny msporny merged commit b3f6739 into w3c:main Dec 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
normative This item is a substantive or normative change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants