context
i have a working WinFSP.Launcher
CommandLine
registry value to mount rclone mount
. This is running as SYSTEM account in Windows.
But then, i tried to secure things by using symmetric gpg --decrypt
, but it failed. The gpg (pinentry?) never prompting for password.
Here is my CommandLine registry value (redacted)
mount %\/b:1 %2 --config="***\***.conf" --password-command "gpg -q -d ***\***\sym.gpg" *** (the rest rclone flags)
I test several things to understand why gpg symmetric “won’t” run like usual under SYSTEM account, so i use psexec
like below:
psexec -nobanner -s -i cmd /c gpg -q -d ***\sym.gpg 2>nul
→ this is working. gpg prompting for passwordpsexec \\127.0.0.1 -nobanner -s -i cmd /c gpg -q -d ***\sym.gpg
-
psexec \\127.0.0.1 -nobanner -s -i gpg -q -d ***\sym.gpg
test number 2 and 3 are not working. gpg won’t prompt for password. I mean, maybe something like this happened in WinFSP.Launcher
i don’t know. Both output:
gpg: AES256.CFB encrypted data
gpg: problem with the agent: Timeout
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
cmd exited on 127.0.0.1 with error code 2
my question
How to successfully run symmetric gpg decrypt in WinFSP.Launcher running under SYSTEM account in Windows?
Please help
Regards