Skip to content

Redact API key from debug output.#358

Merged
kytrinyx merged 1 commit intomasterfrom
debug-api-key
Nov 25, 2016
Merged

Redact API key from debug output.#358
kytrinyx merged 1 commit intomasterfrom
debug-api-key

Conversation

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