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

Base64 serialization of binary fields #31

Closed
azmeuk opened this issue Jun 9, 2024 · 0 comments · Fixed by #80
Closed

Base64 serialization of binary fields #31

azmeuk opened this issue Jun 9, 2024 · 0 comments · Fixed by #80
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@azmeuk
Copy link
Contributor

azmeuk commented Jun 9, 2024

RFC7643 §2.3.6 indicates that binary fields should be encoded in base64.

The attribute value MUST be base64 encoded as
   specified in [Section 4 of [RFC4648]](https://datatracker.ietf.org/doc/html/rfc4648#section-4).  In cases where a URL-safe
   encoding is required, the attribute definition MAY specify that
   base64 URL encoding be used as per [Section 5 of [RFC4648]](https://datatracker.ietf.org/doc/html/rfc4648#section-5).  Unless
   otherwise specified in the attribute definition, trailing padding
   characters MAY be omitted ("=").

There should be validators and serializers for that.

@azmeuk azmeuk added enhancement New feature or request good first issue Good for newcomers labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant