Page MenuHome GnuPG
Feed Advanced Search

Aug 1 2017

werner reopened T3015: No rev cert saved if --gen-key in used with --output as "Open".

Patch breaks the tests.

Aug 1 2017, 7:05 PM · gnupg (gpg21), Bug Report
marcus closed T2001: gpg-agent isn't used for getting password with --gen-key as Resolved.

I think that's fixed now.

Aug 1 2017, 6:33 PM · Bug Report, gnupg
marcus edited projects for T3015: No rev cert saved if --gen-key in used with --output, added: gnupg (gpg21); removed gnupg (gpg22).
Aug 1 2017, 5:48 PM · gnupg (gpg21), Bug Report
marcus edited projects for T3015: No rev cert saved if --gen-key in used with --output, added: gnupg (gpg22); removed gnupg.
Aug 1 2017, 5:48 PM · gnupg (gpg21), Bug Report
marcus closed T3015: No rev cert saved if --gen-key in used with --output as Resolved.

Fixed in ebc65ff45 by always saving to standard path.

Aug 1 2017, 5:47 PM · gnupg (gpg21), Bug Report
chrullrich added a comment to T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0.

No, it's not. It still misses "-O" entirely.

Aug 1 2017, 2:26 PM · clang, libgcrypt, Bug Report
cpm closed T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0 as Resolved.

It's solved!

Aug 1 2017, 2:24 PM · clang, libgcrypt, Bug Report
gniibe added a comment to T1983: gpg2 prefers missing secret key to available key on card.

@fogine , I'm afraid your comment is related to this bug particular report of T1983: gpg2 prefers missing secret key to available key on card.
And your problem cannot be replicated by my environment with 2.1.22.
If you still have the issue with 2.1.22, please open new ticket.

Aug 1 2017, 8:38 AM · Bug Report, gnupg
gniibe added a comment to T1828: card-edit/fetch assumes signing key is master key and fails if not.

I think that this issue is fixed in 2.1, which use KS_FETCH instead of KS_GET with fingerprint.
Please test with 2.1.
We don't change 2.0.

Aug 1 2017, 8:27 AM · Bug Report, gnupg
gniibe closed T3192: gpg returns with non-zero exit status after successful run when using disable-scdaemon as Resolved.

Fixed in 2.1.22.

Aug 1 2017, 4:59 AM · gnupg (gpg21), Bug Report
gniibe closed T3192: gpg returns with non-zero exit status after successful run when using disable-scdaemon, a subtask of T1983: gpg2 prefers missing secret key to available key on card, as Resolved.
Aug 1 2017, 4:59 AM · Bug Report, gnupg
fogine added a comment to T1983: gpg2 prefers missing secret key to available key on card.

gpg (GnuPG) 2.1.21
libgcrypt 1.7.8

Aug 1 2017, 1:28 AM · Bug Report, gnupg

Jul 31 2017

werner added a comment to T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X.

debug dns

log-file whateveryouwant
Jul 31 2017, 6:51 PM · MacOS, gnupg (gpg22), Bug Report
patrick added a comment to T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X.

You're right, stat() works correctly. I created a small tool that implements the same logic. For some reason dirmngr is still not able to find the DNS server after suspend/resume in combination with changed locations. I still get "no route to host" errors.

Jul 31 2017, 5:33 PM · MacOS, gnupg (gpg22), Bug Report
neal triaged T3320: Allow --show-session-key with --encrypt as Low priority.
Jul 31 2017, 2:01 PM · Bug Report
neal created T3320: Allow --show-session-key with --encrypt.
Jul 31 2017, 2:00 PM · Bug Report
werner added a comment to T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X.

According to POSIX stat(2) follows a symlink and thus /etc/resolv.conf is the right name to use. (To stat /etc/resolv.conf itself lstat(2) would need to be used. ). I just checked the macOS man page and it says nothing to the contrary.

Jul 31 2017, 12:30 PM · MacOS, gnupg (gpg22), Bug Report
werner triaged T3315: 5/7 tests failed installing libgpg-error-1.27 as Normal priority.
Jul 31 2017, 11:30 AM · gpgrt, Bug Report
werner triaged T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X as High priority.
Jul 31 2017, 11:28 AM · MacOS, gnupg (gpg22), Bug Report
werner moved T2423: configure: error: Sorry, the current implemenation requires mmap. due to empty CFLAGS (missing -fPIC) from Blocker to Backlog on the gnupg (gpg22) board.
Jul 31 2017, 10:32 AM · gnupg (gpg22), Bug Report, gnupg
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

getting same error with 1.7 version also.

Jul 31 2017, 6:37 AM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Could you please help me on this, any fix do you have for this kind of issue.

Jul 31 2017, 3:06 AM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

not able to apply given patch in my unix box, please find the below output.

Jul 31 2017, 3:00 AM · libgcrypt, Bug Report
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

GnuPG 2.1.22 in Homebrew is out: https://github.com/Homebrew/homebrew-core/commit/39a392ffd6ac20a36ea8a4aec5c4dc5febcfc1d6
Please check it out.

Jul 31 2017, 2:02 AM · Bug Report, gpgagent, gnupg

Jul 30 2017

chdiza added a comment to T3316: test failures in gnupg 2.1.22 when using configure --disable-scdaemon.

I've found that I can get the test to succeed if I drop --disable-scdaemon from my configure flags. I'm far from qualified to diagnose this, but I suspect that the tests have a bug in which they still try to test the scdaemon despite the presence of --disable-scdaemon in the configure flags.

Jul 30 2017, 9:20 PM · Tests, Bug Report
patrick updated the task description for T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X.
Jul 30 2017, 4:32 PM · MacOS, gnupg (gpg22), Bug Report
patrick created T3317: dirmngr: Watching /etc/resolv.conf does not work on Mac OS X.
Jul 30 2017, 4:30 PM · MacOS, gnupg (gpg22), Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Could you please provide me the dyñamic library path to set my profile Solaris 10 command

Jul 30 2017, 3:04 AM · libgcrypt, Bug Report

Jul 29 2017

werner added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

On Sat, 29 Jul 2017 15:12, noreply@dev.gnupg.org said:

Jul 29 2017, 9:25 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

could you please guide me order to install below libraries and I will update you once I apply that patch .

Jul 29 2017, 3:54 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Also could you please guide me the order to install these libraries to solaris box.
I am installing as below order:
npth-1.5
libgpg-error-1.27.tar
libgcrypt-1.8.0.tar
libassuan-2.4.3.tar
libksba-1.3.5.tar
gnupg-2.1.21.tar

Jul 29 2017, 3:12 PM · libgcrypt, Bug Report
marcus added a comment to T2758: entering a "too long" passphrase fails in different ways..

The maximum passphrase length is defined in agent.h:

Jul 29 2017, 2:13 PM · Bug Report, gnupg
jukivili added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

You can apply this patch by first navigating to libgcrypt-1.8 path and then giving following command (you need 'patch' tool to be installed):

Jul 29 2017, 2:10 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

please guide me how to add this patch in solaris 10 os version

Jul 29 2017, 1:54 PM · libgcrypt, Bug Report
Ananas added a comment to T3315: 5/7 tests failed installing libgpg-error-1.27.

the first time, I just did : ./configure
then, after seing it was not working, I tried : ./configure --prefix=/usr && make

Jul 29 2017, 1:52 PM · gpgrt, Bug Report
jukivili added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

In libgcrypt, _gcry_md_extract has different return type in gcrypt-int.h than in md.c. Does attached patch solve the problem?

Jul 29 2017, 1:51 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

URL | name ]]URL | name ]]Hi Werner,

Jul 29 2017, 1:38 PM · libgcrypt, Bug Report
werner triaged T3314: libgcrypt-1.8.0 failed on solaris 10 as High priority.

Please provide information on how you build this. That is invocation of configure and make and best attsch the created config.log.

Jul 29 2017, 11:33 AM · libgcrypt, Bug Report
werner triaged T3316: test failures in gnupg 2.1.22 when using configure --disable-scdaemon as Normal priority.

Sure it won't apply because it is part of 2.1.22. ;-)

Jul 29 2017, 11:29 AM · Tests, Bug Report
werner added a comment to T3315: 5/7 tests failed installing libgpg-error-1.27.

Your build system is not correctly set up. How did did you invoke configure?

Jul 29 2017, 11:24 AM · gpgrt, Bug Report
chdiza added a comment to T3316: test failures in gnupg 2.1.22 when using configure --disable-scdaemon.

The "Suppress error for card availability check" (https://dev.gnupg.org/rGa8dd96826f8484c0ae93c954035b95c2a75c80f2) won't cleanly apply to 2.1.22, so my build was without it.

Jul 29 2017, 6:53 AM · Tests, Bug Report
chdiza created T3316: test failures in gnupg 2.1.22 when using configure --disable-scdaemon.
Jul 29 2017, 6:50 AM · Tests, Bug Report
rajeshg8 updated the task description for T3314: libgcrypt-1.8.0 failed on solaris 10.
Jul 29 2017, 4:20 AM · libgcrypt, Bug Report
Ananas created T3315: 5/7 tests failed installing libgpg-error-1.27.
Jul 29 2017, 12:32 AM · gpgrt, Bug Report

Jul 28 2017

rajeshg8 created T3314: libgcrypt-1.8.0 failed on solaris 10.
Jul 28 2017, 10:16 PM · libgcrypt, Bug Report
dkg reopened T2849: dirmngr fails to terminate on SIGTERM if an existing connection is open as "Open".

why should it wait for the timeout in the pselect call? shouldn't it be able to respond immediately to the final connection closing?

Jul 28 2017, 12:31 AM · Too Old, gnupg, Bug Report, dirmngr
dkg added a comment to T2750: GOOD_PASSPHRASE has disappeared from status.

Yes, that commit was in 2010, but it was on the 2.1 branch, which never saw wide distribution until this year, which means that there are test suites (like the one mentioned in request-tracker) which simply fail hard when used against gpg 2.1. Is there explicit guidance that the GnuPG project wants to give to downstreams like request-tracker?

Jul 28 2017, 12:01 AM · Bug Report, gnupg

Jul 27 2017

marcus closed T2687: 98 chars limits on archived filenames for windows (gpgtar) as Wontfix.

To remain compatible with PGP6 we are limited to ustar. If you want to support other archive types, archive first and then encrypt/sign the archive.

Jul 27 2017, 5:33 PM · gpgtar, gpg4win, Bug Report
marcus assigned T3013: Outlook crash when mailing file via explorer to aheinecke.
Jul 27 2017, 4:39 PM · Bug Report, gpgol
marcus updated the task description for T2992: memory erasure improvement.
Jul 27 2017, 4:23 PM · Bug Report, gnupg
marcus closed T2938: scd-event is annoying to use on Windows as Wontfix.
Jul 27 2017, 3:18 PM · Windows 32, scd, Windows, Bug Report, gnupg
sandhya added a comment to T3304: Invalid Crypto Engine.

where i can found the Test Directory

Jul 27 2017, 3:15 PM · Bug Report
marcus closed T2936: pubring.kbx to pubring.kbx~ as Wontfix.
Jul 27 2017, 3:03 PM · Bug Report, gnupg
marcus added a comment to T2949: GPGME library returned unexpected error at keytable.c150 - Debian.

Normally this error message can only come from gpgsm or dirmngr in case a certificate is listed that does have unsupported (unknown) critical extensions. Are you using X.509? What certificates do you have imported? You should be able to see the error and more information on the command line with "gpgsm -kv" and maybe some more options...

Jul 27 2017, 2:57 PM · Too Old, Bug Report, gpa
marcus closed T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534. as Invalid.
Jul 27 2017, 2:39 PM · Bug Report, gpa
marcus added a project to T2883: GpgOL: Move/Copy/Save/Export mail doesn't work: Stalled.
Jul 27 2017, 2:24 PM · Duplicate, Stalled, Bug Report, gpgol
werner closed T3304: Invalid Crypto Engine as Invalid.

This is a question on how to install and use gpgme. Please direct this to the gnupg-devel mailing list.

Jul 27 2017, 12:34 PM · Bug Report
werner closed T3309: gnupg-2.1.21 unabled to configured as Invalid.

I'd suggest that you install the missing nPth library. The configure message is pretty clear about it.
The warnings are irrelevant.

Jul 27 2017, 12:28 PM · Bug Report
rajeshg8 updated the task description for T3309: gnupg-2.1.21 unabled to configured .
Jul 27 2017, 12:11 PM · Bug Report
rajeshg8 created T3309: gnupg-2.1.21 unabled to configured .
Jul 27 2017, 12:10 PM · Bug Report
sandhya created T3304: Invalid Crypto Engine.
Jul 27 2017, 9:46 AM · Bug Report
werner closed T2897: gpg --import pauses for entropy as Resolved.

We can't do anything about thisfor the oldversions. You may use libgcrypt 1.8.0 which has a faster entropy collector and also allows to map /dev/random to /dev/urandom using the new /etc/gcrypt/random.conf

Jul 27 2017, 9:35 AM · Bug Report, gnupg
aheinecke changed the status of T2873: GpgEX crashes attempting to encrypt a file from Open to Testing.

Sorry to have overlooked your report initially.
We fixed some bugs related to this. Can you please try with the latest Beta from https://files.gpg4win.org/Beta/current/

Jul 27 2017, 8:50 AM · Bug Report, gpgex
aheinecke closed T2896: Outlook 2003 Cannot Send a Message as Wontfix.

Outlook 2003 is no longer maintained.

Jul 27 2017, 8:48 AM · Bug Report, gpgol

Jul 26 2017

marcus closed T2741: --quick-gen-key prints duplicate fingerprint as Resolved.

Fixed in 94eea0ed2c8b47cb0fe02b22cbe668705a5fe0d0

Jul 26 2017, 6:14 PM · Bug Report, gnupg
werner claimed T2741: --quick-gen-key prints duplicate fingerprint.

.

Jul 26 2017, 6:02 PM · Bug Report, gnupg
marcus updated the task description for T2741: --quick-gen-key prints duplicate fingerprint.
Jul 26 2017, 4:46 PM · Bug Report, gnupg
marcus closed T2397: error messages from gpg_keys_hkp's stderr are printed in gpg's stdout as Wontfix.

gpg 1.4 only gets important updates.

Jul 26 2017, 4:37 PM · gnupg (gpg14), Bug Report, gnupg
marcus closed T2909: GnuPG 2.1.15 - delete-secret-keys seems not to accept loopback pinentry as Invalid.

This is solved easily by using "--yes", which sets the force flag on the DELETE_KEY operation. This prevents gpg-agent from doing a confirmation.

Jul 26 2017, 4:30 PM · Bug Report, gnupg
marcus added a comment to T2909: GnuPG 2.1.15 - delete-secret-keys seems not to accept loopback pinentry.

Here is what Vinay Sajip wrote:

Jul 26 2017, 4:09 PM · Bug Report, gnupg
marcus closed T2899: Typo in Compendium English version Chapter 7 - "siehe next page" instead of "see next page" as Resolved.

Thanks, fixed in 01c68a6a.

Jul 26 2017, 4:02 PM · Bug Report, Documentation
marcus added a comment to T2897: gpg --import pauses for entropy.

According to the link above, the reason we need entropy on import is the KEYWRAP between gpg and gpg-agent. The reason we are stalling is that we use getrandom() and the urandom pool is apparently not initialized on that system.

Jul 26 2017, 3:42 PM · Bug Report, gnupg
marcus assigned T2896: Outlook 2003 Cannot Send a Message to aheinecke.
Jul 26 2017, 3:13 PM · Bug Report, gpgol
marcus assigned T2873: GpgEX crashes attempting to encrypt a file to aheinecke.

The beta is not released, but maybe Andre can make use of that info.

Jul 26 2017, 3:10 PM · Bug Report, gpgex
marcus added a project to T2859: TOFU not affected by Key deletion: Stalled.
Jul 26 2017, 2:56 PM · Stalled, Bug Report, gnupg

Jul 25 2017

marcus closed T2849: dirmngr fails to terminate on SIGTERM if an existing connection is open as Resolved.

It takes a couple of seconds for dirmngr to terminate after closing the last connection, maybe due to the timeout in the pselect call. Apart from that, it works as expected.

Jul 25 2017, 6:43 PM · Too Old, gnupg, Bug Report, dirmngr
marcus added a comment to T2689: trustdb error when lower 32-bits of ultimately trusted fingerprint are zero.

Well, the 16 byte fingerprint is used for MD5 (old v3 keys). Those aren't supported by default anymore, but the comment indicates that discerning existing entries is difficult.

Jul 25 2017, 6:20 PM · Bug Report, gnupg
marcus updated the task description for T2689: trustdb error when lower 32-bits of ultimately trusted fingerprint are zero.
Jul 25 2017, 6:08 PM · Bug Report, gnupg
marcus added a comment to T2747: gpg crashes when it receives a SIGTERM while it's cleaning up.

What catches my eye is that emergency_cleanup() is not guarded from being invoked twice in the way that got_fatal_signal() is.

Jul 25 2017, 5:46 PM · gnupg, Bug Report
marcus added a comment to T2759: Misleading error message when trying to sign with an expired key.

Besides -v, --status-fd 2 (for example) also shows useful information, as usual.

Jul 25 2017, 4:14 PM · Bug Report, gnupg
marcus added a comment to T2759: Misleading error message when trying to sign with an expired key.

You get more information with -v. Because a key can have multiple subkeys, this is not so easy to fix, because at the point that we decide that we can't build the signature we don't have all the information on potential key candidates anymore.

Jul 25 2017, 4:13 PM · Bug Report, gnupg
werner closed T3295: homedir path needs sanitation as Resolved.

We now strip trailing slashes (and backslashes on Windows) when setting the home directory with --homedir and when retrieving it from GNUPGHOME.

Jul 25 2017, 3:37 PM · Bug Report
werner changed the status of T2670: (Win32/64) gpg-agent locks directory of initial signature from Open to Testing.

I would say this is okay now. We switch to the Windows system directory which is unlikely to have non-ascii characters. If we ever need to change this, this can now be done in gnupg-chdir and the new gnupg_daemon_rootdir functions.

Jul 25 2017, 1:14 PM · Bug Report, gpg4win
werner changed the status of T2670: (Win32/64) gpg-agent locks directory of initial signature from Testing to Open.

This needs to be changed. See the comments for the commit.

Jul 25 2017, 11:44 AM · Bug Report, gpg4win

Jul 24 2017

marcus updated the task description for T2747: gpg crashes when it receives a SIGTERM while it's cleaning up.
Jul 24 2017, 7:24 PM · gnupg, Bug Report
marcus closed T2750: GOOD_PASSPHRASE has disappeared from status as Invalid.

The last time GOOD_PASSPHRASE was emitted was in 67934a8c1 (parent of 21b0a955) in 2010. I think that's just water down the river at this point.

Jul 24 2017, 7:22 PM · Bug Report, gnupg
marcus closed T2734: misleading error messages when trying to handle keys that use unsupported algorithms as Wontfix.
Jul 24 2017, 6:52 PM · Bug Report, gnupg
marcus added a project to T2313: gpg --import of secret keys prompts for passwords in 2.1: Stalled.

A decision must be made what the desired behaviour should be.

Jul 24 2017, 5:25 PM · S/MIME, Feature Request, Stalled, gnupg, OpenPGP
marcus added a comment to T2667: No NEED_PASSPHRASE status line on --export-secret-keys.

Ah, yes, this can happen, see T2313. With --batch, this can be avoided, and I added the NEED_PASSPHRASE with 872137b59.

Jul 24 2017, 5:20 PM · Bug Report, gnupg
alecpl added a comment to T2667: No NEED_PASSPHRASE status line on --export-secret-keys.

@marcus From my memory, importing private keys with passwords requires passphrase. Is this not a case in recent versions? What when you have some private keys in keyring and you import more private keys? Isn't the access to private keyring password protected in GnuPG 2.1 as I thought?

Jul 24 2017, 4:49 PM · Bug Report, gnupg
marcus closed T2390: gpg-agent not expiring passphrase as Resolved.

This works in recent 2.1.x versions, so let's close this here. 2.0.x is going EOL soon and won't get non-critical changes.

Jul 24 2017, 4:49 PM · Info Needed, Bug Report, gnupg
marcus changed the status of T2670: (Win32/64) gpg-agent locks directory of initial signature from Open to Testing.

Can somebody test 78ebc6260 under Windows? I think this would fix it.

Jul 24 2017, 4:40 PM · Bug Report, gpg4win
marcus closed T2668: gpgv verification of inline-signed data ignores leading and trailing garbage as Resolved.
Jul 24 2017, 4:13 PM · Bug Report, gnupg
marcus added a comment to T2668: gpgv verification of inline-signed data ignores leading and trailing garbage.

Werner implemented --output in a8363b7d0bcc77b55226d5fe8f972214c968ddc3.

Jul 24 2017, 4:13 PM · Bug Report, gnupg
marcus closed T2667: No NEED_PASSPHRASE status line on --export-secret-keys as Resolved.

Thanks, I fixed this in d8e46f106 for export-secret-keys. I am not sure how/when import asks for a passphrase. Please clarify if that is still an issue and reopen the report (or create a new one).

Jul 24 2017, 4:06 PM · Bug Report, gnupg
marcus closed T2443: gpg2 --use-agent gives "gpg: decryption failed: No secret key" as Invalid.

We can't reproduce this with recent versions and would need more information.

Jul 24 2017, 3:36 PM · Bug Report, gnupg
neal triaged T3296: When --detach-sign is given, but a detached signature is not created, gpg should at least emit a warning as Low priority.
Jul 24 2017, 1:52 PM · gnupg, Bug Report
neal created T3296: When --detach-sign is given, but a detached signature is not created, gpg should at least emit a warning.
Jul 24 2017, 1:52 PM · gnupg, Bug Report
aheinecke closed T2984: Windows: Unable to import CRL as Resolved.

The diff was commited. A general review of the ldap fetching on Windows is still pending but I think this can be resolved for now and we revisit this topic when we see new problems.

Jul 24 2017, 1:14 PM · Bug Report, gpg4win
chrullrich added a comment to T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0.

The fixed sed expression still does not work correctly; it misses the plain "-O" form of the option. As per gcc docs, -O is the same as -O1, and clang accepts it (and the build falls over with it) even though it does not document it at all.

Jul 24 2017, 10:41 AM · clang, libgcrypt, Bug Report