ueno/ruby-gpgme

Support new functions of GPGME

Opened this issue · 4 comments

Do you plan to work on support the new functions of GPGME 1.7 soon?

I'm especially interested in gpgme_op_createkey, gpgme_op_createsubkey, gpgme_op_adduid, and gpgme_op_revuid. They would make my life easier. Unfortunately I'm not fluent enough in C to do it myself.

ueno commented

Yes. When updating the bundled GPGME tarball we usually expose new functions, like 46533d6.
PRs are welcome.

This appears to have stalled?

Isn't there anyone interested in the new features and fluent enough in C to implement them?

Hey @duckdalbe - it's a pretty big question there. Is there a specific function(s) that you're in need of?
No point doing work no-one needs, but if there's demand that's a good place to start.

Hey @dansketcher, thank you for your reply!

I'm mostly interested in the functions to create and manipulate keys.

  • gpgme_op_createkey
  • gpgme_op_createsubkey
  • gpgme_op_adduid
  • gpgme_op_set_uid_flag
  • gpgme_op_keysign

Right now I have to write XML (create) and shell out (manipulate) to gpg to do that, which I don't don't like.

Additionally I'm also interested in the [n]ew encryption API to support direct key specification including
hidden recipients option and taking keys from a file.
(I guess that is gpgme_op_encrypt_ext and cousins).