diff --git a/Utility/Gpg.hs b/Utility/Gpg.hs index 0fbc6a8f91..5b6098a4be 100644 --- a/Utility/Gpg.hs +++ b/Utility/Gpg.hs @@ -182,7 +182,7 @@ feedRead cmd params passphrase feeder reader = do withTmpFile (toOsPath "gpg") $ \tmpfile h -> do liftIO $ B.hPutStr h passphrase liftIO $ hClose h - let passphrasefile = [Param "--passphrase-file", File (fromOsPath tmpfile)] + let passphrasefile = [Param "--passphrase-file", File (fromRawFilePath (fromOsPath tmpfile))] go $ passphrasefile ++ params #endif where