-
Notifications
You must be signed in to change notification settings - Fork 4
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
Encrypt password in the stag.yaml #3
Comments
I'm not sure it'll be able to do that. Stag is just build and executing actual shell commands, so if you have an example of a command with a hash/encrypted password that you use, paste it in and I can look into recreating it. Can I ask what you're wanting to encrypt it for? Happy to help brainstrom a solution. |
Thanks for the reply. The main reason to encrypt it is security measure. I just don't like to have plain text password floating around, especially if it gives access to the ssh. I figure since Statamic hash encrypt its members/users password, stag could probably use the same protection. By the way, it's nice to have cli utility like this. Keep it up! |
No problemo! Glad to here you're getting good use out of it! So this password part of the config is actually only used for ftp currently. If you are successfully using stag to talk to your servers, then it's using passwordless ssh (wtih ssh keys you setup). I've got a task to make an update to the README to reflect this as it's a little confusing. You can actually remove the password line out of the config and you should be good to go. |
Thanks, I just realized that too. I have ssh key set up already. |
Is it possible to hash/encrypt the server password in the stag.yaml file?
Thx
Rudy
The text was updated successfully, but these errors were encountered: