Page MenuHome GnuPG
Feed Advanced Search

Jul 5 2017

marcus added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

At a meta level, I really think that writing more conservative code that enables compilers to do a better job checking for safety is a good idea. The tricks we do with structs are premature optimization from a time when compilers were dumb as a doornail.

Jul 5 2017, 2:56 PM · clang, Ubuntu, libgcrypt, Bug Report
marcus added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

Maybe casting to a void* helps to disable the check in the compiler.

Jul 5 2017, 2:52 PM · clang, Ubuntu, libgcrypt, Bug Report
marcus added a comment to T1938: --list-sigs on a keybox is extremely slow.

It's unclear from the discussion if this issue has been resolved. @werner can you please comment on this?

Jul 5 2017, 2:17 PM · gnupg, Bug Report
marcus added a comment to T2019: Order of magnitude degradation in performance in gpg2 cf gpg.

As the @neal branch has not been updated anymore, I wonder what the status of this report is. Do we have a canonical test case and a performance goal, or anything else that let's us evaluate this? @werner ?

Jul 5 2017, 1:53 PM · Stalled, Bug Report, gnupg
werner closed T3242: [ptach] libgpg-error fails to cross-compile from x86_64-pc-linux-gnu to ia64-unknown-linux-gnu as Resolved.

Thanks. Will go into the next release.

Jul 5 2017, 12:14 PM · patch, Bug Report
werner triaged T3254: Decide which password limit to use and consistently use that limitation as Low priority.
Jul 5 2017, 12:01 PM · Bug Report
werner changed the status of T3254: Decide which password limit to use and consistently use that limitation from Open to Testing.

I just fixed that in master. The limit is now 255 also for the loopback.

Jul 5 2017, 12:01 PM · Bug Report
werner added a comment to T3254: Decide which password limit to use and consistently use that limitation.

See also T2038 where the limit was raised from 100 to 255. It has not been raised for the loopback mode though.

Jul 5 2017, 11:45 AM · Bug Report
steve updated the task description for T3254: Decide which password limit to use and consistently use that limitation.
Jul 5 2017, 11:37 AM · Bug Report
steve updated the task description for T3254: Decide which password limit to use and consistently use that limitation.
Jul 5 2017, 11:23 AM · Bug Report
steve created T3254: Decide which password limit to use and consistently use that limitation.
Jul 5 2017, 11:19 AM · Bug Report
gouttegd added a comment to T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float.

I can confirm this behavior with the latest pinentry-gtk-2 under the Awesome window manager.

Jul 5 2017, 11:11 AM · pinentry, Bug Report
gniibe added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

I can replicate the issue on my system.
It is not the line 681, actually.

Jul 5 2017, 4:07 AM · clang, Ubuntu, libgcrypt, Bug Report

Jul 4 2017

marcus changed the status of T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM from Open to Testing.
Jul 4 2017, 11:25 PM · gnupg (gpg14), asm, Bug Report
marcus added a comment to T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM.

Should be fixed in 782f804765b6f4226fd77843e59f57dcca61b6fb, can you verify that? Thanks!

Jul 4 2017, 11:23 PM · gnupg (gpg14), asm, Bug Report
marcus closed T2682: Keys cannot be refreshed via "gpg2 --refresh-keys" as Resolved.
Jul 4 2017, 10:45 PM · Bug Report, gnupg
colan added a comment to T2682: Keys cannot be refreshed via "gpg2 --refresh-keys".

Fine by me, unless someone else is still running into this.

Jul 4 2017, 7:09 PM · Bug Report, gnupg
OJFord changed Version from pinentry 1.0.0-1 to pinentry-gtk-2 1.0.0-1 on T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float.
Jul 4 2017, 4:34 PM · pinentry, Bug Report
OJFord added a project to T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float: pinentry.
Jul 4 2017, 4:33 PM · pinentry, Bug Report
OJFord added a comment to T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float.

To be clear: the dialogue should be a floating window, and it is when actually promoting for a pin entry, but not when alerting to the absence of a PGP card.

Jul 4 2017, 4:32 PM · pinentry, Bug Report
werner added a comment to T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float.

I am not sure I understand your question. In any case you need to tell us whcih pinentry flavour you ar using (gpt, qt, curses, gnome, etc...

Jul 4 2017, 3:39 PM · pinentry, Bug Report
OJFord created T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float.
Jul 4 2017, 2:41 PM · pinentry, Bug Report
werner added a comment to T2682: Keys cannot be refreshed via "gpg2 --refresh-keys".

We have fixed a couple of bugs related to keyservers between 2.1.17 and the current .21.

Jul 4 2017, 10:45 AM · Bug Report, gnupg
werner removed a project from T3240: Pinentry takes long to appear: Info Needed.
Jul 4 2017, 10:15 AM · Bug Report
gniibe claimed T3247: SIGILL in prepare_macpads() at md.c:681.

I think that the problem is in your usage with your tool. Please have a look at md_open function in cipher/md.c.
This bug is not the one in libgcrypt, but in the compiler.

Jul 4 2017, 6:27 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3246: md5.c:119:3: runtime error: unsigned integer overflow: 2612846078 + 3614090360 cannot be represented in type 'unsigned int' as Invalid.

Same argument can apply to MD5. See T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int' of SHA2.

Jul 4 2017, 5:10 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3250: random-csprng.c:1070:16: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long') as Invalid.

See T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').

Jul 4 2017, 5:08 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long') as Invalid.

See T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long' for unsigned integer overflow.

Jul 4 2017, 5:06 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long' as Invalid.

It is intentionally used.
And in the C programming language, it is defined that unsigned integer never overflows (it is computed as modulo 2).

Jul 4 2017, 4:58 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3251: sha512.c:342:25: runtime error: unsigned integer overflow: 17296268247117069635 + 2271443192277056827 cannot be represented in type 'unsigned long' as Invalid.

See T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int'.

Jul 4 2017, 4:54 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int' as Invalid.

In the SHA2 computation, it is defined that addition is calculated modulo 2^32.
And in the C programming language, "unsigned integer" operation never overflows (it is defined as modulo).

Jul 4 2017, 4:52 AM · Bug Report
gniibe closed T3239: selecting openpgp failed: Operation not supported by device as Resolved.

OK, closed.

Jul 4 2017, 4:31 AM · Bug Report
DavidHuang61 added a comment to T3239: selecting openpgp failed: Operation not supported by device.
In T3239#99523, @gniibe wrote:

"gpg: selecting openpgp failed: Operation not supported by device" means that gpg tried to access smartcard (expecting OpenPGP card), but it failed.

Did you insert some smartcard?

What's the output of 'gpg --card-status'?

Jul 4 2017, 3:50 AM · Bug Report
DavidHuang61 added a comment to T3239: selecting openpgp failed: Operation not supported by device.
In T3239#99523, @gniibe wrote:

"gpg: selecting openpgp failed: Operation not supported by device" means that gpg tried to access smartcard (expecting OpenPGP card), but it failed.

Did you insert some smartcard?

What's the output of 'gpg --card-status'?

Jul 4 2017, 3:48 AM · Bug Report
geeknik created T3251: sha512.c:342:25: runtime error: unsigned integer overflow: 17296268247117069635 + 2271443192277056827 cannot be represented in type 'unsigned long'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3250: random-csprng.c:1070:16: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int'.
Jul 4 2017, 3:11 AM · Bug Report
geeknik created T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3247: SIGILL in prepare_macpads() at md.c:681.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3246: md5.c:119:3: runtime error: unsigned integer overflow: 2612846078 + 3614090360 cannot be represented in type 'unsigned int'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').
Jul 4 2017, 3:10 AM · clang, Ubuntu, libgcrypt, Bug Report

Jul 3 2017

im0nde added a comment to T3240: Pinentry takes long to appear.

Addition 2 [Workaround]:

Jul 3 2017, 2:47 PM · Bug Report
im0nde added a comment to T3240: Pinentry takes long to appear.

when I run tail -f agent,log while executing the echo command these are the last lines that are printed to the file before the wait:

Jul 3 2017, 2:24 PM · Bug Report
gouttegd added a comment to T2923: trust signature domain restrictions don't work.

The cause of the regression may actually not be in GnuPG's code.

Jul 3 2017, 1:54 PM · gnupg (gpg14), Bug Report
im0nde added a comment to T3240: Pinentry takes long to appear.
❯ gpg --version                                                               ⏎
gpg (GnuPG) 2.1.21
libgcrypt 1.7.8
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Jul 3 2017, 1:07 PM · Bug Report
werner added a project to T3240: Pinentry takes long to appear: Info Needed.

What version of GnuPG are you using? Standard upstream or from a distribution?

Jul 3 2017, 12:56 PM · Bug Report
werner added a comment to T2923: trust signature domain restrictions don't work.

We need to find out when this regression happened. Back when David implemented trust signatures he ran tests with the PGP folks to make sure our implementation are compatible. This is why I call this a regression.

Jul 3 2017, 12:45 PM · gnupg (gpg14), Bug Report
justus added a comment to T2135: Keyring locking on Windows broken.

No I don't recall any such problems, sorry.

Jul 3 2017, 11:52 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
marcus removed projects from T2923: trust signature domain restrictions don't work: gnupg, gnupg (gpg20), gnupg (gpg14).
Jul 3 2017, 11:07 AM · gnupg (gpg14), Bug Report
im0nde updated the task description for T3240: Pinentry takes long to appear.
Jul 3 2017, 2:20 AM · Bug Report
jcross updated the task description for T3240: Pinentry takes long to appear.
Jul 3 2017, 1:55 AM · Bug Report

Jul 2 2017

haskelaari created T3242: [ptach] libgpg-error fails to cross-compile from x86_64-pc-linux-gnu to ia64-unknown-linux-gnu.
Jul 2 2017, 2:12 PM · patch, Bug Report
marcus added a comment to T2876: Outlook hangs with any crypto function.

Can you please provide more information about the versions you are using?

Jul 2 2017, 12:48 PM · Bug Report, gpgol
marcus merged T1337: No mention of --default-cert-check-level in man into T2823: generate web-based manpage from latest release.
Jul 2 2017, 12:46 PM · Bug Report, gnupg
marcus closed T2296: gpg4win -- Kleopatra doesn't work on Windows 7, 64bit as Invalid.

I just tried with Windows 7 DE SP1 and GPG4Win 2.3.3 and it just worked fine.

Jul 2 2017, 12:04 PM · Bug Report, gpg4win
gouttegd added a comment to T2923: trust signature domain restrictions don't work.

For information, this issue was also discussed on both gnupg-user and gnupg-devel back in january 2017. I mention it here for reference.

Jul 2 2017, 12:34 AM · gnupg (gpg14), Bug Report

Jul 1 2017

marcus added a comment to T2143: Interactive passwd command doesn't work if passphrase-file is set.

Well, I closed it as invalid because werner asked for more info a year ago and there was no response (at least none that made it into the bug tracker). If there is still an issue, maybe you can describe it in more detail and reopen the ticket. Thanks!

Jul 1 2017, 10:23 PM · Info Needed, gnupg, Bug Report
sdaoden added a comment to T2143: Interactive passwd command doesn't work if passphrase-file is set.

Oh, this has been fixed? Sorry, i don't think i got any message from this, i have changed my e-mail address now.

Jul 1 2017, 9:59 PM · Info Needed, gnupg, Bug Report
marcus closed T2143: Interactive passwd command doesn't work if passphrase-file is set as Invalid.
Jul 1 2017, 3:22 PM · Info Needed, gnupg, Bug Report
marcus closed T839: GPGOl silently leaves messages decrypted on Outlook 2007 as Resolved.
Jul 1 2017, 3:19 PM · gpg4win, Info Needed, gpgol, Bug Report
marcus closed T1940: GpgOL plugin somehow causes Outlook not to maintain received message date when copying messages in Outlook as Wontfix.

Thanks for reporting this, but there isn't really anything we can do about it for several reasons, one is that we don't have Symantec Enterprise Vault to try to reproduce it.

Jul 1 2017, 3:18 PM · Bug Report, gpg4win
marcus merged T2093: agent confirm default into T2265: SSH confirmation with gpg-agent on Windows has the Allow button as the default action.
Jul 1 2017, 2:51 PM · Bug Report, gpg4win
marcus closed T2247: inst_gpgol = false ha no affect as Invalid.
Jul 1 2017, 2:48 PM · Info Needed, Bug Report, gpg4win
marcus updated subscribers of T2135: Keyring locking on Windows broken.

@werner The backport to 2.0 didn't happen, I think. Is this still relevant. @justus Do you recall any more problems in the tests?

Jul 1 2017, 2:43 PM · Bug Report, gpg4win, Windows, gnupg, Windows 32
marcus added a comment to T2251: Tests not working if build folder path longer than 81 character.

Is this still an issue?

Jul 1 2017, 2:38 PM · Bug Report, gnupg
marcus closed T2231: gpgsm has --prefer-system-dirmngr, but system-wide dirmngr is deprecated as Resolved.

The passage has been removed from the dirmngr man page, and I marked the gpgsm option as obsolete.

Jul 1 2017, 2:35 PM · Documentation, Bug Report, gnupg
marcus closed T2148: dirmngr fails when started from gpg2 --homedir <something> as Resolved.

This works now, there have been many changes in how homedir is handled since then. For example 70a8584ec4389209762eb65bb77f20f7881577be and aab8a0b05292b0d06e3001a0b289224cb7156dbd, among many others.

Jul 1 2017, 2:13 PM · gnupg, Bug Report, dirmngr
marcus closed T2224: Signature Corrupt or Invalid as Invalid.

Thanks for letting us know, but there is nothing we can do about it, so I am closing it here.

Jul 1 2017, 1:56 PM · Bug Report, gpg4win
marcus closed T1963: ldap keyserver communication error as Invalid.
Jul 1 2017, 1:54 PM · Fedora, gnupg (gpg14), Bug Report, gnupg
werner added a comment to T1396: Subkey expiring breaks other subkeys.

That's fine. The 2.0 branch will reach EOL in 6 months and we will
probably only do a last maintenance release. No need to backport this
fix, though.

Jul 1 2017, 12:19 PM · Too Old, Bug Report, gnupg
gniibe triaged T3239: selecting openpgp failed: Operation not supported by device as Normal priority.
Jul 1 2017, 2:40 AM · Bug Report
gniibe claimed T3239: selecting openpgp failed: Operation not supported by device.

"gpg: selecting openpgp failed: Operation not supported by device" means that gpg tried to access smartcard (expecting OpenPGP card), but it failed.

Jul 1 2017, 1:45 AM · Bug Report
lovetox created T3241: PGP Key Generator doesnt respect RFC4880.
Jul 1 2017, 1:06 AM · Not A Bug

Jun 30 2017

marcus added a comment to T1396: Subkey expiring breaks other subkeys.

Btw, if you want to use the test script, you have to use "gpg2 --keyid-format short".

Jun 30 2017, 10:56 PM · Too Old, Bug Report, gnupg
marcus closed T1396: Subkey expiring breaks other subkeys as Wontfix.

I have verified that it works fine in 2.1.21. I did not test 2.0.30, but that's very old, just use the latest 2.1.x version. gpg 1.4 also only receives critical fixes.

Jun 30 2017, 10:55 PM · Too Old, Bug Report, gnupg
marcus closed T1735: No NEED_PASSPHRASE in batch mode as Invalid.

You should really use GPGME.

Jun 30 2017, 8:39 PM · Bug Report, gnupg
marcus closed T1952: gpg 1.4 interactions between --passphrase-fd=0 and --use-agent are confused/confusing as Wontfix.

I don't think we want any behavioral changes to gpg 1.4 anymore. And in gpg2 all of this is different (use-agent is mandatory, passphrase-fd only used with batch).

Jun 30 2017, 8:34 PM · Bug Report, gnupg, gpgagent
marcus closed T1759: gnupg 2.1 regression: cannot use OpenPGP card for signing as Invalid.

No feedback for 2 years.

Jun 30 2017, 8:27 PM · Info Needed, Bug Report, gnupg
marcus added a comment to T1948: unintuitive behavior when clearing or setting unsecure passphrase.

Still an issue in gpg 2.1.21.

Jun 30 2017, 8:25 PM · Bug Report, In Progress, gnupg
im0nde created T3240: Pinentry takes long to appear.
Jun 30 2017, 5:57 PM · Bug Report
marcus closed T1350: libassuan tests 'pipeconnect' and 'fdpassing' dump core on Solaris 10 amd64 (only!) as Invalid.

I could not reproduce this on Solaris 11.3 amd64 and gcc 4.8, using CFLAGS="-m64 -O2". If you have more information how to reproduce this, please reopen.

Jun 30 2017, 5:49 PM · Bug Report
marcus closed T1212: Test fdpassing fails in libassuan 2.0.0 on Solaris 9 as Resolved.

Seems to work fine on Solaris 11.3 and gcc 4.8.

Jun 30 2017, 5:43 PM · gnupg, Bug Report
marcus changed the status of T3033: bug: dirmngr latches SRV port cross-scheme from Open to Testing.

I added a new task status "Testing".

Jun 30 2017, 4:35 PM · Restricted Project, gnupg (gpg22), Bug Report, dirmngr
DavidHuang61 created T3239: selecting openpgp failed: Operation not supported by device.
Jun 30 2017, 7:00 AM · Bug Report

Jun 29 2017

werner added a comment to T3033: bug: dirmngr latches SRV port cross-scheme.

On Wed, 28 Jun 2017 15:47, noreply@dev.gnupg.org said:

What tests do you want to be done?
Jun 29 2017, 6:04 PM · Restricted Project, gnupg (gpg22), Bug Report, dirmngr
marcus closed T1048: link to "Gnupg-commits Archives" broken as Resolved.

Fixed the PUBLIC_ARCHIVE_URL setting in mm_cfg.py. I have no idea why the other archive links worked.

Jun 29 2017, 3:05 PM · Bug Report, gpgweb

Jun 28 2017

marcus closed T2099: GPA on Lubuntu 15.04 shows no keys. as Invalid.
Jun 28 2017, 5:22 PM · Info Needed, Bug Report, gpa
marcus closed T2005: Unexpected error at gpafileencryptop.c:305: Not implemented as Invalid.
Jun 28 2017, 5:21 PM · Info Needed, Bug Report, gpa
marcus closed T1992: pinentry in text mode is skewed when using PuTTY and GNU screen as Invalid.
Jun 28 2017, 5:19 PM · Bug Report, Debian, pinentry
marcus merged T1561: configure: --with-libgpg-error-prefix doesn't impact includes into T1467: libksba's configure script reports "--with-libgpg-error-prefix", expects "--with-gpg-error-prefix".
Jun 28 2017, 5:11 PM · Bug Report, libksba
marcus closed T1523: gpg.exe does not work with enigmail as Invalid.

According to the linked discussion forum, this was a misconfiguration.

Jun 28 2017, 4:58 PM · Bug Report, gpg4win
marcus closed T2114: gpa --disable-x509 as Invalid.

No response.

Jun 28 2017, 4:25 PM · Bug Report, gpa, gpgagent
marcus closed T1568: General Error: Library Returned Unexpected Error as Invalid.

No response for years.

Jun 28 2017, 4:24 PM · Info Needed, Bug Report, gpa, gpg4win
marcus closed T1660: Wrong encoding in Portuguese translation as Resolved.

Fixed in b00cf0913243ad5432e4cb859146d88b6691f9a3.

Jun 28 2017, 4:16 PM · Bug Report, gpgex
marcus closed T1570: 404 error on rss feed as Resolved.
Jun 28 2017, 4:14 PM · Bug Report, gpgweb
marcus closed T1385: Installation Gpg4win 2.1.0 W7/64 breaks Outlook 2003 as Invalid.

Please reopen if this is still an issue with the latest version of gpg4win.

Jun 28 2017, 4:06 PM · End Of Life, gpgol, Bug Report
marcus lowered the priority of T1333: GPGSM rejects OCSP responder cert without keyUsage from Normal to Low.
Jun 28 2017, 4:05 PM · Bug Report, gnupg
marcus closed T1314: GPGOL 1.1.2 in GPG4WIN 2.1 RC1 does not show up in Outlok 2003 as Invalid.

Please reopen if it can be reproduced with a recent version of gpg4win.

Jun 28 2017, 4:04 PM · End Of Life, Bug Report, gpgol
marcus added a comment to T3033: bug: dirmngr latches SRV port cross-scheme.

What tests do you want to be done?

Jun 28 2017, 3:47 PM · Restricted Project, gnupg (gpg22), Bug Report, dirmngr
J0hnD1az added a comment to T3224: After decrypting large (5.5GB) zip file, the zip is not a valid archive.

Which tool did you use: gpg or gpgsm? <== In-house developed Web Service that call gnupg to decrypt or encrypt

Jun 28 2017, 3:35 PM · Info Needed, Bug Report