GPG - GNU Privacy Guard



Similar documents
Tutorial: Encrypted with Thunderbird and Enigmail. Author: Shashank Areguli. Published: Ed (August 9, 2014)

GPG installation and configuration

File and encryption with GPG4win & Enigmail

GPG4win / Kleopatra Documentation. Secure file and encryption by using GnuPG for Windows

Encrypting your Communications using PGP

HW/Lab 1: Security with PGP, and Crypto CS 336/536: Computer Network Security DUE 09/28/2015 (11am)

An Introduction to Secure . Presented by: Addam Schroll IT Security & Privacy Analyst

FRCC Secure Transfer & Storage Infrastructure. Training for new data transfer process

Encrypting with KMail, Mozilla Thunderbird, and Evolution LOCK AND KEY BY FRAUKE OSTER

PGP from: Cryptography and Network Security

Biography of Trainer. Education. Experience. Summary. TLS/SSL : Securing your website PGP : Secure your communication. Topic

Signing and Encryption with GnuPG

LiteCommerce Advanced Security Module. Version 2.8

Secure Client Applications

Using Your PGP Tool to Update Your Address Settings for Encrypted Messaging

I. Configuring Digital signature certificate in Microsoft Outlook 2003:

The KGpg Handbook. Jean-Baptiste Mardelle Rolf Eike Beer

Secure Part II Due Date: Sept 27 Points: 25 Points

Encrypting and signing

The Handbook V 1.8 Adaptations by Ludwig Hügelschäfer Based on Version 1 by Daniele Raffo with Patrick Brunschwig and Robert J. Hansen.

PGP (Pretty Good Privacy) INTRODUCTION ZHONG ZHAO

Introduction to Cryptography

Secured Mail through PGP Mail Gateway

WiMAX Public Key Infrastructure (PKI) Users Overview

Signing and Encryption with GnuPG

THUNDERBIRD WORKBOOK

Pretty Good Privacy with GnuPG

Personal Secure Certificate

Yale Software Library. PGP 9.6 for Windows

Exostar LDAP Proxy / Secure Setup Guide. This document provides information on the following topics:

CBH Provider EDI Browser Manual

GETTING STARTED SECURE FILE TRANSFER PROCEDURES A. Secure File Transfer Protocol (SFTP) Procedures

Ubuntu Open PGP IMPLEMENTATION. Dr. ENİS KARAARSLAN 2014

Concepts in Crypto. Parker Micah PGP: 4FF3 AA1B D29E DE C F88 9A

Cryptography and Network Security

How to use Certificate in Microsoft Outlook

How To Encrypt A Traveltrax Report On Gpg On A Pc Or Mac Or Mac (For A Free Download) On A Thumbdrive Or Ipad Or Ipa (For Free) On Pc Or Ipo (For An Ipo)

ENCRYPTION ENCRYPTION A BLACK PAPER HOW TO SECURE YOUR S FOR FREE WITH THE STRONGEST ENCRYPTION IN THE WORLD A BLACK PAPER

FRCC Secure Data Transfer. Users Guide V1.0

INTRODUCTION TO CRYPTOGRAPHY

Internet Encryption S/Mime Standard

Learning how OpenPGP works and how to use it to manage your keyring has just been a warm-up to the real meat of this book: using OpenPGP with .

PDG Software. Encryption Guide

The Handbook by Daniele Raffo with Robert J. Hansen and Patrick Brunschwig v and earlier

Overview Keys. Overview

How to use PGP Encryption with iscribe

WS_FTP Professional 12. Security Guide

PDG Software. PDG Key Manager User Guide

PDG Software. Keyman Encryption Guide

PGP Desktop Quick Start Guide Version 10.2

How To Encrypt Data With Encryption

Cryptography and Network Security Chapter 15

PGP Desktop Quick Start Guide version 9.6

Electronic Mail Security

Installing your Digital Certificate & Using on MS Out Look 2007.

HMRC Secure Electronic Transfer (SET)

A Noval Approach for S/MIME

gpg4o Manual Version 3.0

CIPHERMAIL ENCRYPTION. CipherMail white paper

How to Setup Privacy Guard Encryption.

Electronic Mail Security. Security. is one of the most widely used and regarded network services currently message contents are not secure

Chapter 6 Electronic Mail Security

Overview of CSS SSL. SSL Cryptography Overview CHAPTER

Chapter 11 Security+ Guide to Network Security Fundamentals, Third Edition Basic Cryptography

HOW WILL I KNOW THAT I SHOULD USE THE IAS CONTINUITY SERVICE?

Personal Secure Certificate

6. Is it mandatory to have the digital certificate issued from NICCA? Is it mandatory for the sender and receiver to have a NIC id?...

security. Mag. iur. Dr. techn. Michael Sonntag

TCS-CA. Outlook Express Configuration [VERSION 1.0] U S E R G U I D E

Network Security Essentials Chapter 7

Open Source Tools for Security with Mail.app in Mac OS X

Ciphire Mail. Abstract

to hide away details from prying eyes. Pretty Good Privacy (PGP) utilizes many

Internet Security. Contents. ITS335: IT Security. Internet Security. Secure . Summary

Pretty Good Privacy PGP for Personal Privacy, Version 5.0. User s Guide. PGP, Inc. For the Mac OS

PGP Universal Satellite Version 2.7 for Windows Release Notes

Generating and Installing SSL Certificates on the Cisco ISA500

HP ProtectTools Embedded Security Guide

Elements of Security

Receiving Secure from Citi For External Customers and Business Partners

SECURE USER GUIDE OUTLOOK 2000

4. Click Next and then fill in your Name and address. Click Next again.

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

WS_FTP Professional 12. Security Guide

HMRC Secure Electronic Transfer (SET)

Security. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

Djigzo S/MIME setup guide

Technical notes for HIGHSEC eid App Middleware

Parallels Panel. Parallels Small Business Panel 10.2: User's Guide. Revision 1.0

USER GUIDE WWPass Security for (Outlook) For WWPass Security Pack 2.4

Setting up secure communication with Ericsson. Guideline for Ericsson partners

Principle, utilization and limitations for secure electronic mail systems. Lindomar Bandeira Rocha

How to install and use the File Sharing Outlook Plugin

WS_FTP Professional 12

Secure Outgoing Mail (SMTP) Setup Guide

Using etoken for Securing s Using Outlook and Outlook Express

Networks & Security Course. Web of Trust and Network Forensics

How to use Certificate in Outlook Express

Symantec Encryption Solutions for , Powered by PGP Technology

Using Entrust certificates with Microsoft Office and Windows

Transcription:

GPG - GNU Privacy Guard How to use Károly Erdei October 15, 2014 Károly Erdei GPG - GNU Privacy Guard 1/60

1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 2/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 3/60

Why to use cryptography in the computer/internet age Privacy Privacy and digital privacy is a human right Digital privacy means keeping your appropriate digital data, files, accessable only by you keeping your digital comminication not readable, accessable by third party members (trough encrypting the information before sending) Public data a data sent through the Internet is public (i.e. readable, accessable by third party members), if the data is not encrypted! It is YOUR task to take care about your digital privacy! Nobody else, but YOU, have interest in it! Károly Erdei GPG - GNU Privacy Guard 4/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 5/60

Cryptography Cryptography you encrypt a readable text (or a file) to an unreadable text (or file) using a key you can decript the file with a key Symmetric-key cryptography for encryption and decryption the same key will be used Public-key cryptography (assymetric key cryptography) a public key and private key pair will be generated the public key is used for encryption the private key is used for decryption Károly Erdei GPG - GNU Privacy Guard 6/60

Public key cryptography History Assymetric key cryptography 1976 - the paper of Diffie-Hellman: the theory of it. they could not find such a system RSA algorithm 1978 - Rivest, Shamir, Adleman: a working algorithm for the public key cryptography PGP - Pretty Good Privacy 1991 - Zimmermann: algorithm and computer program Károly Erdei GPG - GNU Privacy Guard 7/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 8/60

Public key cryptography PGP features PGP 1991 - Zimmermann: algorithm and computer program: for data encryption and decription that provides cryptographic privacy and authentication for data communication it uses for encryption a combination of hashing, data compression, symmetric-key cryptography and public-key cryptography the public key is bound to the name and/or email- address PGP is used for encryption, decryption and signing...... for texts, e-mails, files, directories, and whole disk partitions Károly Erdei GPG - GNU Privacy Guard 9/60

How PGP works Károly Erdei GPG - GNU Privacy Guard 10/60

PGP, OpenPGP, GPG PGP is available without a fee but is not really free software OpenPGP it is a free software without patent problems is a standard of the IETF (Internet Engineering Task Force) last version of OpenPGP is defined in RFC 4880 (Nov.2007) GPG, GnuPG - Gnu Privacy Guard a project of the Free Software Foundation OpenPGP specification implemented under GPL is freely available together with all source code is maintained separatly from GUIs, which use GPG http://www.gnupg.org/ Károly Erdei GPG - GNU Privacy Guard 11/60

Versions of GnuPG GnuPG v-1.4 compliant with OpenPGP described in RFC 4880. the standalone version of OpenPGP no support for S/MIME and for key servers no other tools, usefull for desktop environments mostly used for servers and embedded platforms Debian package: gnupg GnuPG v-2.0 compliant with OpenPGP described in RFC 2440 (Nov 1998) can be set to be compliant to RFC 4880 the modularized version of OpenPGP support for S/MIME, key servers with tools, usefull for desktop environments used for desktop environments Debian package: gnupg2 Károly Erdei GPG - GNU Privacy Guard 12/60

GUI for GnuPG GUI for GPG is available for almost all OS Linux KGPG - the KDE GUI Seahorse - the GNU GUI other OS GPG4Win (MS Windows) MacGPG (Mac OS) ipgmail (ios) APG (Android) Enigmail - a Thunderbird plugin which uses GPG Károly Erdei GPG - GNU Privacy Guard 13/60

Using GnuPG in Debian and Ubuntu kgpg - the best GUI Packages to install apt-get install gnupg2 apt-get install kgpg apt-get install seahorse Packages for use with Mozilla Thunderbird apt-get install thunderbird/icedove apt-get install enigmail Károly Erdei GPG - GNU Privacy Guard 14/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 15/60

KGPG Assistant KGPG Assistant At the first start of KGPG the Assistant window will be started Some basic configuration will be carried out you can confirm the default values for KGPG, by clicking Next, except two values: Do unmark the settings for: Generate new key Start KGpg automatically by starting KDE Finish configuration The next slides show you the configuration step-by-step Károly Erdei GPG - GNU Privacy Guard 16/60

KGPG Assistant Starting Károly Erdei GPG - GNU Privacy Guard 17/60

KGPG Assistant Károly Erdei GPG - GNU Privacy Guard 18/60

KGPG Assistant Károly Erdei GPG - GNU Privacy Guard 19/60

KGPG Assistant Károly Erdei GPG - GNU Privacy Guard 20/60

KGPG Assistant Károly Erdei GPG - GNU Privacy Guard 21/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 22/60

Using KGPG Parts Parts of KGPG Key Manager start it by: kgpg -k Editor start it by: kgpg -d you can start the KGPG Editor from the Key Manager File / Open Editor you can start the Key Manager from the Editor File / Open Key Manager Károly Erdei GPG - GNU Privacy Guard 23/60

Using KGPG Key Manager - Main features I. Features of the Key Manager Generation of private/public key pairs extrem important to set a passphrase for the private key choose a long, secure, memorizable passphrase if you forgot your passphrase you lost all data which you have/got encrypted (files, emails) - you can not decrypt them anymore! Exporting your private/public keys always do it!! write them to a CD and put them in your safe print them and put the printout them in your safe Creating revocation certificate for the own public key store it as your private/public key (write to CD/ print it out) Changing values in the own public key adding further email addresses changing expiration date adding photo Károly Erdei GPG - GNU Privacy Guard 24/60

Using KGPG Key Manager - Main features II. Features of the Key Manager Importing public keys from files Listing public keys and their details name, email address, key-id, length of the key, expiration date, etc. Setting the level of trust for public keys ultimatly, fully, marginally, I do NOT trust, I do not know Signing public keys Using key servers uploading the public key searching for public keys, names, email addresses using more key servers Károly Erdei GPG - GNU Privacy Guard 25/60

Using KGPG starting After starting KGPG you get Károly Erdei GPG - GNU Privacy Guard 26/60

Using KGPG key manager Key management window Menue item: Key / Generate key pairs Károly Erdei GPG - GNU Privacy Guard 27/60

Using KGPG key manager Generate key pair window Károly Erdei GPG - GNU Privacy Guard 28/60

Using KGPG key manager Generate key pair window Károly Erdei GPG - GNU Privacy Guard 29/60

Using KGPG key manager Generation in progress Károly Erdei GPG - GNU Privacy Guard 30/60

Using KGPG key manager Generation in progress - prime numbers Károly Erdei GPG - GNU Privacy Guard 31/60

Using KGPG key manager Properties of the generated key Károly Erdei GPG - GNU Privacy Guard 32/60

Using KGPG key manager Export public key Károly Erdei GPG - GNU Privacy Guard 33/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 34/60

Using KGPG Editor - Main features Features of the Editor is a simple text editor, too encrypts, decrypts objects (file, directory) signs files and verifies signature You can create your encrypted file for your internet login data, etc. KGPG and file managers KGPG work together with file managers konqueror, dolphin, nautilus you can encrypt/files files from file manager by getting the menue item by right mouse click Károly Erdei GPG - GNU Privacy Guard 35/60

Using KGPG Editor the Editor for encrypt, decrypt files Type a text in the window and click Encrypt Károly Erdei GPG - GNU Privacy Guard 36/60

Using KGPG Editor Open the key files used for encryption Károly Erdei GPG - GNU Privacy Guard 37/60

Using KGPG Editor Select the key used for encryption, click OK Károly Erdei GPG - GNU Privacy Guard 38/60

Using KGPG Editor Here is the encrypted text: Károly Erdei GPG - GNU Privacy Guard 39/60

Using KGPG Editor Save the encrypted file (as encrypted-file.enc) Károly Erdei GPG - GNU Privacy Guard 40/60

Using KGPG Editor Open the file encrypted-file.enc, the encrypted content will be displayed Károly Erdei GPG - GNU Privacy Guard 41/60

Kleopatra Kleopatra is the KDE Key Manager for GnuPG all features, the KGPG has, has Kleopatra, too. important is this tool for Windows user... Károly Erdei GPG - GNU Privacy Guard 42/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 43/60

Using GnuPG in MS Windows GPG4Win GPG4Win http://www.gpg4win.org/ the MS Windows version of GnuPG is a free, open source software, under active development uses the term certificate instead of key Parts of GPG4Win GnuPG, the basic software Kleopatra, a certifikate manager for OpenPGP and S/MIME GpgEX, a plugin for Microsoft Explorer (file encryption) Claws Mail, a complete email application with crypto support Documentation GpgOL, plugin for MS Outlook 2003/2007/2010/2013 (email encryption) GPA, the Gnu Privacy Assistant Károly Erdei GPG - GNU Privacy Guard 44/60

Using GnuPG in MS Windows Installation, configuration Installation download it from: http://www.gpg4win.org/download.html current version: Gpg4win 2.2.2 (Released: 2014-09-04) download the full version which includes the parts listed above by the installation unmark: GpgOL, GPA, Claws Mail Configuration and using Kleopatra go to the Webpage at GPG4Win and check the screen shots: http://www.gpg4win.org/screenshots.html Enjoy the Gnu Privacy Guard under MS Windows, too! Károly Erdei GPG - GNU Privacy Guard 45/60

Agenda 1 Why 2 Cryptography 3 PGP 4 KGPG-Assistant 5 -Key-Manager 6 -Editor 7 GPG4Win 8 Enigmail Károly Erdei GPG - GNU Privacy Guard 46/60

Using GnuPG in Thunderbird/Icedove Enigmail add-on Enigmail is a security extension to Mozilla Thunderbird and Seamonkey is a plugin, not a standalone program it is based on GnuPG, you have to install this first. all features of GnuPG are available Main features Encrypt/sign mail when sending, decrypt/authenticate received mail Support for inline-pgp (RFC 4880) and PGP/MIME (RFC 3156) Per-Account based encryption and signing defaults OpenPGP key management interface Per-Recipient rules for automated key selection, and enabling/disabling encryption and signing Full features list: https://www.enigmail.net/documentation/features.php Károly Erdei GPG - GNU Privacy Guard 47/60

Enigmail Installation, configuration, documentation Installation through the Tools/Add-Ons/ search for Enigmail 1.7.2 Configuration see: https://www.enigmail.net/documentation/basic.php Documentation for new users see the Quick Start Guide: https://www.enigmail.net/documentation/quickstart.php user manual: https://www.enigmail.net/documentation/ The next slides show some of the above steps Károly Erdei GPG - GNU Privacy Guard 48/60

Enigmail Installation I. Get the Add-On Károly Erdei GPG - GNU Privacy Guard 49/60

Enigmail Installation II. Search for Enigmail Károly Erdei GPG - GNU Privacy Guard 50/60

Enigmail Installation III. Install it and restart Thunderbird Károly Erdei GPG - GNU Privacy Guard 51/60

Enigmail Installation IV. You have now the OpenPGP item in the menue list Károly Erdei GPG - GNU Privacy Guard 52/60

Enigmail - Keys Start the Key Manager Menue list: OpenPGP / Key Management Always mark: Display All Keys by Default Keyserver / Search for keys Károly Erdei GPG - GNU Privacy Guard 53/60

Enigmail - Keys Select Keyserver Window Type the name in the Search for key field: Károly Erdei GPG - GNU Privacy Guard 54/60

Enigmail - Keys Download OpenPGP Keys Select the key from the list to download Károly Erdei GPG - GNU Privacy Guard 55/60

Enigmail - Keys OpenPGP Alert Information about the imported key: Károly Erdei GPG - GNU Privacy Guard 56/60

Enigmail - Keys OpenPGP Key Management Window List of the imported keys: Károly Erdei GPG - GNU Privacy Guard 57/60

Enigmail Set up a per recipient rule - I. OpenPGP / Edit Per Recipient Rules Click: Add Károly Erdei GPG - GNU Privacy Guard 58/60

Enigmail Set up a per recipient rule - II. Fill out the fields in the Window: Edit Per Recipient Settings Károly Erdei GPG - GNU Privacy Guard 59/60

End of GPG Enjoy using Enigmail and using encrypted emails! Thanks for your attention! Károly Erdei GPG - GNU Privacy Guard 60/60