Files containing PII (personally-identifiable information) (or any files containing information you consider confidential) should be encrypted before transferring to LiveRamp. GPG/PGP-encrypted files using LiveRamp’s public key can be automatically decrypted when automated ingestion is set up.

### Warning

LiveRamp's public key was updated December 29, 2020. The previous key will continue to work until March 3, 2021. After March 3, 2021 you must use the new public key when encrypting files for uploading. See this announcement for more information.

### Caution

Be sure to name your file correctly before encrypting it.

To both compress and encrypt a file, use one of the two methods listed below:

• Use the built-in compression functionality of gpg.

• Compress the file, and then encrypt it. This will produce a .gz.gpg file extension, for example.

You can also encrypt files using command line. To do so, enter the following commands into the command line:

$gpg --import liveramp_2021.pub.asc$ gpg --encrypt-files -r 02E02759 files_to_encrypt

### Note

After entering the above commands, you might get a message saying: "There is no assurance this key belongs to the named user." You can safely ignore this warning. When the command line prompts whether you would like to use the key anyway, enter "y" to generate the encrypted file.