Originally Posted by anomie
Here's your first decrypt statement:
Here's how to re-encrypt that one:
openssl enc -aes-256-cbc -in install.tgz -out install.tgz.enc -pass file:/home/prushik/Public/keys/key -salt -e
Please read the enc(1) and smime(1) manpages. It might be easier to understand if you clean up your pipelines and document (for yourself) what is happening.
Great! thanks, just that first command might be enough, I should be able to modify a script in that first image so that the second image does not need to be encrypted at all.
In the command I posted to decrypt the second image, I think I added an extra pipe near the end accidentally, right before the redirect. Oops, sorry. For the most part I am pretty good at understanding pipes and redirects and such, but openssl and encryption stuff is just so complicated...