Back

Find and Decrypt Data

Updated on

Locate, decrypt, and extract data in the Secure Processing Environment (SPE) using OpenSSL and tar commands.

Find the Data

The uploaded data resides within the /srv/in/<project-name> directory.

Go to the /srv/in/ directory:

cd /srv/in/<project-name>

Decrypt the Data

Decrypt the data using OpenSSL, and enter the password to decrypt when prompted:

openssl aes-256-cbc -d -pbkdf2 -in <mydata.tar>.enc -out <mydata.tar>

Replace <mydata.tar> with the name of the tar file in the /srv/in/ directory.

Verify the Decryption

Verify the decryption by listing the contents of the tar file:

tar tvf mydata.tar

This command does not extract the files. It only displays the contents of mydata.tar, as a way to confirm the decryption was successful.

Extract the Data

Extract the decrypted files from the tar archive:

tar xvf mydata.tar

This command extracts the files from mydata.tar into the current directory.