so now in this video, we're going to show you how to actually encrypt files or folders.
we've talked about encrypting basic text, but maybe you want to encrypt an actual folder or a single file.
so we'll hop back over to tails one more time to actually do that.
now back on tails, we have a folder here that we've created with two different text files.
our folder is called secret stuff and we have a text file number one stuff, stuff one dot text, which is here is stuff.
and then we have stuff two text, which is there is stuff.
so two simple files in a folder that we want to encrypt.
well, luckily, cleopatra comes built in with some abilities here.
we can go to file over here at the top left, and we can actually sign and encrypt a folder.
and if we want a whole folder, we just do this, we can click choose and we can do all the same stuff we're already familiar with.
we can sign it, we can encrypt it, we can do all sorts of stuff.
so we won't sign it for now.
but what we will do is encrypt for others.
and we can say that maybe we'll send this back to freeboot again.
and you can see the output will be a tar file.
so essentially a zip file, and it will be an encrypted zip file.
so this is where it will output.
you can change where it would output if you want.
but we just click encrypt.
and this does give us a warning here saying, hey, we are not encrypting to ourselves, meaning the new file we won't be able to read at all.
if it's not encrypted for ourselves, we won't be able to read it.
and that's fine.
we'll just click continue.
encryption was successful.
so now if we look, if we go back to our downloads, we see our original folder with the original stuff, but then we see a new folder and this folder is.
and this folder, if we try to open it, you see that it fails because we don't have the secret key for this.
we can't decrypt this, but we can send off this.
we could send off this entire thing to anyone who needs it.
it's only 300 bytes, and they could actually decrypt it.
so this is how you encrypt and decrypt files and folders.
if we wanted to do a specific file, same thing, all we would need to do is select sign in encrypt instead of signing encrypt folder.
and then we can go to, we can go to the downloads and then say we wanted to just do this file, we would just click open and same exact thing.
we can sign it if we want, we can encrypt, encrypt for others.
we'll say we encrypt for freeboot again.
and then we just encrypt.
and again, it'll come up with the warning saying, hey, you don't have the key for this, so you won't be able to decrypt.
that's fine.
we'll click continue.
it was successful.
so now we can go back over here in the secret stuff directory.
we see the stuff one.
txt, but then we also see stuff one.
txt.
pgp.
if we try to open it again, we get an error because we don't have the key for this.
so very basic, very easy to do.
if you have any questions, of course, let me know.
otherwise, we'll see you in the next one.