Slide 1

Slide 1 text

Introduction to PGP Carlos León Skelleftech 23-Jan-2023 Skellefteå, Sweden

Slide 2

Slide 2 text

Cloud Native Specialist @ CoreX Social Media: - mastodon: @[email protected] - Twitter: @mongrelion - LinkedIn: https://www.linkedin.com/in/mongrelion/ - [email protected]

Slide 3

Slide 3 text

Let’s cover the basics

Slide 4

Slide 4 text

The problem

Slide 5

Slide 5 text

Ana Erik

Slide 6

Slide 6 text

Julius Caesar’s Cipher When Julius Caesar sent messages to his generals, he didn't trust his messengers. So he replaced every A in his messages with a D, every B with an E, and so on through the alphabet. Only someone who knew the "shift by 3" rule could decipher his messages. So starting with ABCDEFGHIJKLMNOPQRSTUVWXYZ and sliding everything up by 3, you get DEFGHIJKLMNOPQRSTUVWXYZABC where D=A, E=B, F=C, and so on. The key here is 3.

Slide 7

Slide 7 text

Public Key Encryption Source: Wikipedia

Slide 8

Slide 8 text

Systems using Public Key encryption - SSH - PGP - TLS

Slide 9

Slide 9 text

Digital Signatures Source: Wikipedia

Slide 10

Slide 10 text

What is PGP? From the Wikipedia: Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication. PGP is used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. Phil Zimmermann developed PGP in 1991.[3]

Slide 11

Slide 11 text

Live Coding Session Alert

Slide 12

Slide 12 text

What will we cover? - Generate a set of key pairs using gpg - Import someone else’s public key - Encrypt/decrypt files - Sign messages - Verify signature

Slide 13

Slide 13 text

Stretch goals - Take private key offline - Generate a revocation certificate

Slide 14

Slide 14 text

Sources - https://georgebrock.github.io/talks/pretty-good-introduction/ - https://users.ece.cmu.edu/~adrian/630-f04/PGP-intro.html - https://en.wikipedia.org/wiki/Public-key_cryptography - https://commons.wikimedia.org/wiki/File:Skelleftea_landskyrka_main_view. jpg - Icons taken from Remix Icon under the Apache 2.0 License

Slide 15

Slide 15 text

Tackar!