Android gpg-agent crashes in libgcrypt when signing, decrypting, importing secret keys

Hans-Christoph Steiner hans at guardianproject.info
Sat Feb 1 04:16:21 CET 2014


On 01/31/2014 02:43 AM, Werner Koch wrote:
> On Fri, 31 Jan 2014 03:20, hans at guardianproject.info said:
> 
>> libgcrypt from master to the 1.6.x branch, which does not include "Parse
>> /proc/cpuinfo for ARM HW features". So its likely building with NEON
> 
> I'll have a look at it.

The adventure continues... now that the "Parse /proc/cpuinfo" patch is in
LIBGCRYPT-1-6-BRANCH and I removed --disable-neon-support to rely on
auto-detection, it builds for NEON and it now passes all of the libgcrypt
tests on the emulator.  But now gpgme tests fail:

Running gpgme/run-import --verbose pubkey-1.asc
run-import: file run-support.h line 133: <GPGME> Invalid crypto engine
Running gpgme/run-import --verbose pubdemo.asc
run-import: file run-support.h line 133: <GPGME> Invalid crypto engine
Running gpgme/run-import --verbose pubkey-1.asc
run-import: file run-support.h line 133: <GPGME> Invalid crypto engine
Running gpgme/run-keylist --verbose
run-keylist: file run-support.h line 133: <GPGME> Invalid crypto engine

The complete build and test log is here:
https://dev.guardianproject.info/attachments/download/1141/gpga-build-and-test-log-neon-build-with-proc-cpuinfo.txt.bz2

So without the /proc/cpuinfo patch, all the tests pass (expect fdpassing and
fips random) and it also passes my manual tests on a device.

Happy FOSDEM for those who are there!

.hc

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 969 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20140131/5de77a39/attachment-0001.sig>


More information about the Gnupg-devel mailing list