1
00:00:00,840 --> 00:00:05,550
in this video, we're now going to explore pgp and importing and exporting keys.

2
00:00:05,550 --> 00:00:11,950
so we have our key pair and we want to now export it, but we also want to import someone else's key that they sent us.

3
00:00:11,950 --> 00:00:13,450
so let's go ahead and do that.

4
00:00:13,450 --> 00:00:15,680
we'll still need to open up cleopatra again.

5
00:00:15,940 --> 00:00:18,450
and here we are back in cleopatra.

6
00:00:18,450 --> 00:00:21,490
and there's a few different ways we can actually export the keys.

7
00:00:21,490 --> 00:00:28,450
so the best way to do it is just clicking export here and clicking export will open up the file explorer and give you a bunch of options.

8
00:00:28,450 --> 00:00:30,280
in this case, we'll just throw it on the desktop.

9
00:00:30,740 --> 00:00:34,000
and now you can see on the desktop, i'll drag it over to here.

10
00:00:34,100 --> 00:00:40,990
you can see a file called dark web academy, underscore the id and then underscore public.

11
00:00:40,990 --> 00:00:43,470
so this is my public key, which i can share with people.

12
00:00:43,470 --> 00:00:45,430
and we can actually open this in notepad.

13
00:00:45,430 --> 00:00:51,880
you'll see something very familiar, which begin pgp public key block and the actual block associated with that key.

14
00:00:51,940 --> 00:00:56,810
so if someone sends you their pgp key, it'll often look like this with the beginning and end there.

15
00:00:56,810 --> 00:00:59,160
and you want this whole thing to be able to import.

16
00:00:59,340 --> 00:01:03,880
so that brings us to the next point, which is actually importing these keys itself.

17
00:01:03,900 --> 00:01:10,920
so what you'd want to do is just send this to somebody, but if you wanted to import it, if they sent you the file, you can actually just drop it into cleopatra.

18
00:01:11,500 --> 00:01:19,130
you'll notice it does yell because it was already in there, so it doesn't need to really import it.

19
00:01:19,130 --> 00:01:19,930
it's unchanged, right?

20
00:01:19,930 --> 00:01:20,680
it's already there.

21
00:01:21,580 --> 00:01:28,910
so we can click import and you can actually see under all certificates, we have our one we created, but imported ones actually has the new one we just imported.

22
00:01:28,910 --> 00:01:30,160
so it has the freeboot one.

23
00:01:30,260 --> 00:01:36,120
so now we've imported the key and we're ready to use it and to encrypt files using that key.

24
00:01:36,220 --> 00:01:38,600
so we can take a look at that in a future video.

25
00:01:39,180 --> 00:01:41,350
if you have any questions on this, of course, let me know.

26
00:01:41,350 --> 00:01:42,760
otherwise i'll see you in the next one.