GnuPG Made Easy. NOTE: Maintainers are not tracking this mirror. Do not make pull requests here, nor comment any commits, submit them usual way to bug tracker (https://www.gnupg.org/documentation/bts.html) or to the mailing list (https://www.gnupg.org/documentation/mailing-lists.html).
Go to file
Justus Winter 60273e8b2c
build: Use macOS' compatibility macros to enable all features.
* configure.ac: On macOS, use the compatibility macros to expose every
feature of the libc.  This is the equivalent of _GNU_SOURCE on GNU
libc.
--
Not defining this leads to compilation errors or superfluous warnings
on macOS.

GnuPG-bug-id: 2910
Signed-off-by: Justus Winter <justus@g10code.com>
2017-02-13 15:08:28 +01:00
build-aux build: Update config.{guess,sub} to {2016-05-15,2016-06-20}. 2016-07-13 19:07:47 +02:00
contrib Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
doc doc: Document that gpgme_op_genkey() parms parameter is not XML. 2017-02-05 23:38:53 -05:00
lang qt: Add missing #include <functional> 2017-02-13 10:37:18 +01:00
m4 Qt: Make sure extended grep is used with '|'. 2016-12-19 10:36:17 +01:00
src core: Optimize fork/exec for *BSD and Solaris. 2017-02-03 13:56:23 +01:00
tests core: Add new context flag "redraw". 2017-01-31 09:44:29 +01:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
acinclude.m4 Add enable-languages build option 2016-03-02 14:00:48 +01:00
AUTHORS Release 1.7.0 2016-09-21 09:18:01 +02:00
autogen.rc Use the generic autogen.sh script. 2014-01-10 17:40:05 +01:00
autogen.sh doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
ChangeLog Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
configure.ac build: Use macOS' compatibility macros to enable all features. 2017-02-13 15:08:28 +01:00
COPYING Added files usually installed bu automake. We want to keep them in the CVS 2004-01-12 13:49:11 +00:00
COPYING.LESSER 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
gpgme.spec.in doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
gpgme.txt Update the information before release, for what it's worth. 2004-09-30 01:44:17 +00:00
INSTALL Update automake scripts. 2008-07-04 15:46:01 +00:00
Makefile.am doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
missing Update automake scripts. 2008-07-04 15:46:01 +00:00
NEWS core: Un-deprecate gpgme_data_rewind. 2017-02-02 09:53:48 +01:00
README Release 1.8.0 2016-11-16 13:29:02 +01:00
README.GIT Release 1.3.2. 2012-05-02 11:18:24 +02:00
THANKS move some file encodings to UTF-8 2016-09-23 16:08:33 +02:00
TODO 2009-11-10 Marcus Brinkmann <marcus@g10code.de> 2009-11-10 09:07:19 +00:00

                       GPGME - GnuPG Made Easy
                     ---------------------------

                  Copyright 2001-2016 g10 Code GmbH

This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.

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.


Introduction
--------------

GnuPG Made Easy (GPGME) is a C language library that allows to add
support for cryptography to a program.  It is designed to make access
to public key crypto engines like GnuPG or GpgSM easier for
applications.  GPGME provides a high-level crypto API for encryption,
decryption, signing, signature verification and key management.

GPGME comes with language bindings for Common Lisp, C++, QT, Python2
and Python 3.

GPGME uses GnuPG and GpgSM as its backends to support OpenPGP and the
Cryptographic Message Syntax (CMS).

See the files COPYING, COPYING.LESSER, and each file for copyright and
warranty information.  The file AUTHORS has a list of authors and
useful web and mail addresses.


Installation
--------------

See the file INSTALL for generic installation instructions.

Check that you have unmodified sources.  See below on how to do this.
Don't skip it - this is an important step!

To build GPGME, you need to install libgpg-error (>= 1.11) and
Libassuan (>= 2.0.2).

For support of the OpenPGP protocol (default), you should use the
latest version of GnuPG (>= 1.4) , available at:
ftp://ftp.gnupg.org/gcrypt/gnupg/.  For support of the CMS
(Cryptographic Message Syntax) protocol and lot of other features, you
need a GnuPG version >= 2.0.

For building the GIT version of GPGME please see the file README.GIT
for more information.


How to Verify the Source
--------------------------

In order to check that the version of GPGME which you are going to
install is an original and unmodified one, you can do it in one of the
following ways:

a) If you have a trusted Version of GnuPG installed, you can simply check
   the supplied signature:

	$ gpg --verify gpgme-x.y.z.tar.gz.sig gpgme-x.y.z.tar.gz

   This checks that the detached signature gpgme-x.y.z.tar.gz.sig is
   indeed a a signature of gpgme-x.y.z.tar.gz.  The key used to create
   this signature is either of:

     2048R/4F25E3B6 2011-01-12 [expires: 2019-12-31]
     Key fingerprint = D869 2123 C406 5DEA 5E0F  3AB5 249B 39D2 4F25 E3B6
     Werner Koch (dist sig)

     rsa2048/E0856959 2014-10-29 [expires: 2019-12-31]
     Key fingerprint = 46CC 7308 65BB 5C78 EBAB  ADCF 0437 6F3E E085 6959
     David Shaw (GnuPG Release Signing Key) <dshaw 'at' jabberwocky.com>

     rsa2048/33BD3F06 2014-10-29 [expires: 2016-10-28]
     Key fingerprint = 031E C253 6E58 0D8E A286  A9F2 2071 B08A 33BD 3F06
     NIIBE Yutaka (GnuPG Release Key) <gniibe 'at' fsij.org>

     rsa2048/7EFD60D9 2014-10-19 [expires: 2020-12-31]
     Key fingerprint = D238 EA65 D64C 67ED 4C30  73F2 8A86 1B1C 7EFD 60D9
     Werner Koch (Release Signing Key)

   You may retrieve these files from the keyservers using this command

     gpg --recv-keys 249B39D24F25E3B6 04376F3EE0856959 \
                     2071B08A33BD3F06 8A861B1C7EFD60D9

   The keys are also available at https://gnupg.org/signature_key.html
   and in released GnuPG tarballs in the file g10/distsigkey.gpg .
   You have to make sure that these are really the desired keys and
   not faked one.  You should do this by comparing the fingerprints
   with the fingerprints published elsewhere.

b) If you don't have any of the above programs, you have to verify
   the SHA1 checksum:

	$ sha1sum gpgme-x.y.z.tar.gz

   This should yield an output _similar_ to this:

   fd9351b26b3189c1d577f0970f9dcadc3412def1  gpgme-x.y.z.tar.gz

   Now check that this checksum is _exactly_ the same as the one
   published via the announcement list and probably via Usenet.


Documentation
---------------

For information how to use the library you can read the info manual,
which is also a reference book, in the doc/ directory.  The programs
in the tests/ directory may also prove useful.

Please subscribe to the gnupg-devel@gnupg.org mailing list if you want
to do serious work.

For hacking on GPGME, please have a look at doc/HACKING.