Re: AW: AW: AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-27 Thread Robert J. Hansen
I don't have a solution for you, but -- > static gpgme_error_t passphrase_cb(void *hook, const char *uid_hint, const > char *passphrase_info, >int prev_was_bad, int fd){ > > std::string passphraseString; > std::cout<< "Enter your password:"; > std:

AW: AW: AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-27 Thread Sandra Schreiner
> If your problem is merely lack of entropy on a VM, then I'd recommend > installing haveged, available in Jessie. It > broadens the sources used by the kernel for the entropy pool. Yes, that was the problem. I installed haveged and it worked. But it seems that the key generation in my C++ appli