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

Implement base64url decode using OpenSSL #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BestPig
Copy link

@BestPig BestPig commented Jul 15, 2019

I implement the decoding using OpenSSL.
But OpenSSL only handle base64, not base64url that is used for JWT.

So I create a function to transform base64url to base64 and I decode it with OpenSSL.

@BestPig BestPig force-pushed the base64url-openssl branch from ccc2481 to a6a432e Compare July 15, 2019 12:39
@maximmasiutin
Copy link
Contributor

Fixes #8

Copy link

@emiliosanches emiliosanches left a comment

Choose a reason for hiding this comment

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

LGTM

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