GPGME FAQ

GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management.

Frequently Asked Questions

Why does the function gpgme_data_seek not work?

You probably did not compile the program with largefile support. GPGME is compiled with largefile support by default, so offt is a 64-bit data type. Because gpgme_data_seek uses off_t as a parameter type, you have to compile your program with largefile support as well, so that the data types used by GPGME and by your program match.

Note that you have to compile your program with largefile support even if you do not use gpgme_data_seek, because file descriptors are exchanged between the program and GPGME.

The GPGME documentation contains much more information on the subject. See section 2.3 Largefile support of the GPGME Reference Manual.

CC-BY-SA 3.0
These web pages are Copyright 1998--2014 The GnuPG Project¹ and licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. See copying for details.