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

Use Uri.decode for parsing url, use base32 package. #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hpoul
Copy link

@hpoul hpoul commented Jun 12, 2023

This fixes

  1. a couple of URL encoding problems (namely / which weren't decoded previously). fix Unable to decode #1
  2. replaces base32 handling with using base32 package which should fix RangeError (index): Index out of range: index should be less than 32: 32 #2 (it adds padding to the secret prior to decoding).

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.

RangeError (index): Index out of range: index should be less than 32: 32 Unable to decode
1 participant