This PR adds the ability to decrypt files destined for the built image that have been encrypted. 🔒
The process in a nutshell:
Add a new file to the appropriate .gitignore file
Add a new file to the image
Encrypt it using openssl enc -aes-256-cbc -a -salt -in example.txt -out example.txt.enc
Run the build script with the IMAGE_BUILD_PASSWORD set to the correct value
The convention here is that every file x is encrypted as x.enc with the same password. The build script will decrypt all files ending in ".enc" (i.e. *.enc) to a file without the ".enc" suffix.
This PR adds the ability to decrypt files destined for the built image that have been encrypted. 🔒
The process in a nutshell:
.gitignore
fileopenssl enc -aes-256-cbc -a -salt -in example.txt -out example.txt.enc
IMAGE_BUILD_PASSWORD
set to the correct valueThe convention here is that every file
x
is encrypted asx.enc
with the same password. The build script will decrypt all files ending in ".enc
" (i.e.*.enc
) to a file without the ".enc
" suffix.