Skip to content

Conversation

@Gozala
Copy link

@Gozala Gozala commented Nov 29, 2022

Signed-off-by: Irakli Gozalishvili [email protected]

Signed-off-by: Irakli Gozalishvili <[email protected]>
3. [`dag-json`](https://ipld.io/specs/codecs/dag-json/spec/) encoding MUST be used
4. The resulting JWT MUST be [base64url](https://datatracker.ietf.org/doc/html/rfc4648#section-5) encoded per [RFC 7519]
5. All segments MUST be joined with `.`s, per [RFC 7519](https://www.rfc-editor.org/rfc/rfc7519)
3. Elements in `prf`s field MUST be sorted alphabetically.
Copy link
Member

Choose a reason for hiding this comment

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

Do we want them alphabetically, or numerically on the underlying bits?

Copy link
Member

Choose a reason for hiding this comment

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

I guess this will be represented as a string, so UTF8 sorting makes sense 👍

@expede
Copy link
Member

expede commented Aug 14, 2023

Thanks @Gozala — all good to merge :)

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

Successfully merging this pull request may close these issues.

3 participants