fragility of --edit-key interface [was: Re: Changing trust in GPGME]

2010-01-13 Thread Jameson Rollins
On Wed, Jan 13, 2010 at 10:39:28AM +0100, Werner Koch wrote: > On Tue, 12 Jan 2010 23:41:52 +0100, Piotr Bratkowski wrote: > > > I have this code. And when I see output owner_trust = 4, but in gpg > > from system I get 0. Do I need to somehow save this changes?? > > This is not directly supported

Re: Changing trust in GPGME

2010-01-13 Thread Werner Koch
On Wed, 13 Jan 2010 10:49:03 +0100, Piotr Bratkowski wrote: > What is GPA?? http://www.gnupg.org/related_software/gpa/ The GNU Privacy Assistant (GPA) is a graphical user interface for the GnuPG (GNU Privacy Guard). GPA utilizes GTK (the GIMP Tool Kit) and compiles for various platforms

Re: Changing trust in GPGME

2010-01-13 Thread Piotr Bratkowski
Hello, What is GPA?? Regards, Piotr Bratkowski Werner Koch pisze: On Tue, 12 Jan 2010 23:41:52 +0100, Piotr Bratkowski wrote: I have this code. And when I see output owner_trust = 4, but in gpg from system I get 0. Do I need to somehow save this changes?? This is not directly supp

Re: Changing trust in GPGME

2010-01-13 Thread Werner Koch
On Tue, 12 Jan 2010 23:41:52 +0100, Piotr Bratkowski wrote: > I have this code. And when I see output owner_trust = 4, but in gpg > from system I get 0. Do I need to somehow save this changes?? This is not directly supported by GPGME. You need to write an edit interactor to control the gpg --edi

Changing trust in GPGME

2010-01-12 Thread Piotr Bratkowski
#ifdef HAVE_CONFIG_H #include #endif #include #include #include #include Hello, I have this code. And when I see output owner_trust = 4, but in gpg from system I get 0. Do I need to somehow save this changes?? #include "t-support.h" int main (int argc, char **argv) { gpgme_ctx_t ctx; gp