--- lib/GnuPG/Interface.pm.orig	2023-09-17 17:40:43
+++ lib/GnuPG/Interface.pm	2023-09-17 17:42:29
@@ -355,7 +355,7 @@
         # being in the path when in taint mode. Set a path, if running
         # in taint mode whomever is calling us should be providing the
         # path to the gpg program to use.
-        local $ENV{PATH} = '/usr/bin' if tainted $ENV{PATH};
+        local $ENV{PATH} = '@@PREFIX@@/bin' if tainted $ENV{PATH};
         exec @command or die "exec() error: $ERRNO";
     }
 
