Re: How can I have gpg pause to receive its passphrase, before it starts outputing decrypt to stdout?
On Mon, Mar 18, 2024 at 9:58 AM Werner Koch via Gnupg-users wrote: > > On Sat, 16 Mar 2024 21:26, B.S. said: > > ... (Windows 10) [DOS] cmd ... [*NOT* powershell] > > ... cygwin gpg ... > > [Do not use a Cygwin build of gpg - this is not supported. Use a > standard build for WIndows.] Thanks kindly. Found https://dev.gnupg.org/T4059 {Jul 8 2018} from Werner, to explain the point: > Note that Cygwin is not a supported platform. Seems that the exec functions > don't work on this 64 bit variant. and > ... it seems that GnuPG can be used on 32 bit Cygwin Very Good to know. And ... 32-bit cygwin is no longer maintained / supported, as of version 3.3.6, around 11/11/2022, per https://cygwin.com/pipermail/cygwin-announce/2022-November/010810.html ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users
''gpg: failed to translate osfhandle 0x00000003' known|expected? -fd 4-7 doesn't.
>From https://gnupg.org/download/index.html: Windows ... download sig Simple installer for the current GnuPG <-- https://gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.4.5_20240307.exe - C:\Program Files (x86)\GnuPG\bin>ver Microsoft Windows [Version 10.0.19045.4123] C:\Program Files (x86)\GnuPG\bin>.\gpg.exe --version gpg (GnuPG) 2.4.5 libgcrypt 1.10.3 Copyright (C) 2024 g10 Code GmbH ... C:\Program Files (x86)\GnuPG\bin>echo Hello World > HelloWorld.txt C:\Program Files (x86)\GnuPG\bin>type HelloWorld.txt | .\gpg.exe --passphrase-fd 3 -c 3< HelloWorld.txt gpg: failed to translate osfhandle 0x0003 - Is 'gpg: failed to translate osfhandle 0x0003' known / expected? Is there a workaround? - same result for fd 8 and above. e.g. gpg: failed to translate osfhandle 0x000b Curiously: C:\Program Files (x86)\GnuPG\bin>type HelloWorld.txt | .\gpg.exe --passphrase-fd 4 -c 4< HelloWorld.txt - brought up a pinentry-qt dialogue. i.e. didn't read from fd 4. - same for fd 5, 6, and 7. Is there a workaround? ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Fwd: speedo.mk errors out
On 2024-03-22 Christian Sommer via Gnupg-users wrote: > hi. > building GnuPG by speedo.mk on current master branch fails. The log > attached for building the dependencies looks fine. [...] Good morning, Does not look "fine" to me: configure:9456: Use gpgrt-config as libassuan-config configure:9519: checking for LIBASSUAN - version >= 3.0.0 configure:9566: result: no [...] *** You need libassuan to build this program. *** This library is for example available at *** https://gnupg.org/ftp/gcrypt/libassuan/ *** (at least version 3.0.0 (API 3) is required). AFAIUI gnupg master requires libassuan 3 which has not yet been released. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users