Coder Social home page Coder Social logo

gpg-quickstart's Introduction

Quickstart information for installing GPG

What is GPG?

In practice, Person A uses GPG to encrypt messages or data so that only Person B can read/use them. This is done by using a public key which essentially says that "I am who I say I am."

You need a copy of the public key for the person you want to secure the message/data for. This is conceptually similar to needing a person's phone number before you can call them, or a person's email address before you can send them email.

From Wikipedia:

GnuPG is a hybrid-encryption software program because it uses a combination of conventional symmetric-key cryptography for speed, and public-key cryptography for ease of secure key exchange, typically by using the recipient's public key to encrypt a session key which is only used once. This mode of operation is part of the OpenPGP standard and has been part of PGP from its first version. […]

GnuPG encrypts messages using asymmetric key pairs individually generated by GnuPG users. The resulting public keys may be exchanged with other users in a variety of ways, such as Internet key servers. They must always be exchanged carefully to prevent identity spoofing by corrupting public key ↔ "owner" identity correspondences. It is also possible to add a cryptographic digital signature to a message, so the message integrity and sender can be verified, if a particular correspondence relied upon has not been corrupted.

Download GPG for your platform

Recommended Software Notes; Alternate software
macOS GPG Tools Suite Alternatively, you can install the command-line version of GPG using MacPorts or Homebrew. Look for the gpg2 package.
Windows gpg4win, Git Bash Git Bash includes gnugpg and is available in the command line.
Linux gpg2 comes pre-installed on modern Linux distributions Instructions for RHEL, CentOS, Amazon Linux, Oracle Linux, Ubuntu, Debian, Upstream GnuPG project downloads
Keybase Keybase

Generate a GPG Key Via Command Line

# make a key (if you don't already have one)
gpg --gen-key
 
... RSA and RSA is okay ...
... 2048 bits is okay ...
... 1y is okay (but choose your own duration) ...
... Real name: First Last ...
... Email address: [email protected] ...
 
# lookie in here
cd ~/.gnugpg
 
# generate an ASCII output of your public key
gpg --armor --output first_last.asc --export 'First Last'

See Also…

gpg-quickstart's People

Contributors

skyzyx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.