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

Gamgee doesn't support non-padded base32 tokens. #14

Open
maksar opened this issue Oct 3, 2021 · 0 comments
Open

Gamgee doesn't support non-padded base32 tokens. #14

maksar opened this issue Oct 3, 2021 · 0 comments

Comments

@maksar
Copy link
Contributor

maksar commented Oct 3, 2021

Dropbox generates such secrets (length is 26).
Gamgee should probably use a base32 decode function, which works correctly with base32 paddings: for example: https://hackage.haskell.org/package/base32-0.2.1.0/docs/Data-Text-Encoding-Base32.html

Current workaround: add '=' symbols to the secret from Dropbox for length to become 8 divisible.

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

No branches or pull requests

1 participant