I managed to get `gpg-agent` run with USB smart card support under Android/Termux:
https://gist.github.com/feklee/92f76d2c8a7cabc477360d82b5305c19 What bugs me is that I had to compile in maintainer mode: Now I get warnings that the software should not used be used with production keys. Maintainer mode is in fact suggested by `autogen.sh`: $ git clone git://git.gnupg.org/gnupg.git […] $ cd gnupg $ export C_INCLUDE_PATH=$PREFIX/include/:$PREFIX/include/libusb-1.0/ :$PREFIX/include/libandroid-support $ ./autogen.sh […] autogen.sh: You may now run: ./configure --sysconfdir=/etc --enable-maintainer-mode && make If I try without maintainer mode, then I get: $ ./configure [output attached] $ make make all-recursive make[1]: Entering directory '/data/data/com.termux/files/home/src/g/ gnupg' Making all in m4 make[2]: Entering directory '/data/data/com.termux/files/home/src/g/ gnupg/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/data/data/com.termux/files/home/src/g/ gnupg/m4' Making all in common make[2]: Entering directory '/data/data/com.termux/files/home/src/g/ gnupg/common' make[2]: *** No rule to make target 'audit-events.h', needed by 'all '. Stop. make[2]: Leaving directory '/data/data/com.termux/files/home/src/g/g nupg/common' make[1]: *** [Makefile:613: all-recursive] Error 1 make[1]: Leaving directory '/data/data/com.termux/files/home/src/g/g nupg' make: *** [Makefile:533: all] Error 2 *How do I build `gpg-agent` without maintainer mode?* Note that I only need the agent, so I could probably speed up compile time by quite a lot if disable the other tools in `./configure`. But that’s not a priority now.
configure_output
Description: Binary data
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users