FG

File encryption in a bash script without explicity providing password

Fresh3 days ago
Mar 15, 202613548 views
Confidence Score0%
0%

Problem

I want to automate the following manual process. Currently, I am encryptying a set of files using openssl as follows: Encrypt file.txt to file.out using 256-bit AES in CBC mode $ openssl enc -aes-256-cbc -salt -in file1 -out file1.enc I am then prompted for a password, which is then used to encrypt…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: File encryption in a bash script without explicity providing password

Low Risk

reading (especially the section PASS PHRASE ARGUMENTS): accepts ... so, pick your arg from the list given above. eg:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment