getMinimalPubKey requires gnupg 2.1.10
OpenPGP addon for Mozilla Thunderbird
Brought to you by:
pbrunschwig
Enigmail changelog states that "The minimum GnuPG version supported is now 2.0.16". But getMinimalPubKey function in keyRing.jsm expects that 'gpg2 --export' prints "[GNUPG:] EXPORTED" to status output. This output is available since gnupg 2.1.10. With earlier version of gnupg, enigmail treats the result of 'gpg2 --export' as failure.
yes indeed. Fixed on master.
Is it OK to rely on "[GNUPG:] EXPORTED" string, which may also change in future gpg2 versions?
Yes. That's how the GnuPG "API" is designed.