Page MenuHome GnuPG
Feed Advanced Search

Jul 12 2017

aheinlein added a comment to T3270: No reasonable error codes on decryption failure.

I am using Debian 9 with the packaged versions. For gnupg this is 2.1.18.

Jul 12 2017, 1:31 PM · gpgme, Bug Report
werner added a comment to T3270: No reasonable error codes on decryption failure.

@aheinlein we need to know the gnupg version you are using with GPGME.

Jul 12 2017, 11:47 AM · gpgme, Bug Report
marcus added a comment to T3258: clean up note on bug reporting form.

There are no team encryption keys, that's the problem. So there is at least a dependency between the tasks, as we can't document what we don't have.

Jul 12 2017, 3:36 AM · gpgweb, dev.gnupg.org, Bug Report
marcus added a subtask for T3258: clean up note on bug reporting form: T3074: key management for security@gnupg.org.
Jul 12 2017, 3:35 AM · gpgweb, dev.gnupg.org, Bug Report
dkg reopened T3258: clean up note on bug reporting form as "Open".

I don't see how this duplicates T3074. If the web form is going to encourage people to ask for the team's encryption keys, it should just provide the encryption keys directly.

Jul 12 2017, 3:32 AM · gpgweb, dev.gnupg.org, Bug Report
dkg added a comment to T3257: dirmngr cannot set port for nameserver.

Agreed, i think the OP is asking for X when he wants Y, so that makes this request a little bit strange.

Jul 12 2017, 12:22 AM · Feature Request, dirmngr

Jul 11 2017

marcus closed T2049: conflicting pkg-config detection and initialization as Resolved.

Fixed in 6053cb4f. The third patch was obsolete due to use of FIND_QT macro.

Jul 11 2017, 9:04 PM · Gentoo, Bug Report, pinentry
wiz added a comment to T2919: fix gpgme/gpgsm pipe server session with use_descriptor_passing (was: mutt + gpgme problems with some Outlook S/MIME emails).

I've since tried neomutt-20170707 which includes stbuehler's patch, but I see the same error cases as before.

Jul 11 2017, 3:43 PM · gpgme, Bug Report
justus added a comment to T3257: dirmngr cannot set port for nameserver.

Note that the documentation clearly says that --nameserver expects an ip address. Now we could make it accept a port too, but that would not make the OP happy, as he wants to talk to localhost, but in tor mode, all dns requests are routed through tor (this is actually one of the main motivations for using a custom DNS resolver).

Jul 11 2017, 2:57 PM · Feature Request, dirmngr
justus closed T3240: Pinentry takes long to appear as Invalid.
In T3240#99654, @im0nde wrote:

Neverthenless, I would be interested in other solutions that allow me to keep gnome-keyring installed alongside, as I would like to use it for other applications.

Jul 11 2017, 2:38 PM · Bug Report
justus triaged T3270: No reasonable error codes on decryption failure as Normal priority.

This is not specific to Python, and it may not even be a bug in GPGME, but in gpg. Needs some more investigation.

Jul 11 2017, 12:34 PM · gpgme, Bug Report
justus closed T3271: Expose recipients on decryption failure as Resolved.

Fixed in 1e68f93dc547ae75b921e43db35e3599de92e2cb.

Jul 11 2017, 12:30 PM · gpgme, Python, Bug Report
justus claimed T3271: Expose recipients on decryption failure.
Jul 11 2017, 10:37 AM · gpgme, Python, Bug Report
aheinlein created T3271: Expose recipients on decryption failure.
Jul 11 2017, 10:27 AM · gpgme, Python, Bug Report
aheinlein created T3270: No reasonable error codes on decryption failure.
Jul 11 2017, 10:24 AM · gpgme, Bug Report

Jul 10 2017

lovetox added a comment to T3263: GPGME: Python bindings dont work after build.

Thanks, LD_LIBRARY_PATH solved the problem

Jul 10 2017, 5:28 PM · Python, gpgme, Bug Report
justus closed T3263: GPGME: Python bindings dont work after build as Invalid.

This is a bug tracker, not a support forum.

Jul 10 2017, 4:47 PM · Python, gpgme, Bug Report
werner triaged T3263: GPGME: Python bindings dont work after build as Normal priority.
Jul 10 2017, 4:21 PM · Python, gpgme, Bug Report
werner assigned T3263: GPGME: Python bindings dont work after build to justus.
Jul 10 2017, 4:20 PM · Python, gpgme, Bug Report
werner closed T3259: argparse.c (optfile_parse): Off-by-one-error without a trailing newline. as Wontfix.

That is a matter of taste. A line requires a LF - many tools even ignore the last line or print a warning for a missing final LF. Not having a final LF is a bad idea.

Jul 10 2017, 4:18 PM · Bug Report
steve created T3267: scdaemon PC/SC OPEN failed: sharing violation (0x8010000b).
Jul 10 2017, 3:18 PM · FAQ, scd
marcus edited projects for T2019: Order of magnitude degradation in performance in gpg2 cf gpg, added: Stalled; removed gnupg (gpg20).
Jul 10 2017, 10:23 AM · Stalled, Bug Report, gnupg
marcus edited projects for T1938: --list-sigs on a keybox is extremely slow, added: Stalled; removed In Progress.
Jul 10 2017, 10:23 AM · gnupg, Bug Report
marcus added a comment to T1938: --list-sigs on a keybox is extremely slow.

We have to check what happens here, because list-sigs should be fast.

Jul 10 2017, 10:22 AM · gnupg, Bug Report

Jul 8 2017

lovetox created T3263: GPGME: Python bindings dont work after build.
Jul 8 2017, 2:48 AM · Python, gpgme, Bug Report

Jul 7 2017

justus assigned T3260: agent problem during upgrade to aheinecke.
Jul 7 2017, 11:37 AM · gpg4win, Bug Report
crazycasta added a comment to T2901: --with-fingerprint does not show fingerprints anymore.

Yes, please please raise the priority on this. I just spent 15-30 minutes looking through tons of emails on lists saying to use --with-fingerprints and wondering what the heck was wrong with the people posting that until I saw this bug. Please raise priority, please fix.

Jul 7 2017, 7:01 AM · FAQ, Not A Bug, gnupg
marcus closed T1998: Can't use extended characters in passphrase as Invalid.
Jul 7 2017, 1:39 AM · pinentry, Not A Bug, Bug Report, gnupg

Jul 6 2017

kjathome created T3260: agent problem during upgrade.
Jul 6 2017, 5:53 PM · gpg4win, Bug Report
marcus merged task T3258: clean up note on bug reporting form into T3074: key management for security@gnupg.org.
Jul 6 2017, 3:01 PM · gpgweb, dev.gnupg.org, Bug Report
marcus added a comment to T3258: clean up note on bug reporting form.

I fixed the typo. The actual process is the same as described in https://www.gnupg.org/documentation/bts.html, see also T3074.

Jul 6 2017, 3:01 PM · gpgweb, dev.gnupg.org, Bug Report
neal added a comment to T2019: Order of magnitude degradation in performance in gpg2 cf gpg.

The sqlite backend was a little experiement that I did and it will not be merged.

Jul 6 2017, 1:43 PM · Stalled, Bug Report, gnupg
jukivili added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

I did some experimenting and clang SIGILL does not trigger with commonly used, but non-conforming, variable-length object with "struct hack", as below:

Jul 6 2017, 1:22 PM · clang, Ubuntu, libgcrypt, Bug Report
justus closed T3253: Pinentry 'insert card' dialogue is not a dialogue; does not float as Resolved.
Jul 6 2017, 11:46 AM · pinentry, Bug Report
justus triaged T3257: dirmngr cannot set port for nameserver as Wishlist priority.
Jul 6 2017, 11:45 AM · Feature Request, dirmngr
justus assigned T3258: clean up note on bug reporting form to marcus.
Jul 6 2017, 11:44 AM · gpgweb, dev.gnupg.org, Bug Report
Mento created T3259: argparse.c (optfile_parse): Off-by-one-error without a trailing newline..
Jul 6 2017, 10:09 AM · Bug Report
grumpycat84 added a comment to T3256: AIX: libgcrypt-1.7.8 compile errors.

applied the following patch and the package built successfully. thank you!

Jul 6 2017, 9:54 AM · AIX, Bug Report
dkg created T3258: clean up note on bug reporting form.
Jul 6 2017, 2:06 AM · gpgweb, dev.gnupg.org, Bug Report
dkg created T3257: dirmngr cannot set port for nameserver.
Jul 6 2017, 2:02 AM · Feature Request, dirmngr

Jul 5 2017

werner added a project to T3256: AIX: libgcrypt-1.7.8 compile errors: AIX.
Jul 5 2017, 8:26 PM · AIX, Bug Report
werner changed the status of T3256: AIX: libgcrypt-1.7.8 compile errors from Open to Testing.

Oh well, the usual IBM enum/int problems. It bugs me since the OS/2 days. I am not sure why you experienced it only now. One of the wrong return types is there for ages. I pushed fixes for master and 1.7.

Jul 5 2017, 8:22 PM · AIX, Bug Report
grumpycat84 created T3256: AIX: libgcrypt-1.7.8 compile errors.
Jul 5 2017, 3:48 PM · AIX, Bug Report
stbuehler added a comment to T2919: fix gpgme/gpgsm pipe server session with use_descriptor_passing (was: mutt + gpgme problems with some Outlook S/MIME emails).

Hi, I found a workaround for neomutt (see https://github.com/neomutt/neomutt/pull/662).

Jul 5 2017, 3:42 PM · gpgme, Bug Report
guilhem added a comment to T1938: --list-sigs on a keybox is extremely slow.
In T1938#99890, @marcus wrote:

It's unclear from the discussion if this issue has been resolved.

Jul 5 2017, 3:39 PM · gnupg, Bug Report
werner added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

With an integer overflow.

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

This is a standard dynamic sized array:

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

Sorry, this is a standard C feature and the only way to have dynamic sized arrays. CLANG simply does not get this pattern right. Grep for pgut001's very comments on such ill behaving compilers (including gcc).

Jul 5 2017, 2:59 PM · clang, Ubuntu, libgcrypt, Bug Report
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