Welcome to STXLUG Livestream

 

3-16-19

Topic: Introduction to Encryption

 

Meeting Notes

 

Intro and news

 
  • Presenter: Eduardo Robles

What is encryption?

 
  • EncryptionThe process of obscuring information to make it unreadable without special knowledge, key files, or passwords.
  • Encryption can benefit everyone because it ensures tgat the data you are working with is safe from tampering.

What is PGP?

 
  • PGP – “Pretty Good Privacy”, invented by Phil Zimmerman and licensed it under GPL. Later the OpenPGP standard was created which is what most modern implementations of PGP use to implement PGP, for example GPG (GNU Privacy Guard).

Why use encryption?

 
  • Problem:

    A third-party wants to spy on your communications.

  • Solution:

    Encrypting the message makes it impossible for a third-party to spy on your communications.

How do you start encrypting your data?

 
  • There are a variety of methods you can use to encrypt your data. Today we will be learning how to use GPG (Gnu Privacy Guard).
  • With GPG you can create key pairs (Public and Private) that you will use to safely encrypt data or just messages.

Managing Keys

 
  • Once you created your key pairs, you need to share your Public key so others can use it to encrypt messages to you.
  • You will also have to get other users Public keys so you can encrypt messages to them.

Share Public key on Facebook

 
  • You can add your public key to Facebook easily. Check out this blog post to learn more.

Use Keybase for easy key management

 
  • Using a service like Keybase makes setting up PGP keys super easy.

Or simply send your Public key via email or meet in person.

 
  • You can export your Public key and save to an asc file that you can attach to an email.
  • Or you can also meet in person and exchange keys. The benefit here is that you can be absolutely sure that no one tampered with the keys.

Encrypting files

 
  • To encrypt a file with gpg is pretty easy.
  • Encrypt files for yourself gpg --output FILETOENCRYPT.gpg --encrypt --recipient [email protected] FILETOENCRYPT.txt
  • Decrypt files for yourself gpg --output FILETODECRYPT.gpg --decrypt UNENCRYPTEDFILE.txt you will be asked for you passphrase.
  • To encrypt a file for someone simply use the email to their Public key in the command above.

Final thoughts

 

Encryption can protect you and others from spying. It takes some work to setup but once it’s setup you can feel confident that your communications are safe.

Thank You!

I want to thank you all for joining me again an I hope you all have a great day!

Support my endeavors

View Raw Notes