blackbox_cat cannot be run on the same file more than one simultaneously.
Because blackbox_cat decrypts the encrypted file to the unencrypted filename an issue is hit if you run cat on the same encrypted file more than once at a time.
It would be far nicer to either decrypt to a temporary filename, or to not have blackbox_cat stage the unencrypted file to disk at all.
r
I'm seeing the same issue. It means the following command fails silently:
blackbox_cat myfile.gpg > myfile
Subsequent runs of blackbox_cat myfile.gpg, without stdout redirection, also fail due to the existing empty myfile file.
What's more, the command returns 0 which suggests that it succeeded, instead of a non-zero exit status to indicate that an error has occurred.
I wasted a lot time trying to figure out why I couldn't decrypt a file, thinking there was something wrong with my setup only to find it was caused by this bug.