New pinentry program

Matan Nassau matan.nassau at
Fri Sep 9 14:52:44 CEST 2016

I think I worked it out. It seems I can't link libpinentry against a
library, but I must link it against my executable, where I provide the
handler. Then I don't need any of the pre-existing front-ends.

On Thu, Sep 8, 2016 at 2:01 PM, Matan Nassau <matan.nassau at> wrote:

> Hello.
> How do I build a new pinentry program? I understand I need to link against
> libpinentry. I don't think I need the entire pinentry distribution to build
> as part of my build, just the library part, right?
> I tried to include in my project only pinentry.{h,c} argparse.{h,c} and
> secmem. But when I try to build without any of the front ends, I fail at
> link time because of (at least) missing pinentry handle function pointer
> symbol.
> When I try to build the distribution pinentry without any of the front
> ends, the configure script insists that I build at least one front end.
> Is it possible to get libpinentry without any of the front ends, so I can
> link against it my own front end?
> Matan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160909/aef04b1a/attachment.html>

More information about the Gnupg-devel mailing list