AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey
Sandra Schreiner
sasc0041 at stud.hs-kl.de
Tue Jan 26 12:02:09 CET 2016
________________________________________
Von: Gnupg-users [gnupg-users-bounces at gnupg.org]" im Auftrag von "Robert J. Hansen [rjh at sixdemonbag.org]
Gesendet: Dienstag, 26. Januar 2016 11:43
An: gnupg-users at gnupg.org
Betreff: Re: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey
> This is my first message to an e-mail list ever. I don't even know if
> this is the right e-mail list for me, please forgive me if I'm wrong,
> but unfortunately I didn't found a GPGME e-mail list.
Welcome! You're in the right place, and we'll be happy to help you out.
You may wish to switch from HTML email to plain-text; that's the
standard for this list.
> There is no error while initialising the library, so I don't know why it
> stops at gpgme_op_genkey. Maybe GnuPG is trying to collect entropie? If
> I generate a key using the GnuPG command line it tooks a very long time
> to collect entropie. But after ~15 minutes the key generation completes
> successfully (I didn't noticed that my program finished so far, even
> after 15 minutes+).
If it's taking your GnuPG setup ~15 minutes to generate a new
certificate, that indicates to me your GnuPG installation has a problem.
Let's tackle that one first before we start looking at your code.
Are you getting periodic messages about "Not enough random bytes
available. Please do some other work to give the OS a chance to
collect more entropy! (Need 167 more bytes)" or something like that?
_______________________________________________
Gnupg-users mailing list
Gnupg-users at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
______________________________________________________________________________________________
> Are you getting periodic messages about "Not enough random bytes
> available. Please do some other work to give the OS a chance to
> collect more entropy! (Need 167 more bytes)" or something like that?
Yes. You are right. These messages appear often.
Moreover I noticed that GPGME 1.5 may be outdated. I saw that e.g. the mode
GPGME_EXPORT_MODE_SECRET is missing for exporting private keys. Therefore I would
like to update GnuPG and GPGME together. Sadly there is no new version of them available
in the debian package manager. How can I manage to update them? I found the tarball of
GPGME 1.6 but don't know which version of GnuPG would match this GPGME version.
More information about the Gnupg-users
mailing list