How to decrypt a backup in linux?

I created a a simple shell script which uses gzip, tar, and openssl to decrypt backups. See Hassio-tar.sh - Decrypt Home Assistant backups with near-zero dependencies required