WEBVTT

0
00:02.600 --> 00:05.000
Hello guys and welcome!

1
00:05.000 --> 00:10.890
We’ll start talking about GNU Privacy Guard or GPG.


2
00:10.890 --> 00:18.590
GnuPG is a cryptographic tool that helps you manage public and private keys as well as perform encryption

3
00:18.590 --> 00:25.960
and decryption, both symmetric and asymmetric signing and verifying operations.

4
00:26.020 --> 00:33.790
In my opinion GPG is the most popular cryptographic tool and offers the highest level of security.

5
00:33.850 --> 00:41.200
If you want to encrypt a file and to be sure that no one will ever access it, GPG is your tool of

6
00:41.220 --> 00:41.840
choice.

7
00:42.220 --> 00:43.870
Of course this is debatable!

8
00:44.870 --> 00:52.720
Note that gpg is not a cryptographic protocol but it implements the same cryptographic protocol as

9
00:52.970 --> 00:54.880
everyone uses.

10
00:54.890 --> 01:03.350
You’ll find sha-2  hash algorithms family, aes used for symmetric encryption or

11
01:03.740 --> 01:13.760
rsa used for public key encryption; it's somehow similar to Open SSL just that its main purpose

12
01:14.060 --> 01:15.410
is a little bit different.

13
01:16.800 --> 01:22.970
GnuPG is an open source implementation of OpenPGP ( Pretty Good 


14
01:22.970 --> 01:28.270
Privacy ) standard as defined in RFC 4880. 

15
01:28.340 --> 01:33.590
Let's start with the installation! Depending on your platform, 


16
01:33.600 --> 01:41.400
you can install the GPG command line tool with the following commands. On macOS the easiest installation

17
01:41.760 --> 01:51.880
is to use the popular package manager Homebrew.
In a terminal you just type brew install gnupg;
on Windows

18
01:52.270 --> 02:02.610
you can find the GnuPG installer at this address: https://gpg4win.org/download.html In this example I'm gonna use Linux.

19
02:03.030 --> 02:08.880
Most Linux distributions like Ubuntu, Linux Mint, Kali Linux and so on 

20
02:08.880 --> 02:16.530
come with gpg already installed. But if it's necessary you can install it by executing sudo apt


21
02:16.920 --> 02:18.690
install gnupg

22
02:23.030 --> 02:31.800
On Kali Linux GNUPG is already the newest version; to get started and to make sure it is installed

23
02:31.800 --> 02:35.460
correctly run gpg --help

24
02:38.380 --> 02:47.650
It printed out the version number, supported encryption and hash algorithms and all the usage options.

25
02:49.710 --> 02:59.840
You see, it's a very complex command. This will give you an overview of all the features of GPG! OK

26
03:00.270 --> 03:06.960
I'll take a short break and in the next lectures we'll see how to encrypt a file using both symmetric

27
03:07.200 --> 03:09.090
and asymmetric encryption.