User Tools

Site Tools


documentation:gnupg-intro

This is an old revision of the document!


GnuPG introduction tutorial

Introduction

This document describes how to use gnupg (gpg) tool to make a basic (everyday) operations, described in this page. Also, it's highly recommended to read mentioned document first.

GnuPG is a standard tool to use. It's a text-based console application, but it's a way more ease to use comparing with a graphical application.

Getting GnuPG

Mac OS X

Install brew tool

Brew tool is a tool of Homebrew_(package_management_software), so, in order to install it, please do the following:

  • Open a terminal found on /Applications/Utilities/
  • Run xcode-select –install

install-command-line-tools-os-x.jpg

  • Click install button on the dialog

confirm-install-command-line-tools-mac-os-x.jpg

  • Wait until complete

downloading-command-line-tools.jpg

The full article might be found at http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/

Brew

It's an easy to do in MacOS using brew. Just run in the terminal (mentioned early): brew install gpg

Debian-based OSes (ubuntu, debian, devuan)

You need a sudo access in order to install a package.

Open your favourite terminal and type sudo apt-get install gpg.

Please note, in most cases gpg is already installed.

SuSe/OpenSuse

The same requirements.

Open your favourite terminal and type sudo zypper install gpg.

Please note, in most cases gpg is already installed.

Other linuxes/BSDs

Use your own package manager, or compile GnuPG from source.

Windows

Under windows it's possible to get it running via cygwin.

Using GnuPG

Key creation

Import public key

Commit your own public key

Sign the data

Data encryption

documentation/gnupg-intro.1570061236.txt.gz · Last modified: by derek

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki