in this video, we're now going to explore pgp and importing and exporting keys.
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.
so let's go ahead and do that.
we'll still need to open up cleopatra again.
and here we are back in cleopatra.
and there's a few different ways we can actually export the keys.
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.
in this case, we'll just throw it on the desktop.
and now you can see on the desktop, i'll drag it over to here.
you can see a file called dark web academy, underscore the id and then underscore public.
so this is my public key, which i can share with people.
and we can actually open this in notepad.
you'll see something very familiar, which begin pgp public key block and the actual block associated with that key.
so if someone sends you their pgp key, it'll often look like this with the beginning and end there.
and you want this whole thing to be able to import.
so that brings us to the next point, which is actually importing these keys itself.
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.
you'll notice it does yell because it was already in there, so it doesn't need to really import it.
it's unchanged, right?
it's already there.
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.
so it has the freeboot one.
so now we've imported the key and we're ready to use it and to encrypt files using that key.
so we can take a look at that in a future video.
if you have any questions on this, of course, let me know.
otherwise i'll see you in the next one.