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

Redact API key from debug output. #358

Merged
merged 1 commit into from
Nov 25, 2016
Merged

Redact API key from debug output. #358

merged 1 commit into from
Nov 25, 2016

Conversation

Tonkpils
Copy link
Contributor

Also adds '--full-api-key' flag to print out the full API key if needed
Fixes #357

Sample output

./exercism debug

**** Debug Information ****
Exercism CLI Version: 2.3.0
Exercism CLI Latest Release: 2.3.0
OS/Architecture: darwin/amd64
Build OS/Architecture darwin/amd64
Home Dir: /Users/leo
Config File: /Users/leo/.exercism.json
API Key: 9d19*************************996
Exercises Directory: /Users/leo/code/exercisms-dev
Testing API endpoints reachability
	* API: http://localhost:4567 [Get http://localhost:4567: dial tcp [::1]:4567: getsockopt: connection refused] 2.561129ms
	* GitHub API: https://api.github.com/ [connected] 318.750813ms
	* XAPI: http://x.exercism.io [connected] 653.905343ms

Also adds '--full-api-key' flag to print out the full API key if needed
Fixes #357
@kytrinyx
Copy link
Member

Niiice! Thanks @Tonkpils

@kytrinyx kytrinyx merged commit 991a57c into master Nov 25, 2016
@kytrinyx kytrinyx deleted the debug-api-key branch November 25, 2016 18:10
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.

2 participants