why do not "gpgme-1.1.4/tests/gpg/t-decrypt.c" and "gpgme-1.1.4/tests/gpg/t-encrypt.c" working?
marcus.brinkmann at ruhr-uni-bochum.de
Wed Feb 20 01:17:11 CET 2008
please don't cross-post. Replying to only gnupg-devel:
At Tue, 19 Feb 2008 23:25:41 +0200,
"Metin KAYA" <kayameti at gmail.com> wrote:
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; ISO-8859-1 (7bit)>]
> Hi all,
> I'm new user of gpgme. I installed gpgme-1.1.4 and studied examples of it.
> But when I try to run t-decrypt and t-encrypt binaries, they give this
> # ./t-encrypt
> t-encrypt.c:60: GPGME: End of file
> # ./t-decrypt
> t-decrypt.c:64: GPGME: Decryption failed
> I'm using Fedora Core 8 (22.214.171.124-85.fc8) and I want to use gpgme to
> encrypt/decrypt and assign plain data. Can you help me? How can I
> encrypt/decrypt/assign plain data via gpgme library functions?
The included test suite comes with its own environment, which is
provided by environment variables. Try something like:
GNUPGHOME=`pwd` srcdir=`pwd` ./t-encrypt
If you do a VPATH build, you need to adjust srcdir, of course.
More information about the Gnupg-devel