doubts in GPGME
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
Mon Jul 8 02:16:02 CEST 2002
On Fri, Jul 05, 2002 at 10:42:40AM +0530, Thanga Prakash S wrote:
> The name of the recipients is used to identify the key using its real name..
> Is it correct? or Is there any other relation between recipients and key?
Yes, indeed. I think you can also use the fingerprint, or something else
you provide with the -r option to GnuPG.
> I have doubt, why the test programs are created as wrapper scripts instead of
> binary files directly? (binary files are stored in .libs directory)
They must be linked to the compiled library, not to the installed library,
so they need the LD_LIBRARY_PATH environment set up. They also have some
other setup (GNUPGHOME and srcdir variables set).
> When the test programs are compiled, the compilation generates some
> test keys which are stored in the current directory. But when the test codes are executed,
> the program refers to the keys in the home directory (~USER/.gnupg/).
> Then i changed value of GNUPGHOME to the current directory..
Exactly, that's what the test scripts do for you :) Try to run the tests
with "make check". The complete way to run them manually is with something
like that:
$ pwd
~/gpgme/build/tests/gpg
$ GNUPGHOME=. srcdir=../../../tests/gpg LD_LIBRARY_PATH=../../gpgme/.libs .libs/lt-t-encrypt
for example (from the top of my head).
> As part of API, Is there any way to specify directory through API itself?
No. Setting GNUPGHOME is basically the right strategy, because an
application should not be concerned about the configuration of the crypto
backend.
> How do i get to know the latest features/updation in GPGME?
There is a mailing list that informs you about all changes in the CVS
version. I have problems accessing the gnupg.org web site right now so I
can not dig out what the mailing list was and how you subscribe to, it
should be something like gpgme-commit or so. Important announcements
are also sent to this list here, but regular development is just documented
in the ChangeLog and NEWS file.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd at debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus at gnu.org
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
More information about the Gnupg-devel
mailing list