1
00:00:00,200 --> 00:00:07,270
alright, in this video, we're going to show you how to actually do some encrypting and decrypting using pgp and cleopatra on tails.

2
00:00:07,270 --> 00:00:10,260
so let's hop over to our tails desktop to get started.

3
00:00:10,640 --> 00:00:17,650
and here on our tails desktop, you can see that we just got an i am from somebody and it looks like this person says, hey, let's chat.

4
00:00:17,650 --> 00:00:18,550
give me your key.

5
00:00:18,550 --> 00:00:19,110
okay.

6
00:00:19,110 --> 00:00:21,770
so now i can actually get my key and give it to them.

7
00:00:21,770 --> 00:00:26,610
so what i will do is go back to my certificates, find the one i want to use in this case, the tails.

8
00:00:26,610 --> 00:00:29,750
local, we can double click on it and click export.

9
00:00:29,750 --> 00:00:32,170
and you can see all of the key information here.

10
00:00:32,170 --> 00:00:33,600
what i can do is copy that.

11
00:00:33,780 --> 00:00:36,450
and then just back in the chat, i can just throw them the key.

12
00:00:36,450 --> 00:00:37,400
so here you go.

13
00:00:37,660 --> 00:00:41,200
we could also export as a file and send it, but this works just as well.

14
00:00:41,380 --> 00:00:45,430
now that they have that file, they should be able to now encrypt a message to us.

15
00:00:45,430 --> 00:00:52,030
so assuming they can, they should reply with an encrypted message back to us and we should be able to decrypt it and read the message.

16
00:00:52,030 --> 00:00:53,480
so let's see if we can do that.

17
00:00:55,460 --> 00:00:57,610
and we can see that we just got a new message.

18
00:00:57,610 --> 00:01:04,640
it looks like a message came from the other server and with a pgp message attached.

19
00:01:05,140 --> 00:01:06,290
well, we can't read that.

20
00:01:06,290 --> 00:01:07,490
we'll definitely need to decrypt it.

21
00:01:07,490 --> 00:01:09,760
so we can go back over here to cleopatra.

22
00:01:10,620 --> 00:01:12,360
we can go to our notepad.

23
00:01:13,540 --> 00:01:19,710
we can paste this in here and now we can decrypt verify notepad and boom, just like that, it's decrypted.

24
00:01:19,710 --> 00:01:20,670
hey, can you see this?

25
00:01:20,670 --> 00:01:21,840
are you on tails?

26
00:01:21,940 --> 00:01:33,680
and i said, like i say, please send key so i can respond right now we want to respond, but we need their key so we can actually encrypt something to them, right?

27
00:01:34,380 --> 00:01:36,720
otherwise, we're not going to be able to send them anything back.

28
00:01:36,860 --> 00:01:40,480
so what we expect from them to do is to send us their key.

29
00:01:40,780 --> 00:01:43,960
and just like that, we received a message looks like a key.

30
00:01:45,540 --> 00:01:47,330
perfect, we'll go ahead and copy that.

31
00:01:47,330 --> 00:01:49,680
and we can also put this in our notepad.

32
00:01:49,740 --> 00:01:53,510
and assuming there's no issues, there's a button here that says import notepad.

33
00:01:53,510 --> 00:01:56,710
if this is grayed out for you, be sure to check for any trailing spaces.

34
00:01:56,710 --> 00:01:59,810
like if i put my cursor here and add one space, you'll notice it goes away.

35
00:01:59,810 --> 00:02:03,760
so watch out for that has to be a valid key, but we can import this one.

36
00:02:04,780 --> 00:02:09,000
and it looks like it's imported and now we should be able to sign something to them.

37
00:02:10,139 --> 00:02:12,160
yes, i am on tails.

38
00:02:12,420 --> 00:02:13,800
can you read this?

39
00:02:15,740 --> 00:02:17,750
and we will encrypt for others.

40
00:02:17,750 --> 00:02:19,960
and in this case we will encrypt for.

41
00:02:24,340 --> 00:02:27,640
in this case, we'll encrypt for who we're talking to, which is freeboot.

42
00:02:27,780 --> 00:02:29,450
and that's all we really need to do.

43
00:02:29,450 --> 00:02:31,480
we should be able to encrypt the notepad.

44
00:02:31,540 --> 00:02:32,910
it says it was successful.

45
00:02:32,910 --> 00:02:36,880
so if we go back, now you see the notepad is successful and we can reply.

46
00:02:40,660 --> 00:02:42,320
we can reply with this message.

47
00:02:42,580 --> 00:02:46,350
and assuming that message can be seen, i'll put it on the other computer.

48
00:02:46,350 --> 00:02:48,250
i will actually decrypt it.

49
00:02:48,250 --> 00:02:49,810
but let's go back to the notepad here.

50
00:02:49,810 --> 00:02:54,400
and we got a reply there at the very bottom, if you can see saying yes.

51
00:02:54,460 --> 00:03:00,050
so there's some weird pacing stuff that happens here, but we got a message here in pigeon and we were able to use it.

52
00:03:00,050 --> 00:03:03,210
you can actually see that this conversation is not private, right?

53
00:03:03,210 --> 00:03:05,480
in order to do this, i would need to start a private conversation.

54
00:03:05,740 --> 00:03:09,690
and this will send a message to the other person letting them know to use otr.

55
00:03:09,690 --> 00:03:11,680
so they would need to make sure they have the plugin.

56
00:03:11,700 --> 00:03:12,650
and that's pretty it.

57
00:03:12,650 --> 00:03:14,770
so that is how you encrypt and decrypt.

58
00:03:14,770 --> 00:03:18,160
now, if we didn't want to paste the private key, there are other ways we can get it in.

59
00:03:18,620 --> 00:03:21,970
so if you had an actual public key file, you can just click import here.

60
00:03:21,970 --> 00:03:25,520
and if you see the file, you can just open it and it will import it the same way.

61
00:03:26,060 --> 00:03:27,110
and that's about it.

62
00:03:27,110 --> 00:03:31,730
that's how you encrypt and decrypt files using cleopatra on tails using pgp.

63
00:03:31,730 --> 00:03:33,750
if you have any questions, of course, let me know.

64
00:03:33,750 --> 00:03:35,240
otherwise, we'll see you in the next one.