gpgme usage
Oguz Yarimtepe
comp.ogz at gmail.com
Wed Mar 4 16:39:59 CET 2009
Hi,
I was trying to use the gpgme. I checked the tests directory and decided
to play with the t-decrypt.c. I changed it a little so as to use my own
keys at my system[1]. I also changed "t-support.h" so as to use my
password[2].
I compiled as
$ gcc mytest-decrypt.c `gpgme-config --libs` -o myencrypt
and run as
$ ./myencrypt
Here is what i got:
Oguz Yarimtepe comp.ogz at gmail.com Oguz Yarimtepe <comp.ogz at gmail.com>
t-support.h:56: Unspecified source: Invalid argument
When i comment the print_data (out); line at the mytest-decrypt.c, it
works, of course without no output. I am trying to decrypt the
cipher-1.asc.gpg file which is encrypted by using gpg command with the
key at my system.
[1] http://rafb.net/p/hBDQia89.html
[2] http://rafb.net/p/0aO1A239.html
It seems i am doing something wrong or misunderstood the basics. Can you
guide me please?
More information about the Gnupg-devel
mailing list