Re: Can not import private key (Not enough space)

2024-04-11 Thread Werner Koch via Gnupg-users
On Thu, 11 Apr 2024 12:24, Moses said: > 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. Well, I have no more idea on how to debug this by mail :-(. On Linux you would now

Re: Can not import private key (Not enough space)

2024-04-11 Thread Moses via Gnupg-users
-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

Re: Can not import private key (Not enough space)

2024-04-10 Thread Werner Koch via Gnupg-users
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

Re: Can not import private key (Not enough space)

2024-04-09 Thread Moses via Gnupg-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Thank you for your continued follow-up. I executed commands. Here are the results: C:\>gpgconf -V * GnuPG 2.4.5 (cbff323b3) MingW32 Windows 10.0 build 19045 * Libgcrypt 1.10.3 (aa161086) version:1.10.3:10a03:1.48:13000: cc:10:gcc:10-win32

Re: Can not import private key (Not enough space)

2024-04-09 Thread Werner Koch via Gnupg-users
Hi! On Tue, 9 Apr 2024 12:21, Moses said: > C:\>gpgconf -L which merely shows that you installed the software on d:\software and kep the user data at the usual C: directories. I see nothing strange. To recap your problem was: c:\> gpg --import private-keys.asc gpg: enabled compatibility

Re: Can not import private key (Not enough space)

2024-04-09 Thread Moses via Gnupg-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Returns as follows: (just blacked out the username...) C:\>gpgconf -L sysconfdir:C%3a\ProgramData\GNU\etc\gnupg bindir:D%3a\software\GNU\Gpg4win\..\GnuPG\bin libexecdir:D%3a\software\GNU\Gpg4win\..\GnuPG\bin

Re: Can not import private key (Not enough space)

2024-04-09 Thread Werner Koch via Gnupg-users
On Mon, 8 Apr 2024 11:42, Moses said: > C:\> gpg-connect-agent -v >> getinfo version > D 2.4.5 Okay, that works. >> gpgconf -L > ERR 67109139 Unknown IPC command Please enter this on the command line not at the gpg-connect-agent prompt. Salam-Shalom, Werner -- The pioneers of a

Re: Can not import private key (Not enough space)

2024-04-08 Thread Moses via Gnupg-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I tried the command you gave and the results are as follows: C:\> gpg-connect-agent -v > getinfo version D 2.4.5 OK > gpgconf -L ERR 67109139 Unknown IPC command I downloaded and installed gpg4win from the official website, and the

Re: Can not import private key (Not enough space)

2024-04-08 Thread Werner Koch via Gnupg-users
Hi! On Mon, 8 Apr 2024 02:38, Moses said: > gpg: key xxx: error sending to agent: Not enough space That is a ENOMEM which is commonly returned for a failed malloc call. Could happen at a lot of places. Try: gpg-connect-agent -v and tehre a command like "getinfo

Can not import private key (Not enough space)

2024-04-07 Thread Moses via Gnupg-users
Hi, I've encountered an issue while trying to import a private key into GnuPG, resulting in an unexpected error message. Below are the details including the version of GnuPG and the error messages received: c:\> gpg --version gpg (GnuPG) 2.4.5 libgcrypt 1.10.3 ... c:\> gpg --import