2006-11-06 11:26:55 +01:00
|
|
|
The GNU Privacy Guard 2
|
|
|
|
=========================
|
2009-09-21 20:26:52 +02:00
|
|
|
Version 2.1
|
2002-06-29 16:15:02 +02:00
|
|
|
|
2017-01-23 19:16:55 +01:00
|
|
|
Copyright 1997-2017 Werner Koch
|
|
|
|
Copyright 1998-2017 Free Software Foundation, Inc.
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* INTRODUCTION
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-10-03 13:02:06 +02:00
|
|
|
GnuPG is a complete and free implementation of the OpenPGP standard
|
More cleanup of "allow to".
* README, agent/command.c, agent/keyformat.txt, common/i18n.c,
common/iobuf.c, common/keyserver.h, dirmngr/cdblib.c,
dirmngr/ldap-wrapper.c, doc/DETAILS, doc/TRANSLATE,
doc/announce-2.1.txt, doc/gpg.texi, doc/gpgsm.texi,
doc/scdaemon.texi, doc/tools.texi, doc/whats-new-in-2.1.txt,
g10/export.c, g10/getkey.c, g10/import.c, g10/keyedit.c, m4/ksba.m4,
m4/libgcrypt.m4, m4/ntbtls.m4, po/ca.po, po/cs.po, po/da.po,
po/de.po, po/el.po, po/eo.po, po/es.po, po/et.po, po/fi.po,
po/fr.po, po/gl.po, po/hu.po, po/id.po, po/it.po, po/ja.po,
po/nb.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sk.po,
po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po,
scd/app-p15.c, scd/ccid-driver.c, scd/command.c, sm/gpgsm.c,
sm/sign.c, tools/gpgconf-comp.c, tools/gpgtar.h: replace "Allow to"
with clearer text.
In standard English, the normal construction is "${XXX} allows ${YYY}
to" -- that is, the subject (${XXX}) of the sentence is allowing the
object (${YYY}) to do something. When the object is missing, the
phrasing sounds awkward, even if the object is implied by context.
There's almost always a better construction that isn't as awkward.
These changes should make the language a bit clearer.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2016-08-02 04:19:17 +02:00
|
|
|
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
|
|
|
|
directories.
|
2014-10-03 13:02:06 +02:00
|
|
|
|
|
|
|
GnuPG, also known as GPG, is a command line tool with features for
|
|
|
|
easy integration with other applications. A wealth of frontend
|
More cleanup of "allow to".
* README, agent/command.c, agent/keyformat.txt, common/i18n.c,
common/iobuf.c, common/keyserver.h, dirmngr/cdblib.c,
dirmngr/ldap-wrapper.c, doc/DETAILS, doc/TRANSLATE,
doc/announce-2.1.txt, doc/gpg.texi, doc/gpgsm.texi,
doc/scdaemon.texi, doc/tools.texi, doc/whats-new-in-2.1.txt,
g10/export.c, g10/getkey.c, g10/import.c, g10/keyedit.c, m4/ksba.m4,
m4/libgcrypt.m4, m4/ntbtls.m4, po/ca.po, po/cs.po, po/da.po,
po/de.po, po/el.po, po/eo.po, po/es.po, po/et.po, po/fi.po,
po/fr.po, po/gl.po, po/hu.po, po/id.po, po/it.po, po/ja.po,
po/nb.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sk.po,
po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po,
scd/app-p15.c, scd/ccid-driver.c, scd/command.c, sm/gpgsm.c,
sm/sign.c, tools/gpgconf-comp.c, tools/gpgtar.h: replace "Allow to"
with clearer text.
In standard English, the normal construction is "${XXX} allows ${YYY}
to" -- that is, the subject (${XXX}) of the sentence is allowing the
object (${YYY}) to do something. When the object is missing, the
phrasing sounds awkward, even if the object is implied by context.
There's almost always a better construction that isn't as awkward.
These changes should make the language a bit clearer.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2016-08-02 04:19:17 +02:00
|
|
|
applications and libraries are available that make use of GnuPG.
|
2016-08-03 17:00:40 +02:00
|
|
|
Starting with version 2 GnuPG provides support for S/MIME and Secure
|
|
|
|
Shell in addition to OpenPGP.
|
2014-10-03 13:02:06 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
We are currently maintaining three branches of GnuPG:
|
|
|
|
|
2016-12-20 11:25:45 +01:00
|
|
|
- 2.1 (i.e. this release) is the latest stable version with a lot of
|
2014-10-03 13:02:06 +02:00
|
|
|
new features.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2016-12-20 11:25:45 +01:00
|
|
|
- 2.0 is an often used stable version. This branch will reach
|
|
|
|
end-of-life on 2017-12-31.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-10-03 13:02:06 +02:00
|
|
|
- 1.4 is the old standalone version which is most suitable for older
|
|
|
|
or embedded platforms.
|
|
|
|
|
|
|
|
You may not install 2.1 and 2.0 at the same time. However, it is
|
|
|
|
possible to install 1.4 along with any of the 2.x versions.
|
2004-07-22 11:37:36 +02:00
|
|
|
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* BUILD INSTRUCTIONS
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
GnuPG 2.1 depends on the following GnuPG related packages:
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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/)
|
2011-02-03 16:50:01 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
You should get the latest versions of course, the GnuPG configure
|
|
|
|
script complains if a version is not sufficient.
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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..
|
2014-06-05 16:20:44 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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/ .
|
2013-05-22 10:50:12 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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).
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
As with all packages, you just have to do
|
2003-12-23 12:05:19 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install
|
2002-06-29 16:15:02 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
(Before doing install you might need to become root.)
|
2002-06-29 16:15:02 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
In case of problem please ask on the gnupg-users@gnupg.org mailing
|
|
|
|
list for advise.
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2014-06-16 23:25:44 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
You may run
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
gpgconf --list-dirs
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
to view the default directories used by GnuPG.
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
To quickly build all required software without installing it, the
|
|
|
|
Speedo method may be used:
|
2014-09-18 16:00:34 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
make -f build-aux/speedo.mk native
|
2014-09-18 16:00:34 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2014-09-18 16:00:34 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
** Specific build problems on some machines:
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
*** Apple OSX 10.x using XCode
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
./configure gl_cv_absolute_stdint_h=/usr/include/stdint.h
|
2010-10-26 14:25:47 +02:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
Add other options as needed.
|
2010-10-26 14:25:47 +02:00
|
|
|
|
|
|
|
|
2016-12-14 15:36:25 +01:00
|
|
|
*** Systems without a full C99 compiler
|
|
|
|
|
2016-12-20 11:25:45 +01:00
|
|
|
If you run into problems with your compiler complaining about dns.c
|
2016-12-14 15:36:25 +01:00
|
|
|
you may use
|
|
|
|
|
|
|
|
./configure --disable-libdns
|
|
|
|
|
|
|
|
Add other options as needed.
|
|
|
|
|
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* MIGRATION from 1.4 or 2.0 to 2.1
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2004-01-29 21:16:59 +01:00
|
|
|
|
2014-10-03 13:02:06 +02:00
|
|
|
Note that gpg-agent now uses a fixed socket. All tools will start
|
|
|
|
the gpg-agent as needed. The formerly used environment variable
|
|
|
|
GPG_AGENT_INFO is ignored by 2.1. The SSH_AUTH_SOCK environment
|
|
|
|
variable should be set to a fixed value.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
The Dirmngr is now part of GnuPG proper and also used to access
|
2014-10-03 13:02:06 +02:00
|
|
|
OpenPGP keyservers. The directory layout of Dirmngr changed to make
|
2014-09-18 16:00:34 +02:00
|
|
|
use of the GnuPG directories. Dirmngr is started by gpg or gpgsm as
|
2014-10-03 13:02:06 +02:00
|
|
|
needed. There is no more need to install a separate Dirmngr package.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* DOCUMENTATION
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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
|
2015-02-11 12:10:39 +01:00
|
|
|
available at [[https://gnupg.org/documentation/manuals/gnupg/]] . A
|
2014-09-18 16:00:34 +02:00
|
|
|
version of the manual pertaining to the current development snapshot
|
2015-02-11 12:10:39 +01:00
|
|
|
is at [[https://gnupg.org/documentation/manuals/gnupg-devel/]] .
|
2006-11-11 15:17:09 +01:00
|
|
|
|
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* GnuPG 1.4 and GnuPG 2.0
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2011-02-03 16:50:01 +01:00
|
|
|
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
* HOW TO GET MORE INFORMATION
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-11-04 16:28:03 +01:00
|
|
|
A description of new features and changes in version 2.1 can be
|
|
|
|
found in the file "doc/whats-new-in-2.1.txt" and online at
|
|
|
|
"https://gnupg.org/faq/whats-new-in-2.1.html" .
|
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
The primary WWW page is "https://www.gnupg.org"
|
2015-10-26 16:32:32 +01:00
|
|
|
or using Tor "http://ic6au7wa3f6naxjq.onion"
|
2014-09-18 16:00:34 +02:00
|
|
|
The primary FTP site is "ftp://ftp.gnupg.org/gcrypt/"
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2015-02-11 12:10:39 +01:00
|
|
|
See [[https://gnupg.org/download/mirrors.html]] for a list of
|
2014-09-18 16:00:34 +02:00
|
|
|
mirrors and use them if possible. You may also find GnuPG mirrored
|
|
|
|
on some of the regular GNU mirrors.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
We have some mailing lists dedicated to GnuPG:
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
gnupg-users@gnupg.org For general user discussion and
|
|
|
|
help (English).
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
gnupg-de@gnupg.org German speaking counterpart of
|
|
|
|
gnupg-users.
|
2006-11-11 15:17:09 +01:00
|
|
|
|
2014-09-18 16:00:34 +02:00
|
|
|
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
|
2014-10-03 13:02:06 +02:00
|
|
|
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. To keep GnuPG in a
|
|
|
|
healthy state, they need your support.
|
|
|
|
|
|
|
|
Please consider to donate at https://gnupg.org/donate/ .
|
2014-09-18 16:00:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
# 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:
|