The remote Debian host is missing a security-related update.
Marcus Brinkmann discovered that GnuPG performed insufficient sanitisation of file names displayed in status messages, which could be abused to fake the verification status of a signed email. Details can be found in the upstream advisory at https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
Upgrade the gnupg packages. For the oldstable distribution (jessie), this problem has been fixed in version 1.4.18-7+deb8u5.