Mailing List Archive

GPGME and callbacks
I have another gpgme problem.

The language I'm using (Labview) doesn't seem to do callbacks.This gives me
a problem in generating a signature since I cannot provide a callback
function in order to obtain the pass phrase. I need a mechanism by which I
can send the pass phrase through myself, either by pre-loading it into the
library as is done with the signing keys, or by passing it as one of the
arguments to a sign function.

Does a mechanism already exist for this, or do I have to change the library
myself?

--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
Re: GPGME and callbacks [ In reply to ]
At Fri, 11 Jun 2004 14:29:32 +0100,
Craig Graham wrote:
>
> I have another gpgme problem.

Juast as a side note: Please post gpgme related questions to gnupg-devel.
This list seems to be mostly for libgcrypt.

> The language I'm using (Labview) doesn't seem to do callbacks.This gives me
> a problem in generating a signature since I cannot provide a callback
> function in order to obtain the pass phrase. I need a mechanism by which I
> can send the pass phrase through myself, either by pre-loading it into the
> library as is done with the signing keys, or by passing it as one of the
> arguments to a sign function.
>
> Does a mechanism already exist for this, or do I have to change the library
> myself?

This is an interesting problem. However, if you are using labview,
then I guess you are not using the C language. Which raises the
question how you use GPGME at all. If you are using a wrapper, then
this is an issue for the wrapper to solve for you.

Thanks,
Marcus