Page MenuHome GnuPG

Bug ReportBugs
ActivePublic

Members

  • This project does not have any members.
  • View All

Recent Activity

Yesterday

ametzler1 created T7670: updated nl.po for gnupg 2.4.
Sat, May 31, 3:29 PM · i18n, gnupg, Bug Report

Fri, May 30

ikloecker changed the status of T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0 from Open to Testing.

Do I understand correctly that this bug is then automatically done/fixed?

It depends on how the version comparison works. We may have to change the code to extract the version number (e.g. 5.0.0) from the version string.

Fri, May 30, 11:30 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

I forgot to mention that gpgrt has an API to compare version numbers in the same way gpgconf and all gnupg components do it; this should be somewhat similar to sort -V

Fri, May 30, 11:23 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

BTW, if you append a beta string the thing works as well. Thus with an development version for 4.4.2 we would get a 'newer' state:

Fri, May 30, 11:19 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

The version file is locally cached and updated from time to time unless that feature is disabled.
An update can be forced using

Fri, May 30, 11:15 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

Re: pipe2: In gpgme_io_pipe we set FD_CLOEXEC only for one end of the pipe. Thus simply using pipe2 would change the behaviour.

Fri, May 30, 11:09 AM · golang, gpgme, Bug Report
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

By the way, Kleopatra uses GpgME::SwdbResult::query() which I expect to do what you propose.

Fri, May 30, 11:00 AM · Bug Report, gpd5x, kleopatra
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

First, gpgconf doesn't help with parsing a version string like gpg4win-5.0.0-beta190 which is what I was talking about. Once we have extracted "gpg4win" and "5.0.0" we could use gpgconf. ...if it worked as documented in the man page. I don't understand this:

$ gpgconf --query-swdb gpg4win 4.3.0
gpg4win:4.3.0:-::32849:::::::
Fri, May 30, 10:56 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

This is all done by gpgconf like here:

Fri, May 30, 9:22 AM · Bug Report, gpd5x, kleopatra
gniibe added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

Here is a hypothetical application which may have similar problem.
(1) It is a multi threaded application using gpgme, forking another process (possibly, exec).
(2) One of threads invokes gpgme_new, gpgme_op_import and gpg_op_verify.
(3) When the control goes to gpgme_op_* then gpgme_io_spawn by a thread A, another thread B forks a process.
(3-1) While the thread A is polling pipe I/O, forked process holds pipe file descriptors too.
(3-2) Until the forked process exists, pipe I/O polling by the thread A continues (because pipe's other end is still active).

Fri, May 30, 7:06 AM · golang, gpgme, Bug Report
collinfunk added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

There is FD_CLOFORK on Solaris 11.4 as well. It is a part of POSIX-1.2024, but who knows how long until that becomes common.

Fri, May 30, 5:05 AM · golang, gpgme, Bug Report
gniibe added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

I don't know if it is related to this particular case, but I found a possible race condition in _gpgme_io_pipe.
Between pipe and fcntl with FD_CLOEXEC, another thread may fork a process which keeps running.
It would be good to use pipe2 here:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pipe.html

Fri, May 30, 4:46 AM · golang, gpgme, Bug Report

Thu, May 29

gniibe added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

Another possible cause is... gpgme uses closefrom in GNU C library, if available. if it doesn't work well, it would be possible invoked gpg keeps waiting its input.

Thu, May 29, 11:02 AM · golang, gpgme, Bug Report
gniibe added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

Here is my observation.

Thu, May 29, 9:11 AM · golang, gpgme, Bug Report

Wed, May 28

aheinecke lowered the priority of T4836: GpgOL modifies PGP/Inline email messages stored in the server from High to Low.

Thank you for the detailed report.

We recently had a similar problem with S/MIME Mails. T4543 I think that we can apply the same fix we did for S/MIME also for OpenPGP. So I give this high priority as I think that this can be easily fixed and is a big problem in mixed environments.

Wed, May 28, 10:58 PM · gpgol, Bug Report
aheinecke renamed T4836: GpgOL modifies PGP/Inline email messages stored in the server from GpgOL sometimes modifying email messages stored in the server to GpgOL modifies PGP/Inline email messages stored in the server.
Wed, May 28, 10:52 PM · gpgol, Bug Report
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Do I understand correctly that this bug is then automatically done/fixed?

Wed, May 28, 9:35 PM · Bug Report, gpd5x, kleopatra
aheinecke added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

I do not think that this is the only place where such an issue occurs. Maybe we should make the documentation clearer about context key reuse. But the context is specifically designed to cache information about a key, so as to avoid memory overhead. I learned early on that its best for each new operation to use a new context. A context is basically an instance of gpg or gpgsm. So you start one process, ask it for a keylist, keep the process running, start another process, modify the key database, and then ask the first process again about his worldview. Either the first process is a bit confused because it has read data and then that data changed (what happens here) or it has no idea about the change since it was efficient and only read the database once. But here in this example you should be able to reproduce this also by making any other modifications to the key, adding other subkeys, userids etc. That GPGME even notices the secret key is more of a side effect of how the programming works because the GPGME gpg process will ask the gpg-agent (so a third process).

Wed, May 28, 9:19 PM · gnupg, gpgme, Bug Report
TobiasFella added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Note: The Kleopatra in upcoming versions of Gpg4win 5 will have AboutData::version set to gpg4win-5.0.0 (or gpg4win-5.0.0-beta190 for beta versions). See T7666: Kleopatra: Rework versioning.

Wed, May 28, 3:45 PM · Bug Report, gpd5x, kleopatra

Tue, May 27

collinfunk added a comment to T7667: gpg-agent fails to build on Cygwin..

Thanks, that was the only issue building there.

Tue, May 27, 6:02 PM · Cygwin, gpgagent, Bug Report
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Note: The Kleopatra in upcoming versions of Gpg4win 5 will have AboutData::version set to gpg4win-5.0.0 (or gpg4win-5.0.0-beta190 for beta versions). See T7666: Kleopatra: Rework versioning.

Tue, May 27, 5:26 PM · Bug Report, gpd5x, kleopatra
werner assigned T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0 to TobiasFella.

This should compare the gpg4win version number:

Tue, May 27, 4:34 PM · Bug Report, gpd5x, kleopatra
werner triaged T7657: Kleopatra: Refresh OpenPGP Certificates doesn't respect WKD setting as High priority.
Tue, May 27, 4:30 PM · Feature Request, gpd5x, kleopatra
werner triaged T7658: Okular: Problems with smime signatures as Normal priority.
Tue, May 27, 4:30 PM · Bug Report, gpd5x, okular
werner triaged T7660: GPGME invocation by cri-o hangs on gpgme_op_verify as Normal priority.
Tue, May 27, 4:29 PM · golang, gpgme, Bug Report
sj98ta added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

I updated the github issue. The suggested change seems to have had no effect.

Tue, May 27, 4:22 PM · golang, gpgme, Bug Report
sj98ta added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

Thank you @alexk

Tue, May 27, 2:56 PM · golang, gpgme, Bug Report
alexk added a comment to T7660: GPGME invocation by cri-o hangs on gpgme_op_verify.

I made a comment on github.

Tue, May 27, 1:43 PM · golang, gpgme, Bug Report
werner closed T7667: gpg-agent fails to build on Cygwin. as Resolved.

Please re-open if you find other Cygwin related build problems.

Tue, May 27, 11:59 AM · Cygwin, gpgagent, Bug Report
werner added a comment to T7667: gpg-agent fails to build on Cygwin..

You know that Cygwin is not supported but if that is the only place it should not arm to fix it.

Tue, May 27, 11:09 AM · Cygwin, gpgagent, Bug Report
collinfunk added projects to T7667: gpg-agent fails to build on Cygwin.: gpgagent, Cygwin.
Tue, May 27, 6:42 AM · Cygwin, gpgagent, Bug Report
collinfunk created T7667: gpg-agent fails to build on Cygwin..
Tue, May 27, 6:41 AM · Cygwin, gpgagent, Bug Report
gniibe changed the status of T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer from Open to Testing.
Tue, May 27, 3:36 AM · Bug Report

Mon, May 26

collinfunk added a comment to T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer.

Thanks for the quick fix. I feel a bit silly for not notcing that macro myself...

Mon, May 26, 7:56 PM · Bug Report
werner closed T7662: GPG's uncompress_ecc_q_in_canon_sexp reads past a constant string into rodata as Resolved.

Fixed in all branches but there is no potential for exploiting. See also gnupg-devel@ ML.

Mon, May 26, 6:16 PM · Bug Report
werner triaged T7663: Certificated signed using SHA-1 isn't trusted, but needs --force-sign-key to re-sign. as Low priority.

This should do the trick (master) but have not yet tested it:

Mon, May 26, 6:07 PM · gnupg24, gnupg26, Feature Request
ikloecker closed T7665: gpgmepp GIT head build-error as Resolved.

Fixed. Thanks for the report!

Mon, May 26, 10:18 AM · gpgmepp, Bug Report
ikloecker claimed T7665: gpgmepp GIT head build-error.
Mon, May 26, 9:43 AM · gpgmepp, Bug Report
gniibe changed the status of T5964: gnupg should use the KDFs implemented in libgcrypt, a subtask of T6191: FIPS: Supporting running FIPS enabled machine, from Open to Testing.
Mon, May 26, 6:32 AM · gnupg24, FIPS, Bug Report
gniibe added a comment to T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer.

Thank you.

Mon, May 26, 4:32 AM · Bug Report
gniibe claimed T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer.
Mon, May 26, 1:54 AM · Bug Report

Sun, May 25

ametzler1 created T7665: gpgmepp GIT head build-error.
Sun, May 25, 2:34 PM · gpgmepp, Bug Report
ukleinek added a comment to T7663: Certificated signed using SHA-1 isn't trusted, but needs --force-sign-key to re-sign..

Maybe related:

Sun, May 25, 12:08 AM · gnupg24, gnupg26, Feature Request

Sat, May 24

collinfunk created T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer.
Sat, May 24, 9:10 PM · Bug Report
ukleinek created T7663: Certificated signed using SHA-1 isn't trusted, but needs --force-sign-key to re-sign..
Sat, May 24, 7:53 PM · gnupg24, gnupg26, Feature Request
collinfunk created T7662: GPG's uncompress_ecc_q_in_canon_sexp reads past a constant string into rodata.
Sat, May 24, 8:46 AM · Bug Report

Fri, May 23

werner closed T7506: GnuPG: Error when adding ECDSA subkey in batch mode with quick-add-key "Wrong key usage" as Resolved.
Fri, May 23, 11:59 AM · gnupg26, gnupg24, Bug Report
gniibe closed T7457: gpg --full-gen-key doesn't show list of keys on card (regression) as Resolved.
Fri, May 23, 10:18 AM · gnupg26, gnupg24, Bug Report

Thu, May 22

alexk merged task T7661: GpgEX: encrypting a file with umlaut in the name results in an error into T6727: GpgEX: Unicode in file or foldername causes error.
Thu, May 22, 5:22 PM · gpd5x, Windows, Bug Report, gpgex, g10code
alexk created T7661: GpgEX: encrypting a file with umlaut in the name results in an error.
Thu, May 22, 5:12 PM · gpd5x, Windows, Bug Report, gpgex, g10code