Problems finding keyring with GnuPGME
gpgme at katehok.ac93.org
Tue Apr 12 17:20:56 CEST 2005
mconahan at zixtestott.com wrote:
> Hi everyone,
> I created a Linux application that uses GnuPGME. The app is started
> by a server process, and as a result is having troubles accessing PGP
> keyrings. This is probably a permissions thing, as I installed GnuPG
> as the root user; the API (GnuPGME) is probably looking for the
> keyring at /root/.gnupg/.
GNUPGHOME env. var. can be used to point to the location of the kering.
> FYI, if I run my app as root on the command line, everything works
> fine; however, I need to start this process with a server.
> I am currently looking at three options: 1) update the GnuPGME keyring
> functions that I use to allow me to specify arbitrary keyrings of my
> choice, 2) investigate what user process is running my app, and create
> a home directory for it with keyrings and all, or 3)investigate if
> there is some undocumented function in GnuPGME that I can use to help
> me specify the keyring of my choice.
> Any help/advice provided by anyone would be greatly appreciated.
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
More information about the Gnupg-devel