ruby-gpgme icon indicating copy to clipboard operation
ruby-gpgme copied to clipboard

Set engine info on a per-context basis

Open schneiderderek opened this issue 9 years ago • 1 comments

I've found this gem to be very useful, but i'm looking to set engine info on a per-context basis.

Is there any way to set engine info on a per-context basis? I've looked through the source extensively, but I couldn't find anything. GPGME::Engine.set_info sets the engine information, but doesn't scope to a specific context.

From doing some research it looks like there is a function in the gpgme C library called gpgme_ctx_set_engine_info. But, it doesn't look like it's exposed in ruby-gpgme.

Are there any plans to add support for this?

Thanks!

schneiderderek avatar Jan 27 '16 19:01 schneiderderek

it seems like an oversight, thanks for the reporting that. would you mind proposing a patch?

ueno avatar Jan 28 '16 02:01 ueno