-
Notifications
You must be signed in to change notification settings - Fork 114
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
Generate Secret Command - add option to not showing the key if it's updated #274
Comments
Sounds sensible. What's the exact command you used? |
|
Thanks. I agree, this doesn't fit into I saw your PR #275 but feel that's also confusing; after that PR we have:
I agree there should be a change done but I prefer if we consider "security first" and not show it by default? But because of the existing options, this would require a bit more thinking and changes. Anyone else got thoughts on this? |
Agreed, by default should be hidden. @kbiits can you change the PR for us? Thanks, |
Did you mean after the fixing, we should have
|
Anyway, I have updated the PR, so the command |
Summary
We realized in our production logs, the newly generated jwt secret is always displayed as clear text.
It's better if there's option to generate the secret without displaying it on the console
To reproduce, try to run
php artisan jwt:secret
If the secret is updated, the key will be displayed on the console.
What we want to have is adding a new option to make the newly generated key not displayed to the console
The text was updated successfully, but these errors were encountered: