Skip to content

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

Merged
kytrinyx merged 9 commits intoexercism:masterfrom
Jrank2013:masking_api_token
Aug 8, 2019
Merged

The API token outputted during verbose will now be masked by default#866
kytrinyx merged 9 commits intoexercism:masterfrom
Jrank2013:masking_api_token

Conversation

@Jrank2013
Copy link
Copy Markdown
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

Comment thread cmd/root.go Outdated
Co-Authored-By: Victor Goff <keeperotphones@gmail.com>
Copy link
Copy Markdown
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.

Comment thread debug/debug.go
Comment thread utils/utils.go Outdated
@Jrank2013
Copy link
Copy Markdown
Contributor Author

What suggestions did you have for Redact?

@kytrinyx
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Updated

Copy link
Copy Markdown
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