AW: AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey
    Robert J. Hansen 
    rjh at sixdemonbag.org
       
    Wed Jan 27 11:06:09 CET 2016
    
    
  
For the record -- I used the code you provided with three minor changes:
(a) in lieu of CONFIG_DIR, I used nullptr, (b) I released the context at
the end of the code, and (c) I used C++14isms like nullptr, auto, and so
on.
It compiled and ran just fine.  This makes me think the problem is in
GnuPG's entropy collection and/or key generation -- not your code.
    
    
More information about the Gnupg-users
mailing list