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

Trim whitespace when parsing account secret #226

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

milaq
Copy link
Contributor

@milaq milaq commented Nov 12, 2021

Hey there, thanks for the nice work on this tool!

This one fixes the issue with secret keys which contain spaces.
One had to manually delete the space characters from every secret key in cleartext mode. This was time consuming if one experiments with rotating secrets a lot and was also irritating for new users which just pasted the keys without knowing which characters were "bad".

Fixes #212

Fixes multiple copy and paste scenarios where secret keys are space
separated for better legibility and/or easy quoting.
@paolostivanin paolostivanin self-assigned this Nov 14, 2021
@paolostivanin
Copy link
Owner

Thanks a lot for your contribution, really appreciated :)

@paolostivanin paolostivanin merged commit 597c9b6 into paolostivanin:master Nov 14, 2021
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.

Allow to paste secret for new token containing white space chars
2 participants