how to debug --gen-key on Android

Abel Luck abel at guardianproject.info
Mon Aug 26 13:15:47 CEST 2013


Werner Koch:
> On Thu,  9 May 2013 21:11, abel at guardianproject.info said:
>> I can't seem to get log_[info,error] output from libgrcrypt when
>> debugging the genkey code in agent.
>>
>> Is there a way to make gpg-agent setup libgcrypt to use the same
>> --log-file as itself?
> 
> It does by calling setup_libgcrypt_logging quite early.  If you are
> looking for progress output, it is indeed not enabled.  gpg has
> provisions to handle PROGRESS status messages, but none are coming for
> libgcrypt.  Thus we need to call gcry_set_progress_handler also in
> gpg-agent with a handler to emit PROGRESS status lines.
> 

Any update on this?

Getting progress feedback via gpgme when doing crypto operations
(specifically keygen, signing, and encryption) would be super useful.

~abel




More information about the Gnupg-devel mailing list