GPG Encryption & Decryption Tutorial πŸ”

Learn how to encrypt and decrypt files using GPG commands with this quick demo of GnuPG CLI.

GPG Encryption & Decryption Tutorial πŸ”
Melvin L
86.7K views β€’ Dec 13, 2018
GPG Encryption & Decryption Tutorial πŸ”

About this video

in this quick video you can see how to use GPG commands to encrypt and decypt a file.
- demo using GnuPG/GPG CLI
- GPG to encrypt and decrypt a (data) file
- Key lifecycle - Export and import keys (public and private keys)
------------------------------------------------------------------------
Install:
--------
apt-get install gnupg

List keys:
----------
gpg --list-secret-keys
gpg --list-keys

Generate keys:
-------------
gpg --full-generate-key
OR
gpg --gen-key

Export/Import keys:
-------------------
gpg --export -a Melvin > melvin_public.key
gpg --import melvin_public.key
gpg --export-secret-keys Melvin > melvin-private-key.key
gpg --import melvin-private-key.key

Encrypt & Decrypt
-----------------
gpg -e -r "Melvin" users.csv
gpg --always-trust -e -r "Melvin" users.csv

gpg -d users.csv.gpg
gpg --batch --passphrase demo users.csv.gpg

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

86.7K

Likes

651

Duration

18:07

Published

Dec 13, 2018

User Reviews

4.3
(17)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.