Merge branch 'master' into ospath

This commit is contained in:
Joey Hess 2025-01-24 16:33:36 -04:00
commit 51a6cd1ee6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -182,7 +182,7 @@ feedRead cmd params passphrase feeder reader = do
withTmpFile (toOsPath "gpg") $ \tmpfile h -> do withTmpFile (toOsPath "gpg") $ \tmpfile h -> do
liftIO $ B.hPutStr h passphrase liftIO $ B.hPutStr h passphrase
liftIO $ hClose h liftIO $ hClose h
let passphrasefile = [Param "--passphrase-file", File (fromOsPath tmpfile)] let passphrasefile = [Param "--passphrase-file", File (fromRawFilePath (fromOsPath tmpfile))]
go $ passphrasefile ++ params go $ passphrasefile ++ params
#endif #endif
where where