Use gpg2 instead of the old gpg 1.4.20
It seems that the pre-installed version 1.4.20 of gpg is out-dated and deprecated (see the End-of-life announcements).
Instead gpg 2.x should be used now...
The build system of Enigma downloads gpg version 1.x from an Ubuntu source (for the target architecture like armhf) and adds the binaries into the "lib" folder of the installer package ("click" format)so that it is installed on the UT phone.
See inside the .click package file in the data.tar.gz file, folder "lib/aarch64-linux-gnu/bin/"...
You can also use "sudo / find -name gpg" on your phone (in the terminal) to find all installed gpg files...
I suggest
- to use the gpg2 Ubuntu Touch package instead of gpg (1.x)
- to call gpg2 from the app by explicitly using the correct path (not the default search path)
I think gpg2 is already available as deb package for Xenial 16.04 at:
http://ports.ubuntu.com/ubuntu-ports/pool/main/g/gnupg2/gnupg2_2.1.11-6ubuntu2_arm64.deb
PS: On Ubuntu 20.04 I see this version so the Ubuntu Touch version is not the most recent one but at least newer:
gpg --version
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5