What is it?
Once your data is prepared and ready to be retrieved from the secure processing environment, follow these steps for secure transfer and encryption.
Step 1: Move the Output Data
Move the output data to the designated directory /srv/out using the following command:
mv /path/to/the_ready_to_be_retrieved_data /srv/out
Replace /path/to/the_ready_to_be_retrieved_data with the actual path of your output data.
Step 2: Encrypt the Output Data
To ensure data security, encrypt the output data using AES-256 encryption via OpenSSL. This encryption ensures that your data remains secure during transfer.
Run the following command to encrypt your data:
openssl enc -aes-256-cbc -pbkdf2 -salt -in mydata.tar -out mydata.tar.enc
NOTE: mydata: Replace mydata with the actual name of your output data file. Password: You will be prompted to enter a password. This password will be required later for decryption, so make sure to share it with the appropriate reviewer.
Example: For instance, if your output data is named results.tar, you would execute the following:
openssl enc -aes-256-cbc -pbkdf2 -salt -in results.tar -out results.tar.enc
Ensure that the encrypted file (mydata.tar.enc)
is correctly saved in the /srv/out directory.