Get files from password protected snapshot?

I wrote a small shell script which sticks to core utils and openssl. Hassio-tar.sh - Decrypt Home Assistant backups with near-zero dependencies required