-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I checked my D:\software\GNU\GnuWin32\bin. There is no gpg.exe in it,
only gpg-error.exe and gpg-error-config. But there is gpg.exe in my
git folder. I adjusted the PATH and temporarily removed it. Then I
tried to import again, and the same error still occurred. The same
error happened when I tried to directly execute the
D:\software\GNU\GnuPG\bin\gpg --import command.

- --
M.

On Wed, Apr 10, 2024 at 3:35 PM Werner Koch <w...@gnupg.org> wrote:
>
> Hi,
>
> I see in your PATH
>
>   D:\software\GNU\GnuWin32\bin
>
> prior to
>
>   D:\software\GNU\Gpg4win\..\GnuPG\bin
>
> May it be that you use a gpg version picked up from the GnuWin32?  Check
> also whether there is a gpg binary in the Git program directory.
>
> My educated guess is that Gnuwin32 is a Cygwin based collection of
> utilities which might also include gpg.  Cygwin uses a slightly
> different and incompatiple socket emulation which would explain the
> error your get.  As a workaround you may try to run
>
>   D:\software\GNU\GnuPG\bin\gpg --import foo
>
> to use the correct gpg.
>
>
> Shalom-Salam,
>
>    Werner
>
>
> --
> The pioneers of a warless world are the youth that
> refuse military service.             - A. Einstein
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtS81xZ6ggCm51urXjBWeIrrYv8gFAmYX1lQACgkQjBWeIrrY
v8hC/xAAkRIsAYlONRBS2Rg30AMB4ghMbU3SKlJ6mNpOcXmdv4U547Ie9iV0F6vl
UkPIn1CTThzffMuRvkWkbB+hccZTWC/lzjEUnpub4cQXG/MWZqX/KZY2ujqHwqSz
RTwv9Nirxw01bP+t6R/BIct4ReIePoI7nyD06JhAOMR3iuE7FCFOg8vaYC7ooZHG
4CUbAptK7l04hPxpfJ5drfqNCeTy2Bh/mHmVADFu43lq9AW9vhcpOabo+8jcNtQn
4FYITjq/P16c1cnNL5CZdWHqGK/+7T4VyIFowGL6/HYRiQR+Nokr1XRLI6+aJ2HU
soRaHc0r2UFVie71jgvPfc+R0dekffW/OCir4Eye3o1KmLrCpHjFKKknYca0pOeA
R4IO1U8tSHzRru3w7GTX9A2V4ziAcrdzmFjBrCWjLSaJJc9FLZbKyXLG9F9nAvIQ
6s+mf3/RaR8AURaO9WLE32Cvi3K2i1vhnPkJgMcgWpvH3MZA8rcrEX0+tSSUuMes
3owKpgKVNmpMsKdtgJEd0HV1VRKk2UV5mUf+b1MAv7jxrH5nApBAJdxrrqrK1hXP
X7v5S/GSgK0gv1zl0MAeyJfgeqJKgDP4VZMl2O3z98Z8DW3stzWMqZv/PR+vZYPY
EExISfJxQxLQtMNVIXm8tkGVEg0kmtCQIkNEnMQJLce+nbnw6mQ=
=VoTO
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to