Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

gpgme_set_passphrase_cb() not working

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


colding at omesc

Apr 18, 2007, 9:21 AM

Post #1 of 1 (346 views)
Permalink
gpgme_set_passphrase_cb() not working

Hi,

I've written a small keyring utility(*) to store passwords and such. It
is using gpgme to interface with gnupg and works wonderfully on Gentoo
and Fedora.

However, on OpenSUSE 10.2 it doesn't. The problem is that
gpgme_set_passphrase_cb() doesn't have any effect on that platform.

I'm seeing pinentry-gtk-2 prompting me for a passphrase no matter what I
do. This naturally leads to my keyring not working as the gpgme
framework can't get the correct passphrase.

Is there anything I can do to force gpgme to use the callback that I
provides in gpgme_set_passphrase_cb() or is this something that has been
hard coded into gnupg on OpenSUSE?

Thanks a lot in advance,
jules


(*) Full source is here:

http://www.omesc.com/content/downloads/dist/testing/brutus-snapshot.tar.bz2

Look in <brutus/idl/products/evolution/2.4/brutus-keyring/> for the
keyring source. A small test program is in <../keyring-test/>.


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.