Page MenuHome GnuPG
Feed All Stories

Apr 15 2021

gniibe closed T5296: libgpg-error: build failure without threads as Resolved.
Apr 15 2021, 4:18 AM · gpgrt, Bug Report
gniibe closed T5062: gpg: error getting version from 'scdaemon': Forbidden as Resolved.

This task includes multiple issues: two sub-tasks and how-to-use remotely.
Two tasks had been fixed already.
The last one was documented here.
So, closing.

Apr 15 2021, 4:15 AM · Bug Report
gniibe closed T4158: UIF (User Interaction Flag) DO support as Resolved.
Apr 15 2021, 4:09 AM · Restricted Project, Feature Request, scd, gnupg
gniibe triaged T5396: Remove USE_RANDOM_DAEMON support from libgcrypt as Wishlist priority.
Apr 15 2021, 3:57 AM · libgcrypt
l10n daemon script <scripty@kde.org> committed rLIBKLEO3ae432981859: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Apr 15 2021, 3:16 AM
gniibe committed rG283ccbc824d8: po: Update Italian Translation. (authored by Denis).
po: Update Italian Translation.
Apr 15 2021, 3:16 AM
gniibe closed T5390: Italian translation GnuPG 2.3 as Resolved.

Thank you. Merged and pushed.

Apr 15 2021, 3:15 AM · i18n, gnupg (gpg23)

Apr 14 2021

werner triaged T5395: libksba coverity static analysis reports as Normal priority.
Apr 14 2021, 8:59 PM · libksba, Bug Report
Jakuje reopened T5384: pinentry coverity static analysis reports as "Open".

Thank you for applying the provided changes!

Apr 14 2021, 5:44 PM · pinentry, Bug Report
ikloecker committed rLIBKLEO4be125c3540b: Simplify/change result type of KeyResolver and its internal helpers (authored by ikloecker).
Simplify/change result type of KeyResolver and its internal helpers
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOe645923e5e07: Correctly handle mixed protocol mode everywhere (authored by ikloecker).
Correctly handle mixed protocol mode everywhere
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOf6f91597e545: Abort resolution if mandatory overrides conflict with protocol requirement (authored by ikloecker).
Abort resolution if mandatory overrides conflict with protocol requirement
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO531636d17484: Fix result of resolution if mixed protocols are needed but not allowed (authored by ikloecker).
Fix result of resolution if mixed protocols are needed but not allowed
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOd7bbf9769fbb: Remove unused and incomplete member function (authored by ikloecker).
Remove unused and incomplete member function
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOefd5ed706765: Add a few tests for failed resolution (authored by ikloecker).
Add a few tests for failed resolution
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOe92fc1ee058b: Ignore protocol-specific overrides if common overrides are given (authored by ikloecker).
Ignore protocol-specific overrides if common overrides are given
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO5d8d213d62d5: Common overrides override protocol-specific resolution (authored by ikloecker).
Common overrides override protocol-specific resolution
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO610531cd93c3: Add tests verifying that common overrides are used for OpenPGP and S/MIME (authored by ikloecker).
Add tests verifying that common overrides are used for OpenPGP and S/MIME
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO2363f8ffd472: Add some tests for protocol-specific overrides (authored by ikloecker).
Add some tests for protocol-specific overrides
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO4549f8ba127c: Add template specialization of qCompare for GpgME::UserID::Validity (authored by ikloecker).
Add template specialization of qCompare for GpgME::UserID::Validity
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO2b08d0fa121f: Ignore S/MIME certificates given as OpenPGP overrides and vice versa (authored by ikloecker).
Ignore S/MIME certificates given as OpenPGP overrides and vice versa
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO1ccf13eb8f96: Add and update some test keys and certificates (authored by ikloecker).
Add and update some test keys and certificates
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO98b9991fd408: Clean up header includes (authored by ikloecker).
Clean up header includes
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO218d1e071b88: Remove bogus doxygen group start marker (authored by ikloecker).
Remove bogus doxygen group start marker
Apr 14 2021, 5:33 PM
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRA546b2fe25cdf: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 14 2021, 5:26 PM
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRAf881116ad023: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 14 2021, 5:26 PM
gniibe committed rPa87d9e8f89f9: core,emacs,tty,curses: Fix memory leaks, invalid accese, and mistake. (authored by Jakuje).
core,emacs,tty,curses: Fix memory leaks, invalid accese, and mistake.
Apr 14 2021, 12:37 PM
Jakuje created T5395: libksba coverity static analysis reports.
Apr 14 2021, 10:46 AM · libksba, Bug Report
gniibe closed T5384: pinentry coverity static analysis reports as Resolved.

Applied and pushed.

Apr 14 2021, 8:58 AM · pinentry, Bug Report
l10n daemon script <scripty@kde.org> committed rLIBKLEO1a2b5b3ff2e1: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Apr 14 2021, 3:15 AM
gniibe added a comment to T5393: gnupg coverity static analysis reports.

@werner No problem. Just go ahead.

Apr 14 2021, 1:45 AM · gnupg (gpg23), Bug Report

Apr 13 2021

midipix updated midipix.
Apr 13 2021, 9:27 PM
midipix added a comment to T5394: scute: Build failure with slibtool.

Regarding slibtool: I would actually like to have an easier to maintain tool than libtool (of which we use our own version) for GnuPG related software. However, its requirement "the compiler should support -std=c99" is currently a no-starter for libgcrypt and some other libs.

Apr 13 2021, 9:13 PM · toolchain, Feature Request, scute
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

Regarding the identical branches thing: This is on purpose. The function works closely together with another one which will then BUG() out. @Jakuje: If you know some meta comment to attribute this, please let me know.

Apr 13 2021, 9:05 PM · gnupg (gpg23), Bug Report
werner added a comment to T5393: gnupg coverity static analysis reports.

Regarding the identical branches thing: This is on purpose. The function works closely together with another one which will then BUG() out. @Jakuje: If you know some meta comment to attribute this, please let me know.

Apr 13 2021, 7:11 PM · gnupg (gpg23), Bug Report
werner added a comment to T5393: gnupg coverity static analysis reports.

@gniibe: If you don't mind I would like to steal task this from you. I have noticed a few things which could get a little code refresh in addition to the fixes.

Apr 13 2021, 6:57 PM · gnupg (gpg23), Bug Report
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

There is couple of issues that I did not want to propose a patch for, but might require some attention:

Error: IDENTICAL_BRANCHES (CWE-398): [#def28] [important]
gnupg-2.3.0/common/tlv-builder.c:353: identical_branches: The same code is executed regardless of whether "tag < 31" is true, because the 'then' and 'else' branches are identical. Should one of the branches be modified, or the entire 'if' statement replaced?
#  351|     (void)constructed;  /* Not used, but passed for uniformity of such calls.  */
#  352|   
#  353|->   if (tag < 0x1f)
#  354|       {
#  355|         buflen++;

There are also couple of reports about the function default_homedir(), which is supposed to return const char * but in reality, it sometimes allocates memory while callers do not expect it so they do not free:

Error: RESOURCE_LEAK (CWE-772): [#def11]
gnupg-2.2.27/common/homedir.c:477: alloc_fn: Storage is returned from allocation function "default_homedir".
gnupg-2.2.27/common/homedir.c:477: var_assign: Assigning: "newdir" = storage returned from "default_homedir()".
gnupg-2.2.27/common/homedir.c:488: noescape: Resource "newdir" is not freed or pointed-to in "make_absfilename".
gnupg-2.2.27/common/homedir.c:490: leaked_storage: Returning without freeing "newdir" leaks the storage that it points to.
#  488|     the_gnupg_homedir = make_absfilename (newdir, NULL);;
#  489|     xfree (tmp);
#  490|-> }
#  491|   
#  492|
Apr 13 2021, 6:47 PM · gnupg (gpg23), Bug Report
werner added a comment to T4884: PKCS #15 support in gpgsm.

The PKCS#15 support has meanwhile received a major update. Thus we need to test with the other cards again. If there is something special for to do for a certain task, a new subtask should be created.

Apr 13 2021, 6:43 PM · Feature Request, gnupg, scd, S/MIME
werner added a subtask for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner removed a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner added a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:40 PM · Feature Request, gnupg, scd, S/MIME
ikloecker moved T5388: Kleopatra: Search shows all results as uncertified from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 13 2021, 4:07 PM · kleopatra, Restricted Project
ikloecker changed the status of T5388: Kleopatra: Search shows all results as uncertified from Open to Testing.

Should be done

Apr 13 2021, 4:07 PM · kleopatra, Restricted Project
ikloecker moved T5388: Kleopatra: Search shows all results as uncertified from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 13 2021, 4:05 PM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRAa6e582f2f075: Only show key filters with Filtering match context in filter drop down (authored by ikloecker).
Only show key filters with Filtering match context in filter drop down
Apr 13 2021, 3:50 PM
ikloecker committed rKLEOPATRA79288cafa208: Sort the filters in the drop down menu alphabetically (authored by ikloecker).
Sort the filters in the drop down menu alphabetically
Apr 13 2021, 3:49 PM
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

Thank you. The initial run was against olderer version of gnupg (and had one issue in g10/keyedit.c -- see the new patch with fixup). Now I ran it against the version 2.3 and there are couple of more issues to be fixed (rebased on top of already applied changes and the previous commits).

Apr 13 2021, 3:44 PM · gnupg (gpg23), Bug Report
werner closed T5387: Accept key signatures from LDAP servers as Resolved.

Done for 2.2. and 2.3.

Apr 13 2021, 2:56 PM · Feature Request, gnupg (gpg22)
werner committed rG1303b0ed84da: gpg: Do not use self-sigs-only for LDAP keyserver imports. (authored by werner).
gpg: Do not use self-sigs-only for LDAP keyserver imports.
Apr 13 2021, 2:51 PM
werner committed rG6c26e593df51: gpg: Do not use self-sigs-only for LDAP keyserver imports. (authored by werner).
gpg: Do not use self-sigs-only for LDAP keyserver imports.
Apr 13 2021, 2:47 PM
ikloecker committed rLIBKLEObd773449398e: Remove obsolete appearanceFilters (authored by ikloecker).
Remove obsolete appearanceFilters
Apr 13 2021, 2:11 PM
ikloecker committed rLIBKLEOe72bcabff29d: Allow retrieval of match contexts from key filter model (authored by ikloecker).
Allow retrieval of match contexts from key filter model
Apr 13 2021, 2:11 PM
ikloecker committed rLIBKLEOb7bdf555473f: Bump library version (authored by ikloecker).
Bump library version
Apr 13 2021, 2:11 PM
ikloecker committed rLIBKLEO2cc77323cb85: Add appearance filters for expired/revoked, not VS-NfD compliant keys (authored by ikloecker).
Add appearance filters for expired/revoked, not VS-NfD compliant keys
Apr 13 2021, 2:11 PM
ikloecker committed rLIBKLEOeed96dfb810d: Make filters for expired/revoked keys match non-validated keys (authored by ikloecker).
Make filters for expired/revoked keys match non-validated keys
Apr 13 2021, 2:11 PM
xandox added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

Ok.
But`CFLAGS_FOR_BUILD` not mentioned in build rule for mkheader

Apr 13 2021, 1:15 PM · MacOS, Bug Report
ikloecker added a comment to T5217: Kleopatra: Adapt to config changes in GnuPG master.
Apr 13 2021, 11:07 AM · Restricted Project, kleopatra
ikloecker closed T5217: Kleopatra: Adapt to config changes in GnuPG master as Resolved.

Applying changes is fixed.

Apr 13 2021, 11:05 AM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRAda6b8b9f6ac0: Read/write integer config entries depending on their signedness (authored by ikloecker).
Read/write integer config entries depending on their signedness
Apr 13 2021, 11:03 AM
ikloecker reopened T5217: Kleopatra: Adapt to config changes in GnuPG master as "Open".

Reopening because at least a debug build of Kleopatra crashes with an assertion when applying changes.

Apr 13 2021, 10:56 AM · Restricted Project, kleopatra
aheinecke added a comment to T4717: Kleopatra: Changing expiry does not change expiry for subkeys.

Yes I agree it makes sense to have this as an explicit setting to cover both use cases.

Apr 13 2021, 10:23 AM · Restricted Project, kleopatra, gpg4win
ikloecker added a comment to T4717: Kleopatra: Changing expiry does not change expiry for subkeys.

This really depends on the use case. Some people want to extend the lifetime of their whole key. Others explicitly use a long-lived primary key with short lived subkeys. A possible heuristic for the default behavior to propose to the user would be to check whether the current expiry dates of primary key and subkeys are the same or not. The user could still change this proposed default in the dialog that's anyway shown for the new expiry date.

Apr 13 2021, 9:58 AM · Restricted Project, kleopatra, gpg4win
aheinecke added a comment to T5336: Kleopatra: Add expiry for certifications in certify dialog.

Yes the other one was a duplicate, somehow my search didnt find this and I thought I had forgotten to open the issue.

Apr 13 2021, 9:47 AM · kleopatra, Restricted Project
aheinecke merged T5392: Kleopatra: Expiry date for certifications into T5336: Kleopatra: Add expiry for certifications in certify dialog.
Apr 13 2021, 9:47 AM · kleopatra, Restricted Project
aheinecke merged task T5392: Kleopatra: Expiry date for certifications into T5336: Kleopatra: Add expiry for certifications in certify dialog.
Apr 13 2021, 9:47 AM · kleopatra, Restricted Project
werner triaged T5394: scute: Build failure with slibtool as Normal priority.
Apr 13 2021, 8:13 AM · toolchain, Feature Request, scute
gniibe closed T3416: gpg should select available signing key on card (even with -u option) as Resolved.

Done in 2.3.0.

Apr 13 2021, 8:07 AM · Restricted Project, Feature Request, gnupg
gniibe closed T3416: gpg should select available signing key on card (even with -u option), a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), as Resolved.
Apr 13 2021, 8:07 AM · Restricted Project, Feature Request, gnupg
gniibe closed T4695: Remove SERIALNO as an identifier to select keys, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), as Resolved.
Apr 13 2021, 8:06 AM · Restricted Project, Feature Request, gnupg
gniibe closed T4695: Remove SERIALNO as an identifier to select keys as Resolved.

Done in 2.3.0.

Apr 13 2021, 8:06 AM · Restricted Project, Feature Request, gnupg
gniibe closed T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) as Resolved.

Done in 2.3.

Apr 13 2021, 8:05 AM · Restricted Project, Feature Request, gnupg
gniibe committed rGa16f726f9404: common: Fix memory leaks. (authored by Jakuje).
common: Fix memory leaks.
Apr 13 2021, 8:02 AM
gniibe committed rG7cbe29c4fb4f: scd: Fix memory leaks. (authored by Jakuje).
scd: Fix memory leaks.
Apr 13 2021, 8:02 AM
gniibe committed rG51bbd99a3c9b: kbx: Fix memory leak. (authored by Jakuje).
kbx: Fix memory leak.
Apr 13 2021, 8:02 AM
gniibe committed rG4c8be54cc430: tools: Fix memory leaks. (authored by Jakuje).
tools: Fix memory leaks.
Apr 13 2021, 8:02 AM
gniibe added a comment to T5393: gnupg coverity static analysis reports.

Thank you.

Apr 13 2021, 8:02 AM · gnupg (gpg23), Bug Report
gniibe claimed T5393: gnupg coverity static analysis reports.
Apr 13 2021, 7:12 AM · gnupg (gpg23), Bug Report
gniibe closed T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets as Resolved.

Thank you. Applied and pushed.

Apr 13 2021, 6:59 AM · gnupg (gpg23), Bug Report
gniibe committed rGcd66b2eb0d34: agent,kbx: Add LIBASSUAN_CLFAGS. (authored by Jakuje).
agent,kbx: Add LIBASSUAN_CLFAGS.
Apr 13 2021, 6:58 AM
saurik added a comment to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt.

I'm sorry I disappeared on this issue for two weeks; I just got reminded of it by seeing the e-mail with the status change. I've updated to the latest gcrypt (which is the commit with the patch, now pushed to the repository) and was able to upload this to Apple without it being flagged; thanks!

Apr 13 2021, 4:49 AM · MacOS, libgcrypt
gniibe committed rC9c42db0b379c: api: Avoid use of C99 feature. (authored by gniibe).
api: Avoid use of C99 feature.
Apr 13 2021, 4:00 AM
gniibe changed the status of T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9 from Open to Testing.
Apr 13 2021, 3:16 AM · !assert, Bug Report, libgcrypt
gniibe changed the status of T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt from Open to Testing.
Apr 13 2021, 3:16 AM · MacOS, libgcrypt
gniibe committed rC0007f889bda8: random: Fix for iOS. (authored by gniibe).
random: Fix for iOS.
Apr 13 2021, 3:15 AM
gniibe committed rCe8b7f10be275: cipher: Hardening ElGamal by introducing exponent blinding too. (authored by gniibe).
cipher: Hardening ElGamal by introducing exponent blinding too.
Apr 13 2021, 3:15 AM
gniibe claimed T5384: pinentry coverity static analysis reports.

Thank you. I'll take care of this.

Apr 13 2021, 3:01 AM · pinentry, Bug Report
orbea added a comment to T5394: scute: Build failure with slibtool.

Regarding your patch, I am personally not opposed to it, but apparently Debian’s policy says the library/module should be called scute while Gentoo’s policy says it should be called libscute… What should an upstream developer do?

Apr 13 2021, 1:49 AM · toolchain, Feature Request, scute

Apr 12 2021

werner added a comment to T5394: scute: Build failure with slibtool.

Regarding slibtool: I would actually like to have an easier to maintain tool than libtool (of which we use our own version) for GnuPG related software. However, its requirement "the compiler should support -std=c99" is currently a no-starter for libgcrypt and some other libs.

Apr 12 2021, 11:25 PM · toolchain, Feature Request, scute
gouttegd added a project to T5394: scute: Build failure with slibtool: scute.
Apr 12 2021, 10:59 PM · toolchain, Feature Request, scute
gouttegd added a comment to T5394: scute: Build failure with slibtool.

The built file is called scute instead of libscute because it is considered to be a *module*, not a *library*. That’s apparently a Debian thing, see commit dc2211179ea7f63434d726eefbc425390c4c6427.

Apr 12 2021, 10:57 PM · toolchain, Feature Request, scute
ikloecker added a comment to T5392: Kleopatra: Expiry date for certifications.

Isn't this a duplicate of T5336: Kleopatra: Add expiry for certifications in certify dialog?

Apr 12 2021, 10:40 PM · kleopatra, Restricted Project
jukivili committed rC9bc3d8de6e2a: mpi: harden add_n_cond, sub_n_cond and abs_cond against EM leakage (authored by jukivili).
mpi: harden add_n_cond, sub_n_cond and abs_cond against EM leakage
Apr 12 2021, 7:40 PM
jukivili committed rCc7c25b6e6e6b: mpi: harden set_cond functions against EM leakage (authored by jukivili).
mpi: harden set_cond functions against EM leakage
Apr 12 2021, 7:40 PM
jukivili committed rC1266f5bb02b7: mpi: harden swap_cond functions against EM leakage (authored by jukivili).
mpi: harden swap_cond functions against EM leakage
Apr 12 2021, 7:40 PM
Jakuje added a comment to T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets.

(FYI I did not notice any other errors with 2.3 so far)

Apr 12 2021, 6:25 PM · gnupg (gpg23), Bug Report
orbea added a project to T5394: scute: Build failure with slibtool: patch.
Apr 12 2021, 6:23 PM · toolchain, Feature Request, scute
ikloecker committed rLIBKLEO2b66c42015d0: Restrict the coloring of (Not) VS-NfD Compliant keys to validated keys (authored by ikloecker).
Restrict the coloring of (Not) VS-NfD Compliant keys to validated keys
Apr 12 2021, 6:10 PM
ikloecker committed rLIBKLEO945702599996: Improve validity info of keys that have not been validated (authored by ikloecker).
Improve validity info of keys that have not been validated
Apr 12 2021, 6:10 PM
ikloecker committed rKLEOPATRA060bcf140d5b: Save and restore layout of key list is lookup dialog (authored by ikloecker).
Save and restore layout of key list is lookup dialog
Apr 12 2021, 6:10 PM
orbea added a comment to T5394: scute: Build failure with slibtool.

This is a patch that fixes the build, I am not sure why -module is not used when HAVE_DARWIN_SYSTEM is defined, but I preserved that behavior. If its not intentional it could be added directly to libscute_la_LDFLAGS instead.

Apr 12 2021, 6:07 PM · toolchain, Feature Request, scute