Re: uncompressing failed: Unknown compression algorithm
Hello Werner, Thank you for your reply and apologizes for my slow reply. The problem is that I am on CentOS 7 and this is the latest gnupg version that comes with the distribution. I can see there is no easy upgrade (no rpms or repository) readily available and I am afraid that installing in from source might cause some problems with any other parts of CentOS that depends on the other version of gnupg or libgpg-error, libgcrypt, libassuan, Lacking any clear upgrade path I am forced to stick with the current version and hope that my scripts will not receive another corrupt file. Thanks again, Lian On 24/06/18 10:52, Werner Koch wrote: > On Thu, 21 Jun 2018 11:40, lian.s...@virusbulletin.com said: > >> 1. Is it "normal" to hang like this or it is a bug ? > No, that should not happen. Compression 42 is clearly an indication for > a corrupt file. > >> 2. Is there any option I can pass to gnupg in command line so that it >> goes on in case of errors instead of hanging? > No, the above looks like a bug which needs to be fixed. > >> /gpg (GnuPG) 2.0.22// > That version is close to 5 years old and its 2.0 branch reached > end-of-life half a year ago. We might have fixed such a bug already in > current versions. > > Please let us know if you can replicate this with a current GnuPG > version and we will dig into it. > > > Shalom-Salam, > >Werner > -- Virus Bulletin Ltd, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, Oxon, United Kingdom. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Pinentry: Inappropriate ioctl for device when getting smartcard PIN
On 07/04/2018 01:23 PM, Werner Koch wrote: > Hi! > > Are you setting the homedir in your code also for the Assuan context? > That might explain the behaviour. I had been manually setting the Assuan context's homedir to ~/.gnupg by accident (Was originally using a temporary directory, but that caused all kinds of issues). Setting it to NULL instead appears to have fixed the problem. Thanks, Jacob signature.asc Description: OpenPGP digital signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: dirmngr cygwin resolv.conf
On 7/4/2018 2:25 PM, Werner Koch wrote: On Wed, 4 Jul 2018 09:11, gni...@fsij.org said: The patch is: Don't try to look the error code, but fallback TOR_PORT2 always. I don't like this patch because it is not specific enough. If Cygwin really returns EPERM, than this is a bug in the Cygwin emulation because all Unix systems (and actually all BSD sockets based systems) return ECONNREFUSED. We should not try to fix bugs for Cygwin given that Cygwin is not offically supported. What would it take to make Cygwin officially supported? I'm not able to register to the bug portal that is why I'm sending it here. I have installed all required libraries and I got so far as: $ gnupg ./configure --sysconfdir=/etc --enable-maintainer-mode && make snip make all-recursive make[1]: Entering directory '/home/john/git/gnupg' Making all in m4 make[2]: Entering directory '/home/john/git/gnupg/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/john/git/gnupg/m4' Making all in common make[2]: Entering directory '/home/john/git/gnupg/common' make all-am make[3]: Entering directory '/home/john/git/gnupg/common' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/john/git/gnupg/common' make[2]: Leaving directory '/home/john/git/gnupg/common' Making all in kbx make[2]: Entering directory '/home/john/git/gnupg/kbx' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/john/git/gnupg/kbx' Making all in g10 make[2]: Entering directory '/home/john/git/gnupg/g10' gcc -I/usr/local/include -I/usr/local/include -I/usr/local/include -O3 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wformat -Wno-format-y2k -Wformat-security -W -Wno-sign-compare -Wno-format-zero-length -Wno-missing-field-initializers -Wdeclaration-after-statement -Wlogical-op -Wvla -Wno-pointer-sign -Wpointer-arith -g -O2 -o gpg.exe gpg.o keyedit.o server.o build-packet.o compress.o free-packet.o getkey.o keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o progress.o misc.o rmd160.o openfile.o keyid.o parse-packet.o cpr.o plaintext.o sig-check.o keylist.o pkglue.o ecdh.o pkclist.o skclist.o pubkey-enc.o passphrase.o decrypt.o decrypt-data.o cipher-cfb.o cipher-aead.o encrypt.o sign.o verify.o revoke.o dearmor.o import.o export.o migrate.o delkey.o keygen.o helptext.o keyserver.o call-dirmngr.o photoid.o call-agent.o trust.o trustdb.o tdbdump.o tdbio.o card-util.o exec.o key-check.o ../kbx/libkeybox.a ../common/libcommon.a ../common/libgpgrl.a -lintl-L/usr/local/lib -lgcrypt -lgpg-error -lassuan -L/usr/local/lib -lgpg-error -L/usr/local/lib -lgpg-error /usr/local/lib/libiconv.dll.a -L/usr/local/lib /usr/local/lib/libgpg-error.a(libgpg_error_la-strsource.o): In function `_gpg_strsource': /home/john/git/libgpg-error/src/strsource.c:36: undefined reference to `libintl_dgettext' /home/john/git/libgpg-error/src/strsource.c:36:(.text+0x45): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libintl_dgettext' /usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function `_gpg_strerror_r': /home/john/git/libgpg-error/src/strerror.c:161: undefined reference to `libintl_dgettext' /home/john/git/libgpg-error/src/strerror.c:161:(.text+0x2f5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libintl_dgettext' /usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function `_gpg_strerror': /home/john/git/libgpg-error/src/strerror.c:50: undefined reference to `libintl_dgettext' /home/john/git/libgpg-error/src/strerror.c:50:(.text+0xef): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libintl_dgettext' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:789: gpg.exe] Error 1 make[2]: Leaving directory '/home/john/git/gnupg/g10' make[1]: *** [Makefile:614: all-recursive] Error 1 make[1]: Leaving directory '/home/john/git/gnupg' make: *** [Makefile:534: all] Error 2 $ make check Making check in m4 make[1]: Entering directory '/home/john/git/gnupg/m4' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/john/git/gnupg/m4' Making check in common make[1]: Entering directory '/home/john/git/gnupg/common' make check-am make[2]: Entering directory '/home/john/git/gnupg/common' make check-TESTS make[3]: Entering directory '/home/john/git/gnupg/common' PASS: t-stringhelp.exe PASS: t-timestuff.exe PASS: t-convert.exe PASS: t-percent.exe PASS: t-gettime.exe PASS: t-sysutils.exe PASS: t-sexputil.exe > Known envvars: GPG_TTY(ttyname) TERM(ttytype) DISPLAY(display) > XAUTHORITY(xauthority) XMODIFIERS GTK_IM_MODULE DBUS_SESSION_BUS_ADDRESS > QT_IM_MODULE INSIDE_EMACS PINENTRY_USER_DATA(pinentry-user-data) PASS: t-session-env.exe standard ECC curve missing FAIL: t-openpgp-oid.exe t-ssh-utils.c:351: error getting fingerprint for sample key 0: Not operational FAIL: t-ssh-utils.exe PASS: t-mapstrings.exe PASS: t-zb32.exe PASS: