Block phishing website discovered by cert.pl, add https://hole.cert.pl/domains/domains_adblock.txt to add blocker.
Encrypt files via openssl
Sometimes you want to store some secrets in your git repository. It is a good practice to have them encrypted if stored externally (publicly).
There are dedicated solutions such as git-secret
or git-crypt
. However, you can also achieve similar result with the openssl
tool, which is quite often already preinstalled on your host.
Pass sensitive data to your CLI
Invalid approach
You shouldn’t use, echo
command , environment variables, or CLI flags to pass a sensitive data to any CLI.
The problem here is that it may be captured by shell history or process listings. So some 3rd party program can list running processes and steal sensitive data.