Page MenuHome GnuPG
Feed Advanced Search

Apr 28 2015

werner added a comment to T1958: Use vfork/posix_spawn in gpgme.

Sorry, I don't understand why you have a ENOMEM problem there. You are using
Linux and thus you have copy-on-write which should not lead to such problem.
Right there are some corner cases but I doubt that they kick in here.

What kind garbage collector are you using? Can you check with the guix folks
whether they have a similar problem? IIRC, Guile also uses gpgme

You can't use SIGCHLD in a library.

Apr 28 2015, 1:51 PM · Info Needed, gpgme, Feature Request

Apr 26 2015

ip1981 added a comment to T1958: Use vfork/posix_spawn in gpgme.

My point is not speed of forking, but memory pressure. We have problems with
Nix package manager forking any apps, unless it uses vfork() (either
directly, or indirectly via posix_spawn).

If zombies are the only reason for double forking, there are other ways
around, e. g. ignoring SIGCHLD.

And speaking of bugs, don't we have tests? :-)

Apr 26 2015, 12:55 PM · Info Needed, gpgme, Feature Request
werner added a comment to T1958: Use vfork/posix_spawn in gpgme.

That would be a large change which for sure would introduce a lot of new bugs.
In comparison to other operations required for gpg startup the pissible speedup
between fork and vfork will be minor. In any case vfork is an ugly hack which
is not required on modern OSes with MMU. Using posix_spawn is not possible
because we do double forking.

If you have a real problem with the performance, we should first evaluate the
problem and then find a solution. Thus: Please describe the use case and why
you think that the process creation is the performance hog. GPGME has been
designed to overcome such performance problems by eventually introducing
co-porcesses so to fork gpg only once for many operations. We do this with
gpgsm already but have not yet seen an urgent need to also also change this for
gpg. However, if there is a real need for it we can do that.

Apr 26 2015, 12:03 PM · Info Needed, gpgme, Feature Request

Apr 24 2015

ip1981 added a comment to T1958: Use vfork/posix_spawn in gpgme.

Old plain fork is expensive, even on Linux, maybe because of garbage
collector.

https://github.com/zalora/defnix/commit/987a49aa77be5596ec2a352c1c758bce532b
5818
https://github.com/zalora/nix-
exec/commit/ea6eb396f0fa67df6568e1bf5dada41fb70a6ca2

Apr 24 2015, 5:09 PM · Info Needed, gpgme, Feature Request
werner added a comment to T1958: Use vfork/posix_spawn in gpgme.

Can you give a reason why you need this?

Apr 24 2015, 4:57 PM · Info Needed, gpgme, Feature Request
ip1981 added projects to T1958: Use vfork/posix_spawn in gpgme: Feature Request, gpgme.
Apr 24 2015, 10:23 AM · Info Needed, gpgme, Feature Request

Mar 18 2015

mbarnes added a comment to T1929: GPGME_SIGSUM_KEY_REVOKED not set on revoked key.

Patch attached. I left the previous behavior intact in case it's needed for
backward-compat.

Mar 18 2015, 10:47 PM · gpgme, Bug Report
mbarnes added a comment to T1929: GPGME_SIGSUM_KEY_REVOKED not set on revoked key.

D290: 590_0001-GPGME_SIGSUM_KEY_REVOKED-not-set-on-revoked-key.patch

Mar 18 2015, 10:47 PM · gpgme, Bug Report
mbarnes added a comment to T1929: GPGME_SIGSUM_KEY_REVOKED not set on revoked key.

Mar 18 2015, 10:46 PM · gpgme, Bug Report
mbarnes added projects to T1929: GPGME_SIGSUM_KEY_REVOKED not set on revoked key: Bug Report, gpgme.
Mar 18 2015, 10:46 PM · gpgme, Bug Report

Jan 2 2015

werner added a project to T1795: gpgme-1.5.3 and gnupg-2 (gpgsm) incompatible?: gnupg (gpg20).
Jan 2 2015, 5:27 PM · gnupg (gpg20), gpgme, Bug Report
werner added a comment to T1795: gpgme-1.5.3 and gnupg-2 (gpgsm) incompatible?.

I guess that is possible. gpgsm does not get much attention these days.

Jan 2 2015, 5:27 PM · gnupg (gpg20), gpgme, Bug Report

Dec 26 2014

alonbl set Version to 1.5.3 on T1795: gpgme-1.5.3 and gnupg-2 (gpgsm) incompatible?.
Dec 26 2014, 12:20 AM · gnupg (gpg20), gpgme, Bug Report
alonbl added projects to T1795: gpgme-1.5.3 and gnupg-2 (gpgsm) incompatible?: Bug Report, gpgme.
Dec 26 2014, 12:20 AM · gnupg (gpg20), gpgme, Bug Report

Dec 11 2014

werner added a comment to T1464: key signing in GPGME.

Or use the new --quick-sign-key command ...

Dec 11 2014, 12:03 PM · gpgme, Feature Request
werner closed T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call as Resolved.
Dec 11 2014, 12:02 PM · gpgme, Bug Report, Debian
werner removed a project from T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call: Too Old.
Dec 11 2014, 12:02 PM · gpgme, Bug Report, Debian
werner added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

I assume this is related to T1630 which has been fixed

Dec 11 2014, 12:02 PM · gpgme, Bug Report, Debian
werner removed a project from T706: gpgme does not report errors from gpg: Stalled.
Dec 11 2014, 11:58 AM · Too Old, gpgme, Bug Report
werner closed T706: gpgme does not report errors from gpg as Resolved.
Dec 11 2014, 11:58 AM · Too Old, gpgme, Bug Report
werner added a project to T1454: APPCRASH of gpgme-w32spawn.exe on Windows 7 64 bit: Too Old.
Dec 11 2014, 11:57 AM · Too Old, gpgme, Bug Report
werner closed T1454: APPCRASH of gpgme-w32spawn.exe on Windows 7 64 bit as Resolved.
Dec 11 2014, 11:57 AM · Too Old, gpgme, Bug Report
werner closed T1630: [patch] gpgme still produces zombies if interrupted during waitpid as Resolved.
Dec 11 2014, 11:56 AM · gpgme, Bug Report, KDE
werner added a comment to T1630: [patch] gpgme still produces zombies if interrupted during waitpid.

Fix has been released.

Dec 11 2014, 11:56 AM · gpgme, Bug Report, KDE
werner removed a project from T1630: [patch] gpgme still produces zombies if interrupted during waitpid: Restricted Project.
Dec 11 2014, 11:56 AM · gpgme, Bug Report, KDE
werner added a project to T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11: Info Needed.
Dec 11 2014, 11:55 AM · Info Needed, gpgme, Bug Report
werner removed a project from T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11: Stalled.
Dec 11 2014, 11:55 AM · Info Needed, gpgme, Bug Report
werner closed T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11 as Resolved.
Dec 11 2014, 11:55 AM · Info Needed, gpgme, Bug Report

Nov 19 2014

werner added a project to T1765: Documentation error - trust validation: Documentation.
Nov 19 2014, 10:55 AM · Documentation, Bug Report
remyd59 added projects to T1765: Documentation error - trust validation: Bug Report, gpgme.
Nov 19 2014, 9:27 AM · Documentation, Bug Report

Sep 4 2014

wiz closed T1677: gpgme-1.5.1 build stops asking for gpg-agent as Resolved.
Sep 4 2014, 10:24 AM · gpgme, Bug Report
wiz added a comment to T1677: gpgme-1.5.1 build stops asking for gpg-agent.

I was using 2.0.25 at the time. I've just retried, and 2.0.26 indeed fixes this
problem. Thanks for the hint!

Sep 4 2014, 10:24 AM · gpgme, Bug Report

Sep 3 2014

werner added a comment to T1677: gpgme-1.5.1 build stops asking for gpg-agent.

This is actually a gnupg problem. What version of GnuPG are you using?
GnuPG 2.0.26 creates the home directory even if gpgsm is used first.

Sep 3 2014, 4:52 PM · gpgme, Bug Report

Aug 12 2014

aheinecke closed T1670: GPGME does not parse key id from keyserver when longer than 8 digits as Resolved.
Aug 12 2014, 8:44 PM · gpgme, Bug Report
aheinecke added a comment to T1670: GPGME does not parse key id from keyserver when longer than 8 digits.

I've overlooked your bugreport and opened a very similar one
T1685

Werner has commited a proper fix for this in gpgme master.

Thanks for the report anyway. If I had seen this earlier it would have saved me
some time debugging this and coming to the same conclusion ;-)

Aug 12 2014, 8:44 PM · gpgme, Bug Report
aheinecke removed a project from T1685: gpgme keyserver import incompatible with SKS 1.1.5: Restricted Project.
Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
aheinecke closed T1685: gpgme keyserver import incompatible with SKS 1.1.5 as Resolved.
Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
aheinecke added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

Tested the patch with 1.4.4 on Windows against
vm-keyserver.spline.inf.fu-berlin.de which did not work previously.

Patch is also included in gpg4win now.

Thanks!

Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
werner added a project to T1685: gpgme keyserver import incompatible with SKS 1.1.5: Restricted Project.
Aug 12 2014, 7:00 PM · gpgme, Bug Report, Keyserver
werner added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

There is no guarantee that you will see a keyid at all. The keyid and the
fingerprint are actually different objects and it is only for v4 key format that
you can compute the keyid from the fingerprint. We have to implement this
knowledge into gpgme.

Meanwhile I did this and master does now work as expected. It even returns the
fingerprint if available. You may this with the also enhanced gpgme-tool.

While working on it I also fixed the --search-key thing for gnupg master.

Aug 12 2014, 7:00 PM · gpgme, Bug Report, Keyserver
aheinecke added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

D209: 447_keylist-shortening.patch

Aug 12 2014, 4:31 PM · gpgme, Bug Report, Keyserver
aheinecke added projects to T1685: gpgme keyserver import incompatible with SKS 1.1.5: Keyserver, Bug Report, gpgme.
Aug 12 2014, 4:20 PM · gpgme, Bug Report, Keyserver

Jul 31 2014

wiz added projects to T1677: gpgme-1.5.1 build stops asking for gpg-agent: Bug Report, gpgme.
Jul 31 2014, 11:37 AM · gpgme, Bug Report

Jul 20 2014

werner added a comment to T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11.

Sorry, I don't know what a Basket Note Pad is. Please report there first.

Jul 20 2014, 5:30 PM · Info Needed, gpgme, Bug Report
werner added a project to T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11: Stalled.
Jul 20 2014, 5:30 PM · Info Needed, gpgme, Bug Report

Jul 15 2014

vatbier set Version to libgpgme11-1.4.3-2.mga4 on T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11.
Jul 15 2014, 11:52 PM · Info Needed, gpgme, Bug Report
vatbier added projects to T1673: Basket Note Pads in Mageia 4: locked baskets suffer from multiple repeats of password dialogs because of newer libgpgme11: Bug Report, gpgme.
Jul 15 2014, 11:52 PM · Info Needed, gpgme, Bug Report

Jul 8 2014

kylehuff added a comment to T1670: GPGME does not parse key id from keyserver when longer than 8 digits.

D204: 442_keyserver_keyids.patch

Jul 8 2014, 11:57 PM · gpgme, Bug Report
kylehuff added projects to T1670: GPGME does not parse key id from keyserver when longer than 8 digits: Bug Report, gpgme.
Jul 8 2014, 11:57 PM · gpgme, Bug Report
kylehuff set Version to 1.5.0 on T1670: GPGME does not parse key id from keyserver when longer than 8 digits.
Jul 8 2014, 11:57 PM · gpgme, Bug Report

May 21 2014

werner closed T1502: gpgsm hangs with KMail as Resolved.
May 21 2014, 8:00 AM · gpgme, Bug Report, KDE, Duplicate
werner added a comment to T1502: gpgsm hangs with KMail.

Should be fixed with the current stable GnuPG and GPGME versions.

May 21 2014, 8:00 AM · gpgme, Bug Report, KDE, Duplicate
werner added a comment to T1483: GPGME hangs during make check on Mac.

This has meanwhile been fixed. It actually was a GnuPG Problem.

May 21 2014, 7:59 AM · gpgme, Bug Report
werner removed a project from T1483: GPGME hangs during make check on Mac: Stalled.
May 21 2014, 7:59 AM · gpgme, Bug Report
werner closed T1483: GPGME hangs during make check on Mac as Resolved.
May 21 2014, 7:59 AM · gpgme, Bug Report

Apr 15 2014

werner added a comment to T1630: [patch] gpgme still produces zombies if interrupted during waitpid.

Fixed with commit 2bb2618 for master. Will go into 1.5.0.
Thanks.

Apr 15 2014, 12:29 PM · gpgme, Bug Report, KDE
werner added a project to T1630: [patch] gpgme still produces zombies if interrupted during waitpid: Restricted Project.
Apr 15 2014, 12:29 PM · gpgme, Bug Report, KDE

Apr 9 2014

osidorkin added projects to T1630: [patch] gpgme still produces zombies if interrupted during waitpid: KDE, Bug Report, gpgme.
Apr 9 2014, 8:02 AM · gpgme, Bug Report, KDE
osidorkin added a comment to T1630: [patch] gpgme still produces zombies if interrupted during waitpid.

D193: 427_patch-src_posix-io_c

Apr 9 2014, 8:02 AM · gpgme, Bug Report, KDE

Feb 12 2014

werner closed T1617: GPGME compile error as Resolved.
Feb 12 2014, 8:40 PM · gpgme, Bug Report
werner added a comment to T1617: GPGME compile error.

Fixed with commit f916ab7 to be released with 1.5.0 (hopefully this month)
Workaround is obvious.

Thanks.

Feb 12 2014, 8:40 PM · gpgme, Bug Report

Feb 11 2014

martylee added projects to T1617: GPGME compile error: Bug Report, gpgme.
Feb 11 2014, 4:42 PM · gpgme, Bug Report
martylee set Version to 1.4.3 on T1617: GPGME compile error.
Feb 11 2014, 4:42 PM · gpgme, Bug Report

Oct 24 2013

werner closed T1493: gpgme hungs in test t-verify as Resolved.
Oct 24 2013, 7:45 AM · Duplicate, gpgme, Gentoo, Bug Report
werner removed a project from T1493: gpgme hungs in test t-verify: Restricted Project.
Oct 24 2013, 7:45 AM · Duplicate, gpgme, Gentoo, Bug Report

Sep 18 2013

werner added a comment to T1493: gpgme hungs in test t-verify.

Duplicate of T1535

Sep 18 2013, 8:38 AM · Duplicate, gpgme, Gentoo, Bug Report
werner added a comment to T1493: gpgme hungs in test t-verify.

That is a GnuPG. See T1535.
I just pushed a fix to the 2.0 branch.

Sep 18 2013, 8:38 AM · Duplicate, gpgme, Gentoo, Bug Report
werner added a project to T1493: gpgme hungs in test t-verify: Restricted Project.
Sep 18 2013, 8:38 AM · Duplicate, gpgme, Gentoo, Bug Report
werner added a project to T1493: gpgme hungs in test t-verify: Duplicate.
Sep 18 2013, 8:38 AM · Duplicate, gpgme, Gentoo, Bug Report

Aug 12 2013

dleidert added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

Hm. The process disappears after some time. Maybe it just needs some time to
finish. Maybe not a bug anymore. Please take a look at it yourself.

Aug 12 2013, 10:11 PM · gpgme, Bug Report, Debian
dleidert changed Version from 1.0.2 to 1.4.2 on T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.
Aug 12 2013, 10:07 PM · gpgme, Bug Report, Debian
dleidert reopened T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call as "Open".
Aug 12 2013, 10:07 PM · gpgme, Bug Report, Debian
dleidert added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

Can you please take a look at it again? If I compile long_genkey.c and run it
via ./long_genkey async it leaves a process behind, which should better be killed:

ps aux | grep gpg
dl 7577 7.0 0.0 24416 1924 pts/2 SL 22:05 0:00 gpg
--enable-special-filenames --use-agent --batch --no-sk-comment --lc-messages
de_DE.utf8 --lc-ctype de_DE.utf8 --status-fd 4 --no-tty --charset utf8
--enable-progress-filter --display :0 --ttyname /dev/pts/2 --ttytype xterm
--gen-key -- -&5

Aug 12 2013, 10:07 PM · gpgme, Bug Report, Debian

Jun 18 2013

werner added a comment to T1507: Typo in GPGME documentation: key vs. recp.

Fix in master (ff84d8d). Thanks.

Jun 18 2013, 10:51 AM · gpgme, Bug Report, Documentation
werner closed T1507: Typo in GPGME documentation: key vs. recp as Resolved.
Jun 18 2013, 10:51 AM · gpgme, Bug Report, Documentation

Jun 13 2013

parke added projects to T1507: Typo in GPGME documentation: key vs. recp: Documentation, Bug Report, gpgme.
Jun 13 2013, 6:52 AM · gpgme, Bug Report, Documentation

May 28 2013

werner closed T1504: gpgme: typo in docs: gpgme_sub_key_t should be gpgme_subkey_t as Resolved.
May 28 2013, 10:42 AM · gpgme, Bug Report, patch
werner added a comment to T1504: gpgme: typo in docs: gpgme_sub_key_t should be gpgme_subkey_t.

Thanks.

May 28 2013, 10:42 AM · gpgme, Bug Report, patch
werner lowered the priority of T1502: gpgsm hangs with KMail from High to Normal.
May 28 2013, 10:37 AM · gpgme, Bug Report, KDE, Duplicate
werner added a comment to T1493: gpgme hungs in test t-verify.

See also T1502

May 28 2013, 10:35 AM · Duplicate, gpgme, Gentoo, Bug Report
werner added a project to T1502: gpgsm hangs with KMail: Duplicate.
May 28 2013, 10:34 AM · gpgme, Bug Report, KDE, Duplicate
werner added a comment to T1502: gpgsm hangs with KMail.

Duplicate of T1493

May 28 2013, 10:34 AM · gpgme, Bug Report, KDE, Duplicate
werner added a comment to T1502: gpgsm hangs with KMail.

Please see T1493 - it is very likely the same reasons. I am not abale to
replicate it, though. The workaround is to configure gpgme with
--disable-fd-passing

May 28 2013, 10:34 AM · gpgme, Bug Report, KDE, Duplicate

May 24 2013

HansChristophSteiner added projects to T1504: gpgme: typo in docs: gpgme_sub_key_t should be gpgme_subkey_t: patch, Bug Report, gpgme.
May 24 2013, 8:13 PM · gpgme, Bug Report, patch

May 23 2013

zulan set External Link to https://bugs.kde.org/show_bug.cgi?id=318116 on T1502: gpgsm hangs with KMail.
May 23 2013, 3:25 PM · gpgme, Bug Report, KDE, Duplicate
zulan set Version to 1.4.1 on T1502: gpgsm hangs with KMail.
May 23 2013, 3:25 PM · gpgme, Bug Report, KDE, Duplicate
zulan added projects to T1502: gpgsm hangs with KMail: KDE, Bug Report, gpgme.
May 23 2013, 3:25 PM · gpgme, Bug Report, KDE, Duplicate

May 22 2013

werner added a comment to T1493: gpgme hungs in test t-verify.

The lsof looks as expected.

May 22 2013, 6:29 PM · Duplicate, gpgme, Gentoo, Bug Report
alonbl added a comment to T1493: gpgme hungs in test t-verify.

May 22 2013, 5:29 PM · Duplicate, gpgme, Gentoo, Bug Report
alonbl added a comment to T1493: gpgme hungs in test t-verify.

You mean --disable-fd-passing...

Correct it works.

Attached lsof output for the process when does not work.

I don't think it has to do with hardened kernel... as the initial report was
without. I will try to contact the original user.

May 22 2013, 5:29 PM · Duplicate, gpgme, Gentoo, Bug Report
werner added a comment to T1493: gpgme hungs in test t-verify.

Thanks. GPGME is waiting for an EOF on the fd used to receive data from gpgsm.
The data is send by the GETAUDITLOG command and afaics all data has been
received. There is a one second timeout in the select which you can see at the
end of the log file.

File descriptor passing is used between gpgme and gpgsm which usually works
nice. We have an problem on Mac OS with that for yet unknown reasons. lsof
might give some insight here. I suggest to configure gpgme with
--disable-fd-logging ro check whether this is really the culprit.

What are the special features of the hardened gentoo kernel?

May 22 2013, 5:19 PM · Duplicate, gpgme, Gentoo, Bug Report
werner closed T1440: gpgme_op_encrypt_sign fails with GPG_ERR_INV_VALUE when doing symmetric encryption as Resolved.
May 22 2013, 4:51 PM · gpgme, Bug Report
werner added a comment to T1440: gpgme_op_encrypt_sign fails with GPG_ERR_INV_VALUE when doing symmetric encryption.

Thanks for the patch. I slighly modified it and pushed it to master. Will go
into 1.4.2.

May 22 2013, 4:51 PM · gpgme, Bug Report
alonbl added a comment to T1493: gpgme hungs in test t-verify.

May 22 2013, 4:20 PM · Duplicate, gpgme, Gentoo, Bug Report
alonbl added a comment to T1493: gpgme hungs in test t-verify.

Attached.

May 22 2013, 4:20 PM · Duplicate, gpgme, Gentoo, Bug Report
werner added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

1.0.2 is more than 8 years old. The code chnaged a lot in the meantime. Feel
free to re-open if the problems persists with 1.4.x?

May 22 2013, 2:57 PM · gpgme, Bug Report, Debian
werner closed T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call as Resolved.
May 22 2013, 2:57 PM · gpgme, Bug Report, Debian
werner added a project to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call: Too Old.
May 22 2013, 2:57 PM · gpgme, Bug Report, Debian
werner added a project to T706: gpgme does not report errors from gpg: Too Old.
May 22 2013, 2:54 PM · Too Old, gpgme, Bug Report
werner closed T1030: GPGME reporting End of file (7,16383) for missing CRL for users own key as Resolved.
May 22 2013, 2:53 PM · Too Old, gpgme, Bug Report, kks, S/MIME