alright, in this video, we're going to show you how to actually do some encrypting and decrypting using pgp and cleopatra on tails.
so let's hop over to our tails desktop to get started.
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.
give me your key.
okay.
so now i can actually get my key and give it to them.
so what i will do is go back to my certificates, find the one i want to use in this case, the tails.
local, we can double click on it and click export.
and you can see all of the key information here.
what i can do is copy that.
and then just back in the chat, i can just throw them the key.
so here you go.
we could also export as a file and send it, but this works just as well.
now that they have that file, they should be able to now encrypt a message to us.
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.
so let's see if we can do that.
and we can see that we just got a new message.
it looks like a message came from the other server and with a pgp message attached.
well, we can't read that.
we'll definitely need to decrypt it.
so we can go back over here to cleopatra.
we can go to our notepad.
we can paste this in here and now we can decrypt verify notepad and boom, just like that, it's decrypted.
hey, can you see this?
are you on tails?
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?
otherwise, we're not going to be able to send them anything back.
so what we expect from them to do is to send us their key.
and just like that, we received a message looks like a key.
perfect, we'll go ahead and copy that.
and we can also put this in our notepad.
and assuming there's no issues, there's a button here that says import notepad.
if this is grayed out for you, be sure to check for any trailing spaces.
like if i put my cursor here and add one space, you'll notice it goes away.
so watch out for that has to be a valid key, but we can import this one.
and it looks like it's imported and now we should be able to sign something to them.
yes, i am on tails.
can you read this?
and we will encrypt for others.
and in this case we will encrypt for.
in this case, we'll encrypt for who we're talking to, which is freeboot.
and that's all we really need to do.
we should be able to encrypt the notepad.
it says it was successful.
so if we go back, now you see the notepad is successful and we can reply.
we can reply with this message.
and assuming that message can be seen, i'll put it on the other computer.
i will actually decrypt it.
but let's go back to the notepad here.
and we got a reply there at the very bottom, if you can see saying yes.
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.
you can actually see that this conversation is not private, right?
in order to do this, i would need to start a private conversation.
and this will send a message to the other person letting them know to use otr.
so they would need to make sure they have the plugin.
and that's pretty it.
so that is how you encrypt and decrypt.
now, if we didn't want to paste the private key, there are other ways we can get it in.
so if you had an actual public key file, you can just click import here.
and if you see the file, you can just open it and it will import it the same way.
and that's about it.
that's how you encrypt and decrypt files using cleopatra on tails using pgp.
if you have any questions, of course, let me know.
otherwise, we'll see you in the next one.