1 GPGME - GnuPG Made Easy
2 ---------------------------
4 Copyright 2004, 2006, 2010 g10 Code GmbH
6 This file is free software; as a special exception the author gives
7 unlimited permission to copy and/or distribute it, with or without
8 modifications, as long as this notice is preserved.
10 This file is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
12 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19 GnuPG Made Easy (GPGME) is a C language library that allows to add
20 support for cryptography to a program. It is designed to make access
21 to public key crypto engines like GnuPG or GpgSM easier for
22 applications. GPGME provides a high-level crypto API for encryption,
23 decryption, signing, signature verification and key management.
25 GPGME uses GnuPG and GpgSM as its backends to support OpenPGP and the
26 Cryptographic Message Syntax (CMS).
28 GPGME runs best on GNU/Linux or *BSD systems. Other Unices may
29 require small portability fixes, send us your patches.
31 See the file COPYING.LESSER and each file for copyright and warranty
38 See the file INSTALL for generic installation instructions.
40 Check that you have unmodified sources. See below on how to do this.
41 Don't skip it - this is an important step!
43 To build GPGME, you need to install libgpg-error. You need at least
46 For support of the OpenPGP protocol (default), you should use the
47 latest version of GnuPG 1.2 or 1.4, available at:
48 ftp://ftp.gnupg.org/gcrypt/gnupg/
50 You need at least GnuPG 1.2.2.
52 If configure can't find the `gpg' binary in your path, you can specify
53 the location with the --with-gpg=/path/to/gpg argument to configure.
55 For support of the CMS (Cryptographic Message Syntax) protocol, you
56 need the latest CVS version of GnuPG 1.9, which is available in the
58 http://www.gnupg.org/download/cvs_access.html
59 Use the tag `GNUPG-1-9-BRANCH'. There are also snapshots available at:
60 ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
62 You need at least GpgSM 1.9.6.
64 If configure can't find the `gpgsm' binary in your path, you can
65 specify the location with the --with-gpgsm=/path/to/gpgsm argument to
68 For building the CVS version of GPGME please see the file README.CVS
72 How to Verify the Source
73 --------------------------
75 In order to check that the version of GPGME which you are going to
76 install is an original and unmodified one, you can do it in one of the
79 a) If you have a trusted Version of GnuPG installed, you can simply check
80 the supplied signature:
82 $ gpg --verify gpgme-x.y.z.tar.gz.sig
84 This checks that the detached signature gpgme-x.y.z.tar.gz.sig is
85 indeed a a signature of gpgme-x.y.z.tar.gz. The key used to create
86 this signature is either of:
88 "pub 1024D/57548DCD 1998-07-07 Werner Koch (gnupg sig) <dd9jn@gnu.org>"
89 "pub 1024D/87978569 1999-05-13
90 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
91 Marcus Brinkmann <mb@g10code.com>"
93 If you do not have this key, you can get it from any keyserver. You
94 have to make sure that this is really the key and not a faked one.
95 You can do this by comparing the output of:
97 $ gpg --fingerprint 0x57548DCD
99 with the fingerprint published elsewhere.
101 b) If you don't have any of the above programs, you have to verify
104 $ sha1sum gpgme-x.y.z.tar.gz
106 This should yield an output _similar_ to this:
108 fd9351b26b3189c1d577f0970f9dcadc3412def1 gpgme-x.y.z.tar.gz
110 Now check that this checksum is _exactly_ the same as the one
111 published via the announcement list and probably via Usenet.
117 For information how to use the library you can read the info manual,
118 which is also a reference book, in the doc/ directory. The programs
119 in the tests/gpg/ directory may also prove useful.
121 Please subscribe to the gnupg-devel@gnupg.org mailing list if you want