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

Improve base64url ergonomics, add tests and CI #20

Merged
merged 11 commits into from
May 30, 2024
Merged

Conversation

Firehed
Copy link
Contributor

@Firehed Firehed commented May 30, 2024

This adjusts the internals of Base64URL so that both the string and data representations are always easily available and non-null, and can never represent invalid data. Instead, it'll throw during init if the base64 is invalid (which is generally already handled during JSON decoding). There's some test cases added to cover this.

Makes progress towards #9

@Firehed Firehed merged commit 3a8f584 into main May 30, 2024
1 check passed
@Firehed Firehed deleted the improve-base64url branch May 30, 2024 02:48
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.

1 participant