Re: How can I 'echo' into fd 3 to be able to use it on a gpg cmd line?

2024-03-28 Thread Bee via Gnupg-users
= Prologue: Re-reading https://web.archive.org/web/20171225062127id_/http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true , I now notice '<& Reads the input from one handle and writes it to the output of another handle.' (Read from

How can I 'echo' into fd 3 to be able to use it on a gpg cmd line?

2024-03-18 Thread Bee via Gnupg-users
... (Windows 10) [DOS] cmd ... [*NOT* powershell] ... cygwin gpg ... How can I 'echo' into fd 3 to be able to use it on a gpg cmd line? e.g. 'echo "Secret data" | gpg.exe -c -passphrase-fd 3 3< echo %PASSWORD%' [Ignore the need, or not, for --batch and/or --pinentry-mode loopback, I can wrestle