3 ms·
wrt https://gist.github.com/pietrorea/9081e2810c20337c6ea85350a31bb427 https://gist.github.com/pietrorea/9081e2810c20337c6ea85350a3... : Don't use "here docume
by Eduard 5y ago
wrt https://gist.github.com/pietrorea/9081e2810c20337c6ea85350a31bb427 https://gist.github.com/pietrorea/9081e2810c20337c6ea85350a3... :
Don't use "here documents" or "here strings" for passwords. Even in bash versions as recent as 2020, they create a temporary file within `/tmp/` with the secret inside. If the timing is unlucky, it will get written to disk and therefore leave permanent traces even after reboot. Only shredding will securely delete the data.