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
Correct ngrok credential lengths #250
Conversation
8dd5818
to
06f1c34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great spot, @williamhpark! I am not sure why I had entered 43 and 48. 49 does seem to be correct length (confirmed both by checking my old authtoken and API key, and by generating new ones on the ngrok website)
Could we regenerate the new example secrets with make ngrok/example-secrets
and add them to these files?
- plugins/ngrok/credentials_test.go
- plugins/ngrok/test-fixtures/config.yml
I am not seeing anything on the changelog either that suggests that this is a new change. |
d6514d1
to
8a125ae
Compare
8a125ae
to
2fbd1e8
Compare
@arunsathiya Ah thanks for catching that, done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me!
Resolves: #249
The lengths of the ngrok credentials specified in ngrok/credentials.go seem to be incorrect. The correct lengths should be:
You can create the secrets using these links:
The incorrect length values don't seem to affect any functionality at the moment, but it's important to record the correct values for future features, e.g. any case where validating extracted credentials is needed.