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

The API token outputted during verbose will now be masked by default #866

Merged
merged 9 commits into from
Aug 8, 2019
Merged

The API token outputted during verbose will now be masked by default #866

merged 9 commits into from
Aug 8, 2019

Conversation

Jrank2013
Copy link
Contributor

@Jrank2013 Jrank2013 commented Aug 2, 2019

Will fix #860. The token is now masked by default and the unmask-token command will unmask it now

cmd/root.go Outdated Show resolved Hide resolved
Co-Authored-By: Victor Goff <[email protected]>
Copy link
Member

@kytrinyx kytrinyx left a comment

Choose a reason for hiding this comment

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

Thank you so much for taking the time to tackle this one! This is going to be a huge improvement for support requests.

This PR contains some changes that are unrelated to the token masking. In particular, it has changes to the dependency tracking files. Would you mind removing those from the PR? I'm not opposed to updating those files, but if so I'd like to do it as its own change.

I also have a suggestion about where to put the Redact token.

debug/debug.go Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
@Jrank2013
Copy link
Contributor Author

What suggestions did you have for Redact?

@kytrinyx
Copy link
Member

kytrinyx commented Aug 6, 2019

Shoot, I wonder why that didn't get posted. I would like to avoid having a utils package. Can we keep Redact in the debug package?

@Jrank2013
Copy link
Contributor Author

Updated

Copy link
Member

@kytrinyx kytrinyx left a comment

Choose a reason for hiding this comment

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

This is lovely, thank you!

@kytrinyx kytrinyx merged commit f2323bb into exercism:master Aug 8, 2019
@Jrank2013 Jrank2013 deleted the masking_api_token branch August 8, 2019 15:02
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.

--verbose switch for submit leaks users token (perhaps other subcommands as well)
3 participants