tag:blogger.com,1999:blog-1692034155797331883.post6213552745366939225..comments2024-03-28T19:04:27.673+05:30Comments on CyberKeeda: How to use encrypted password in Bash Shell script.shailhttp://www.blogger.com/profile/05532156483435343917noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1692034155797331883.post-27169198535558589342020-09-27T09:01:17.825+05:302020-09-27T09:01:17.825+05:30We ended up needing to solve the same problem and ...We ended up needing to solve the same problem and created an opensource (MIT License) tool to do this called encpass.sh. (https://github.com/plyint/encpass.sh) It creates a key for the script and stores the key and encrypted secrets in a hidden directory on disk. (Typically in your user's home directory, but you can define another location if you prefer) <br /><br />It uses OpenSSL under the covers similar to the recommendation here and uses industry recommended best practices (e.g. salts, named pipes, 10k iterations) to everything as secure as possible. It also provides a simple command line interface, so the user can easily manage secrets without having to know anything about how OpenSSL works.Xan Nickhttps://www.blogger.com/profile/13191664087887711194noreply@blogger.com