- What is it?
- Step 1: Find the data
- Step 2: Decrypt the Data
- Step 3: Verify the Decryption
- Step 4: Extract the Data
What is it?
Once you're connected to your secure processing environment, you can follow these steps to find and decrypt data.
The data uploaded will reside within the "/srv/in" directory data/scripts.
Step 1: Find the data
Move to the directory where the encrypted data is stored using the following command:
cd /srv/in/<project-name>
Step 2: Decrypt the Data
Use OpenSSL to decrypt the data. Run the following command:
openssl aes-256-cbc -d -pbkdf2 -in mydata.tar.enc -out mydata.tar
NOTE:
Password: You will be prompted to provide the password to decrypt the data.
mydata.tar: Replace mydata.tar with the name of the tar file that exists under /srv/in.
Step 3: Verify the Decryption
You can verify the decryption process without extracting the files by listing the contents of the tar archive:
tar tvf mydata.tar
This command will display the contents of mydata.tar, allowing you to confirm the decryption was successful.
Step 4: Extract the Data
Finally, extract the decrypted files using the following command:
tar xvf mydata.tar
This will unpack the contents of mydata.tar into the current directory.