How can GPGME use GnuPG on Android

2016-02-11 Thread Sandra Schreiner
Hello, Looking at gnupg-for-android I was wondering and amazed. How does a Android app manages to use GnuPG? As far as I understand the relationship between GPGME and GnuPG, GPGME gathers all necessary information from the app and sends the data to GnuPG in a 'command-line-based way' and

Default configuration of GnuPG preferred chiphers and hashfunctions

2016-01-30 Thread Sandra Schreiner
Hello again, I somehow can't get GPGME to work with a custom configuration directory for GnuPG. Every time I set a path any key generation fails with a GPGME_ERR_GENERAL afterwards. There is nothing special about how I set the path: gpgme_engine_info_t info; gpgme_error_t error;

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

2016-01-28 Thread Sandra Schreiner
>From Werner: "gpg2 can't use [custom passphrase handlers] as [using >gpg-]agent is a hard requirement. The only reason for keeping the >passphrase callback is for symmetric encryption." I guess I'm in real trouble now. The reason for this is a bit complex. My encprytion class is part of a

AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-28 Thread Sandra Schreiner
>Don't give up! >So far we've cleared two major problems: the first was GnuPG taking ~15 >minutes to generate a certificate, and the second was GPGME not working >with your callback. Two major problems solved in two days. Imagine >what we can get solved by the end of the week. >Programming is

AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-28 Thread Sandra Schreiner
>> But we decided to not use the existing wrapper, because it is old, >> (seems) unmaintained and we would like to have simpler interfaces and >> one solution for both, the C++ and Java world. Means: we just want to >> provide the simple and small interface in C++ and wrap this with JNI >> for

Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-27 Thread Sandra Schreiner
>> Yes, that was the problem. I installed haveged and it worked. But it seems >> that the key generation in my C++ application will not work, if a custom >> passphrase >> callback is set. The key generation code is unchanged, but with the callback >> I get an >> GPG_ERR_GENERAL error. The init

AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-27 Thread Sandra Schreiner
>I can't get that work. I copy pasted you code in my project and executed your >main, >but I still get a 'general error'. In the meanwhile I upgraded my system from >jesse to >debian 'testing'. I'm now using GnuPG 2.0.28 and GPGME 1.6 but the problem >stays the >same. I build the application

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

2016-01-27 Thread Sandra Schreiner
Von: Daniel Kahn Gillmor [d...@fifthhorseman.net] Gesendet: Dienstag, 26. Januar 2016 19:30 An: Sandra Schreiner; Robert J. Hansen; gnupg-users@gnupg.org Betreff: Re: AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey On Tue 2016-01-26 06:02:09 -0500, Sandra Schreiner wrote

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++

AW: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-26 Thread Sandra Schreiner
Von: Gnupg-users [gnupg-users-boun...@gnupg.org] im Auftrag von Robert J. Hansen [r...@sixdemonbag.org] Gesendet: Dienstag, 26. Januar 2016 11:43 An: gnupg-users@gnupg.org Betreff: Re: Key generation with GPGME and GnuPG hangs at gpgme_op_genkey > This

Key generation with GPGME and GnuPG hangs at gpgme_op_genkey

2016-01-26 Thread Sandra Schreiner
Hello, 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. Currently I'm trying to use GPGME in my C++ application with GnuPG for key-management and