[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: how to debug --gen-key on Android
From:       Werner Koch <wk () gnupg ! org>
Date:       2013-05-10 6:21:27
Message-ID: 877gj7l5i0.fsf () vigenere ! g10code ! de
[Download RAW message or body]

On Thu,  9 May 2013 21:11, abel@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.

I'll look into this later the day.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic