[OTR-dev] Hang during key generation

Gabriel Schulhof nix at go-nix.ca
Sun Jul 1 12:10:16 EDT 2007


Hi!

I've started to hack on a Maemo port for pidgin-otr, and I've run into my
first hurdle:

When I push the "Generate" button int the config dialog, it causes Pidgin
to hang. I have stepped through both pidgin-otr and libotr and the crucial
call seems to be

privkey.c:414: gcry_pk_genkey(&key, parms);

This hangs in such a way that there's no CPU activity and, when I
interrupt the process, it tells me it's inside select() - so, waiting for
events, I assume. Now, I realize that's inside libgcrypt and not libotr,
but I'm just wondering if someone on this list has encountered this
behaviour before, and if so, what the resolution towards successful key
creation was.

TIA for your help,



Gabriel



More information about the OTR-dev mailing list