neopg icon indicating copy to clipboard operation
neopg copied to clipboard

GPGME support

Open ankostis opened this issue 6 years ago • 1 comments

What is the status of porting GPGME library? Are there bindings to other languages that work (it's python i'm interested)?

ankostis avatar Mar 11 '18 12:03 ankostis

The GPGME C interface should be subsumed by an eventual native library interface. Currently, that doesn't exist as the legacy code is hard to refactor due to global state and lack of fine granularity in the code. I am working on a native library interface bottom up, but it is obviously a lot of work. Just now I submitted a first rough cut at a low-level OpenPGP parser, the next step will be parsers for individual packet types, followed by higher level objects (keys and messages) and operations on them. From the beginning, I will be careful to allow an easy C interface on top of the C++ interface, and other languages can be built on top of that, but I am afraid we are not there yet. It may be possible to use GPGME more or less directly with NeoPG using the legacy CLI, see also #27.

lambdafu avatar Mar 11 '18 21:03 lambdafu