Description

"GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data and communication, features a versatile key managment system as well as access modules for all kind of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications. A wealth of frontend applications and libraries are available. Version 2 of GnuPG also provides support for S/MIME."

Exemples

(output de la commande tldr gpg)

  • gpg --clearsign {{doc.txt}} : Sign doc.txt without encryption (writes output to doc.txt.asc).
  • gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}} : Encrypt doc.txt for alice@example.com (output to doc.txt.gpg).
  • gpg --symmetric {{doc.txt}} : Encrypt doc.txt with only a passphrase (output to doc.txt.gpg).
  • gpg --decrypt {{doc.txt.gpg}} : Decrypt doc.txt.gpg (output to stdout).
  • gpg --import {{public.gpg}} : Import a public key.
  • gpg --export --armor {{alice@example.com}} : Export public key for alice@example.com (output to stdout).
  • gpg --export-secret-keys --armor {{alice@example.com}} : Export private key for alice@example.com (output to stdout).

Informations complémentaires

Trucs et astuces

Il existe plusieurs frontends graphiques installés dans les salles : kgpg, gpa.

Installation locale

Il est installé en standard sur les machines du département.