Decryption using gpgme
twoaday at freakmail.de
Thu Aug 2 18:14:01 CEST 2001
On Thu Aug 02 2001, Miroslav Koncar wrote:
> very similar like it is in example t-decrypt of the distribution, but
> the problem is how to pass the passphrase to this function? The header
> for that function is defined:
The usual way is to create a dialog inside the callback function
that will be use to get the passphrase.
Alternative you can also use the opaque pointer for a pointer to
the passphrase, but this isn't very smart and the first method
is the preferred way.
Two-a-Day at WinPT.org keyid BF3DF9B4 http://www.WinPT.org
More information about the Gnupg-devel