Using GPG to encrypt and decrypt a file
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
Видео Using GPG to encrypt and decrypt a file канала Melvin L
- 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
Видео Using GPG to encrypt and decrypt a file канала Melvin L
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Using GPG](https://i.ytimg.com/vi/ZSa-d_9O5DA/default.jpg)
![Basic File Encryption with GPG key pairs!](https://i.ytimg.com/vi/DMGIlj7u7Eo/default.jpg)
![](https://i.ytimg.com/vi/8OeAvS36sTw/default.jpg)
![GPG/PGP Free Data Encryption with Python](https://i.ytimg.com/vi/9NiPwvLCDpM/default.jpg)
![Managing Your PGP Keys](https://i.ytimg.com/vi/hU0KhUDY4uc/default.jpg)
![Encrypting files using GPG Suite on Mac](https://i.ytimg.com/vi/FrrT9fYoL3Y/default.jpg)
![[2020] How to use GPG to encrypt and decrypt messages](https://i.ytimg.com/vi/1yM4ciPUy-c/default.jpg)
![Creating and Managing a GPG Key Pair](https://i.ytimg.com/vi/1vVIpIvboSg/default.jpg)
![GnuPG - How to encrypt and decrypt files - Public Key and Private Key concept](https://i.ytimg.com/vi/H5jXg0Wx2cM/default.jpg)
![Encrypted files in Windows with GPG and Kleopatra](https://i.ytimg.com/vi/QmE4LrBSChQ/default.jpg)
![How To Decrypt PGP Messages | gpg4win Kleopatra Tutorial](https://i.ytimg.com/vi/mwyYRFBcEsU/default.jpg)
![Do This Before Putting Your Files in the Cloud](https://i.ytimg.com/vi/M0O7vhvQW30/default.jpg)
![Encryption and decryption with openssl](https://i.ytimg.com/vi/-nEh7X4dtuw/default.jpg)
![GPG encryption demonstration. Create symmetric asymmetric public key private key tutorial](https://i.ytimg.com/vi/FLZLVqceAeA/default.jpg)
![InfuxDB: Overview, Key Concepts and Demo | Getting Started](https://i.ytimg.com/vi/gb6AiqCJqP0/default.jpg)
![Linux Intro: Signing and verifying data using GPG](https://i.ytimg.com/vi/4bbyMEuTW7Y/default.jpg)
![How to Encrypt and Decrypt Files using Python](https://i.ytimg.com/vi/zWNA2ThkVT4/default.jpg)
![The Complete PGP/GPG Encryption Decryption Tutorial | GnuPG | Cryptography and System Security](https://i.ytimg.com/vi/_uXb7gsJwoM/default.jpg)
![How To Encrypt And Decrypt Files Using Private Public Keys With OpenSSL On Ubuntu Linux](https://i.ytimg.com/vi/g9XN1-bANKU/default.jpg)
![Linux : HowTo Encrypt And Decrypt Files With A Password using GPG](https://i.ytimg.com/vi/a91v1bz_ZU4/default.jpg)