From: Daniel Frank Date: 2010-01-19T06:45:45+09:00 Subject: Re: GPGME gem - cannot figure out how to decrypt data Hi, Am 18.01.2010 09:36, schrieb Daiki Ueno: > Daniel Frank writes: > >>> That is harmless since it just indicates that GPGME installed on your >>> system is slightly old and does not have gpgme_op_export_keys(). >>> >> This actually worries me. I downloaded the version (1.1.8) just >> yesterday morning from >> http://www.gnupg.org/download/index.en.html >> As that seems to be the latest version, I assume it should include the >> function? > > The web page seems not up to date. I'm currently using GPGME 1.2.0 and > 1.3.0 was released a week ago: > http://lists.gnupg.org/pipermail/gnupg-announce/2010q1/000298.html > That's strange then, I'd always expect the webpage to be current. Anyway, I tried 1.3.0. >> At this point it just hangs, which I assume is caused by the same >> underlying problem as the decrypt function hanging. So it looks like I'm >> hitting a problem with the GPGME library and not them gem. > > Then you may want to try the new version of GPGME. > No luck. I didn't even try them gem with it. "make check" resulted in 20 failed tests out of 21. The one test that was successful was called something-config and probably just asked gpg for it's version. I've given up on the gpgme library and have just written a basic wrapper class around the gpg binary myself. It is not as secure as gpgme, but the security impact is acceptable for what I'm doing. Thank you for your help! Daniel