You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Werner Koch 22350d0768
doc: Replace remaining "gpg2" by "gpg".
3 days ago
agent agent: Do not overwrite a key file by a shadow key file. 1 week ago
am build: Remove Windows CE support. 6 months ago
artwork artwork: Explain the license for the logo 2 years ago
build-aux speedo,w32: Adjustments for the new Unicode NSIS plugins. 1 month ago
common common: New function nve_set 1 week ago
dirmngr agent,dirmngr: Shutdown fix for supervised mode. 1 week ago
doc doc: Replace remaining "gpg2" by "gpg". 3 days ago
g10 gpg: Graceful exit for signature checking with --batch. 3 days ago
g13 common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 3 weeks ago
kbx w32: Fix use of assuan_sendfd. 4 days ago
m4 build: Update gpg-error.m4. 2 months ago
po po: Update Japanese Translation. 1 week ago
regexp regexp: Update UnicodeData for Unicode 15.0.0. 1 month ago
scd w32: Add missing supportedOS Ids for Windows-10 2 weeks ago
sm w32: Add missing supportedOS Ids for Windows-10 2 weeks ago
tests common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 3 weeks ago
tools w32: Fix use of assuan_sendfd. 4 days ago
tpm2d tpm: Fix recently introduced syntax error 1 year ago
.git-blame-ignore-revs indent: Add a git blame ignore file 2 years ago
.gitignore build: Update .gitignore for translations under po/. 9 months ago
ABOUT-NLS Preparing a test release 16 years ago
AUTHORS doc: Update copyright notices. 5 months ago
COPYING Change all in license notices to https:// 7 years ago
COPYING.CC0 doc: Update license information. 7 years ago
COPYING.GPL2 Change license of some files to LGPLv2.1. 6 years ago
COPYING.LGPL3 Change license of some files to LGPLv2.1. 6 years ago
COPYING.LGPL21 Change license of some files to LGPLv2.1. 6 years ago
COPYING.other gpg: Add regular expression support. 3 years ago
ChangeLog Generate the ChangeLog from commit logs. 12 years ago
ChangeLog-2011 Added release date of older versions to NEWS. 8 years ago
INSTALL doc: Suggest the use of out-of-source builds. 3 months ago speedo: Update NSIS helper DLL from Gpg4win 1 month ago
NEWS Add release dates of 2.4 versions to NEWS 4 days ago
README Prepare new development cycle 4 weeks ago
README.GIT build: Require automake 1.14. 9 years ago
README.maint doc: Replace README.maint content. 6 years ago
THANKS doc: Formatting fixes. 10 years ago
TODO Impleemned gpgsm's IMPORT --re-import feature. 14 years ago
acinclude.m4 build: Update for newer autoconf. 1 year ago
autogen.rc speedo: Put the keyboxd into the Windows installer 2 years ago build: Remove Windows CE support. 6 months ago w32: Add missing manifests and set a requestedExecutionLevel. 2 weeks ago


                       The GNU Privacy Guard
                         Version 2.5 (devel)

          Copyright 1997-2019 Werner Koch
          Copyright 1998-2021 Free Software Foundation, Inc.
          Copyright 2003-2023 g10 Code GmbH


  GnuPG is a complete and free implementation of the OpenPGP standard
  as defined by RFC4880 (also known as PGP).  GnuPG enables encryption
  and signing of data and communication, and features a versatile key
  management system as well as access modules for public key

  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 that make use of GnuPG.
  Starting with version 2 GnuPG provides support for S/MIME and Secure
  Shell in addition to OpenPGP.

  GnuPG is Free Software (meaning that it respects your freedom). It
  can be freely used, modified and distributed under the terms of the
  GNU General Public License.


  GnuPG 2.4 depends on the following GnuPG related packages:

    npth         (
    libgpg-error (
    libgcrypt    (
    libksba      (
    libassuan    (

  You should get the latest versions of course, the GnuPG configure
  script complains if a version is not sufficient.

  Several other standard libraries are also required.  The configure
  script prints diagnostic messages if one of these libraries is not
  available and a feature will not be available..

  You also need the Pinentry package for most functions of GnuPG;
  however it is not a build requirement.  Pinentry is available at .

  After building and installing the above packages in the order as
  given above, you may continue with GnuPG installation (you may also
  just try to build GnuPG to see whether your already installed
  versions are sufficient).

  As with all packages, you just have to do

    mkdir build
    cd build
    make check
    make install

  The "make check" is optional but highly recommended.  To run even
  more tests you may add "--enable-all-tests" to the configure run.
  Before running the "make install" you might need to become root.

  If everything succeeds, you have a working GnuPG with support for
  OpenPGP, S/MIME, ssh-agent, and smartcards.

  In case of problem please ask on the mailing
  list for advise.

  Instruction on how to build for Windows can be found in the file
  doc/HACKING in the section "How to build an installer for Windows".
  This requires some experience as developer.

  You may run

    gpgconf -L

  to view the directories used by GnuPG.

  To quickly build all required software without installing it, the
  Speedo method may be used:

    cd build
    make -f ../build-aux/  native

  This method downloads all required libraries and does a native build
  of GnuPG to PLAY/inst/.  GNU make is required and you need to set
  LD_LIBRARY_PATH to $(pwd)/PLAY/inst/lib to test the binaries.

** Specific build problems on some machines:

*** Apple OSX 10.x using XCode

  On some versions the correct location of a header file can't be
  detected by configure.  To fix that you should run configure like

    ./configure  gl_cv_absolute_stdint_h=/usr/include/stdint.h

  Add other options as needed.

*** Systems without a full C99 compiler

  If you run into problems with your compiler complaining about dns.c
  you may use

    ./configure --disable-libdns

  Add other options as needed.


** Key database daemon

  Since version 2.3.0 it is possible to store the keys in an SQLite
  database instead of the keyring.kbx file.  This is in particular
  useful for large keyrings or if many instances of gpg and gpgsm may
  run concurrently.  This is implemented using another daemon process,
  the "keyboxd".  To enable the use of the keyboxd put the option
  "use-keyboxd" into the configuration file ~/.gnupg/common.conf or the
  global /etc/gnupg/common.conf.  See also doc/examples/common.conf.
  Only public keys and X.509 certificates are managed by the keyboxd;
  private keys are still stored as separate files.

  Since version 2.4.1 the keyboxd will be used by default for a fresh
  install; i.e. if a ~/.gnupg directory did not yet exist.

  Note that there is no automatic migration; if the use-keyboxd option
  is enabled keys are not taken from pubring.kbx.  To migrate existing
  keys to the keyboxd do this:

  1. Disable the keyboxd (remove use-keyboxd from common.conf)
  2. Export all public keys
       gpg --export --export-options backup  > allkeys.gpg
       gpgsm --export --armor                > allcerts.gpg
  3. Enable the keyboxd (add use-keyboxd to common.conf)
  4. Import all public keys
       gpg --import --import-options restore < allkeys.gpg
       gpgsm --import                        < allcerts.crt

** Socket directory

  GnuPG uses Unix domain sockets to connect its components (on Windows
  an emulation of these sockets is used).  Depending on the type of
  the file system, it is sometimes not possible to use the GnuPG home
  directory (i.e. ~/.gnupg) as the location for the sockets.  To solve
  this problem GnuPG prefers the use of a per-user directory below the
  the /run (or /var/run) hierarchy for the sockets.  It is thus
  suggested to create per-user directories on system or session
  startup.  For example, the following snippet can be used in
  /etc/rc.local to create these directories:

      [ ! -d /run/user ] && mkdir /run/user
      awk -F: </etc/passwd '$3 >= 1000 && $3 < 65000 {print $3}' \
        | ( while read uid rest; do
              if [ ! -d "/run/user/$uid" ]; then
                mkdir /run/user/$uid
                chown $uid /run/user/$uid
                chmod 700 /run/user/$uid
            done )


  The complete documentation is in the texinfo manual named
  `'.  Run "info gnupg" to read it.  If you want a a
  printable copy of the manual, change to the "doc" directory and
  enter "make pdf" For a HTML version enter "make html" and point your
  browser to gnupg.html/index.html.  Standard man pages for all
  components are provided as well.  An online version of the manual is
  available at [[]] .  A
  version of the manual pertaining to the current development snapshot
  is at [[]] .

* Using the legacy version GnuPG 1.4

  The 1.4 version of GnuPG is only intended to allow decryption of old
  data material using legacy keys which are not anymore supported by
  GnuPG 2.x.  To install both versions alongside, it is suggested to
  rename the 1.4 version of "gpg" to "gpg1" as well as the
  corresponding man page.  Newer releases of the 1.4 branch will
  likely do this by default.


  A description of new features and changes since version 2.1 can be
  found in the file "doc/whats-new-in-2.1.txt" and online at
  "" .

  The primary WWW page is ""
  The primary FTP site is ""

  See [[]] for a list of
  mirrors and use them if possible.  You may also find GnuPG mirrored
  on some of the regular GNU mirrors.

  We have some mailing lists dedicated to GnuPG:   For important announcements like new
                                versions and such stuff.  This is a
                                moderated list and has very low traffic.
                                Do not post to this list.      For general user discussion and
                                help.      GnuPG developers main forum.

  You subscribe to one of the list by sending mail with a subject of
  "subscribe" to, where x is the name of the
  mailing list (gnupg-announce, gnupg-users, etc.). See for archives
  of the mailing lists.

  Please direct bug reports to [[]] or post them
  direct to the mailing list <>.

  Please direct questions about GnuPG to the users mailing list or one
  of the PGP newsgroups; please do not direct questions to one of the
  authors directly as we are busy working on improvements and bug
  fixes.  The mailing lists are watched by the authors and we try to
  answer questions as time allows us.

  Commercial grade support for GnuPG is available; for a listing of
  offers see .  Maintaining and
  improving GnuPG requires a lot of time.  Since 2001, g10 Code GmbH,
  a German company owned and headed by GnuPG's principal author Werner
  Koch, is bearing the majority of these costs.

# This file is Free Software; as a special exception the authors gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. For conditions
# of the whole package, please see the file COPYING.  This file is
# distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY, to the extent permitted by law; without even the implied
# Local Variables:
# mode:org
# End: