QS - Encrypt Files Using GPG (Linux) Download PDF
QUICKSTART GUIDE

Encrypt Files Using GPG (Linux)

QuickStart Guide

Document Details

Document #: 160_QSG001_210816

Overview

This document outlines the steps to encrypt files using GPG on Linux.

QR code — scan to download the latest version of this guide
Be sure to grab the latest version of this document here: https://links.crunchtime.com/QS-EncryptFilesUsingGPG

OR by scanning the QR code to the left.


Encrypt Files Using GPG (Linux)

You can use GPG to password encrypt a file or files, but this does not work on folders.

  1. 1
    Go to the directory just above the one where the files you wish to transfer are located.
  2. 2
    Run command tar -zcvf NEW-FILE-NAME.tar.gz ORIGINAL FOLDER. There should be a new file ending in .tar.gz, which is a tarred gziped file:
Screenshot Screenshot
  1. 3
    To encrypt the new file run gpg --cipher-algo AES256 -c FILENAME.tar.gz. A new window will pop up asking for a passphrase. Please enter a secure passphrase. Afterwards, you should see a new file ending in .gpg. Push this file and securely send us the password to decrypt.
Screenshot Screenshot