I am working on an encrypted data set. And using the code below to decrypt files.
openssl enc -aes-256-cbc -d -in $encryptedfile -out $decrypted_file -pass file:secret.txt
But I am always notified with this error:
error writing output file
It seems I don't have enough space to write decrypted files. But of course, we need to get the writing permission before using openssl to decrypt files.
strace? It should show the error.openssl. It's very hard to use correctly, it's just a debugging tool. The robust way to encrypt a file is withgpg.