We are experiencing the same problem, using gpgme with rails app on a production environment. I'll follow-up here if we can make headway with these idea.

(posting now really just to bump)