This fixes a hang with GnuPG 2.3 BUG: 451569 BUG: 457738 FIXED-IN: 22.12.1
mentioned in commit 9fc74c0d