Go to file
Werner Koch f2361e6d58 First changes for future use of NTBTLS.
* configure.ac (NEED_NTBTLS_ABI, NEED_NTBTLS_VERSION): New.
(HTTP_USE_NTBTLS): New.  Prefer over GNUTLS.
* m4/ntbtls.m4: New.
* m4/Makefile.am (EXTRA_DIST): Add new file.
* common/http.c: Add conditionals to eventually use NTBTLS.
--

This is only the configure stuff.  If you have NTBTLS installed GNUTLS
will not be used but there won't be any https support either :-(.
This patch is used to have a real world test bench for the forthcoming
library.
2014-10-02 17:33:57 +02:00
agent agent: Init a local variable in the error case. 2014-09-18 15:32:17 +02:00
am http: Revamp TLS API. 2014-05-02 11:19:25 +02:00
artwork doc: Improve the rendering of the manual 2014-06-25 11:15:45 +02:00
build-aux build: Change urlbase of getswdb.sh. 2014-09-25 08:44:57 +02:00
common First changes for future use of NTBTLS. 2014-10-02 17:33:57 +02:00
dirmngr First changes for future use of NTBTLS. 2014-10-02 17:33:57 +02:00
doc doc: Remove GnuPG-1 related parts from gpg.texi. 2014-09-29 11:49:50 +02:00
g10 gpg: Default to SHA-256 for all signature types on RSA keys. 2014-09-27 15:28:17 +02:00
g13 g13: Avoid segv after pipe creation failure. 2014-09-18 16:01:05 +02:00
gl gl: Avoid warning about shadowing an arg. 2014-03-07 14:00:14 +01:00
kbx Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
keyserver Remove keyserver helper code. 2014-06-05 13:44:40 +02:00
m4 First changes for future use of NTBTLS. 2014-10-02 17:33:57 +02:00
po po: Auto-update 2014-09-17 19:31:27 +02:00
scd scd: Fix int/short mismatch in format string of app-p15.c 2014-09-18 15:39:50 +02:00
sm sm: Silence compiler warnings. 2014-09-18 15:17:44 +02:00
tests gpg: Use algorithm id 22 for EdDSA. 2014-09-12 11:31:49 +02:00
tools Make more use of *_NAME macros. 2014-05-08 10:28:23 +02:00
.gitignore speedo: Get version numbers from online database. 2014-08-19 12:49:45 +02:00
ABOUT-NLS Preparing a test release 2008-02-15 09:58:01 +00:00
AUTHORS Register DCO for Daniel Kahn Gillmor. 2014-09-24 14:37:48 +02:00
COPYING Changed to GPLv3. 2007-07-04 19:49:40 +00:00
COPYING.LIB Changed to GPLv3. 2007-07-04 19:49:40 +00:00
ChangeLog Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
INSTALL Upgraded gettext. 2007-05-07 19:49:12 +00:00
Makefile.am speedo: Distribute needed files. 2014-09-18 17:55:40 +02:00
NEWS Post beta release update. 2014-09-18 18:28:40 +02:00
README Reformat README and minor gpg.texi improvement. 2014-09-24 14:40:11 +02:00
README.GIT Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
README.maint Switch to the new automagic beta numbering scheme. 2012-05-11 10:20:29 +02:00
THANKS doc: Formatting fixes. 2013-04-19 12:01:22 +02:00
TODO Impleemned gpgsm's IMPORT --re-import feature. 2009-07-07 16:52:12 +00:00
acinclude.m4 gpg: Add configure options to disable algorithms 2014-01-31 22:47:11 +01:00
autogen.rc Post beta release update. 2014-09-18 18:28:40 +02:00
autogen.sh build: Yet another autogen.sh --find-version change. 2014-08-14 17:15:25 +02:00
configure.ac First changes for future use of NTBTLS. 2014-10-02 17:33:57 +02:00

README

                       The GNU Privacy Guard 2
                      =========================
                             Version 2.1

   THIS IS A DEVELOPMENT VERSION AND NOT INTENDED FOR REGULAR USE.

          Copyright 1997-1998, 2013-2014 Werner Koch
          Copyright 1998-2013 Free Software Foundation, Inc.


* INTRODUCTION

  GnuPG is a tool for secure communication and data storage.  It can
  be used to encrypt data and to create digital signatures.  It
  includes an advanced key management facility and is compliant with
  the proposed OpenPGP Internet standard as described in RFC4880 and
  the S/MIME standard as described by several RFCs.

  GnuPG is distributed under the terms of the GNU General Public
  License.  See the file COPYING for details.  GnuPG works best on
  GNU/Linux or *BSD systems.  Most other Unices are also supported but
  are not as well tested as the Free Unices.

  GnuPG-2 is the stable version of GnuPG integrating support for
  OpenPGP and S/MIME.  It does not conflict with an installed 1.4
  OpenPGP-only version.


* BUILD INSTRUCTIONS

  GnuPG 2.1 depends on the following GnuPG related packages:

    npth         (ftp://ftp.gnupg.org/gcrypt/npth/)
    libgpg-error (ftp://ftp.gnupg.org/gcrypt/libgpg-error/)
    libgcrypt    (ftp://ftp.gnupg.org/gcrypt/libgcrypt/)
    libksba      (ftp://ftp.gnupg.org/gcrypt/libksba/)
    libassuan    (ftp://ftp.gnupg.org/gcrypt/libassuan/)

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

  For some advanced features several other libraries are 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
  ftp://ftp.gnupg.org/gcrypt/pinentry/ .

  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

    ./configure
    make
    make install

  (Before doing 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.  Note that there is no
  binary gpg but a gpg2 so that this package won't conflict with a
  GnuPG 1.4 installation.  gpg2 behaves just like gpg.

  In case of problem please ask on the gnupg-users@gnupg.org 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.

  Note that the PKITS tests are always skipped unless you copy the
  PKITS test data file into the tests/pkits directory.  There is no
  need to run these test and some of them may even fail because the
  test scripts are not yet complete.

  You may run

    gpgconf --list-dirs

  to view the default directories used by GnuPG.

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

    make -f build-aux/speedo.mk  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
  this

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

  Add other options as needed.


* MIGRATION from 1.4 or 2.0 to 2.1

  The major change in 2.1 is gpg-agent taking care of the OpenPGP
  secret keys (those managed by GPG).  The former file "secring.gpg"
  will not be used anymore.  Newly generated keys are stored in the
  agent's key store directory "~/.gnupg/private-keys-v1.d/".  The
  first time gpg needs a secret key it checks whether a "secring.gpg"
  exists and copies them to the new store.  The old secring.gpg is
  kept for use by older versions of gpg.

  GPG's smartcard commands --card-edit and --card-status as well as some
  of the card related sub-commands of --edit-key are not yet fully
  supported.  However, signing and decryption with a smartcard does
  work.

  Note that gpg-agent now uses a fixed socket by default.  All tools
  will start the gpg-agent as needed.  In general there is no more
  need to set the GPG_AGENT_INFO environment variable.  The
  SSH_AUTH_SOCK environment variable should be set to a fixed value.

  The Dirmngr is now part of GnuPG proper and also used to access
  OpenPGP keyservers.  The directroy layout of Dirmngr changed to make
  use of the GnuPG directories.  Dirmngr is started by gpg or gpgsm as
  needed needed. There is no more need to install a separate dirmngr
  package.



* DOCUMENTATION

  The complete documentation is in the texinfo manual named
  `gnupg.info'.  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 http://www.gnupg.org/documentation/manuals/gnupg/ .  A
  version of the manual pertaining to the current development snapshot
  is at http://www.gnupg.org/documentation/manuals/gnupg-devel/ .


* GnuPG 1.4 and GnuPG 2.0

  GnuPG 2.0 is a newer version of GnuPG with additional support for
  S/MIME.  It has a different design philosophy that splits
  functionality up into several modules.  Both versions may be
  installed simultaneously without any conflict (gpg is called gpg2 in
  GnuPG 2).  In fact, the gpg version from GnuPG 1.4 is able to make
  use of the gpg-agent as included in GnuPG 2 and allows for seamless
  passphrase caching.  The advantage of GnuPG 1.4 is its smaller size
  and no dependency on other modules at run and build time.


* HOW TO GET MORE INFORMATION

  The primary WWW page is "https://www.gnupg.org"
             or using TOR "http://ic6au7wa3f6naxjq.onion"
  The primary FTP site is "ftp://ftp.gnupg.org/gcrypt/"

  See https://www.gnupg.org/download/mirrors.html 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:

     gnupg-announce@gnupg.org   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.

     gnupg-users@gnupg.org      For general user discussion and
                                help (English).

     gnupg-de@gnupg.org         German speaking counterpart of
                                gnupg-users.

     gnupg-ru@gnupg.org         Russian speaking counterpart of
                                gnupg-users.

     gnupg-devel@gnupg.org      GnuPG developers main forum.

  You subscribe to one of the list by sending mail with a subject of
  "subscribe" to x-request@gnupg.org, where x is the name of the
  mailing list (gnupg-announce, gnupg-users, etc.). See
  https://www.gnupg.org/documentation/mailing-lists.html for archives
  of the mailing lists.

  Please direct bug reports to http://bugs.gnupg.org or post them
  direct to the mailing list <gnupg-devel@gnupg.org>.

  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 English and German mailing lists are watched by the
  authors and we try to answer questions when time allows us.

  Commercial grade support for GnuPG is available; for a listing of
  offers see https://www.gnupg.org/service.html .  Maintaining and
  improving GnuPG is costly.  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.  To help them carry on this
  work, they need your support.  See https://gnupg.org/donate/ .


# 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
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# Local Variables:
# mode:org
# End: