ueno/ruby-gpgme

Support for jRuby

Opened this issue · 2 comments

I see #5 had something going, but then died, is there any additional work in support for jRuby?

I'm also interested in this. I make use of ruby-gpgme in a Puppet extension. The new Puppet server has switched to JRuby for running extensions so I'm trying to work out how best to use GPG within JRuby.

ueno commented

I'm not familiar with JRuby, but isn't it feasible to use:
https://github.com/guardianproject/gnupg-for-java
which seems to provide a Java binding around gpgme, through JNI?

Bouncy Castle might be an option for your use-case (symmetric encryption), but for other operations the interface seems to be very different from gpgme (also it has no access to keys stored in ~/.gnupg).