Page MenuHome GnuPG
Feed All Stories

Sep 9 2022

thesamesam closed T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...) as Invalid.

Thanks for your help @gniibe and apologies for wasting your time. It looks like this is an issue with ncurses on musl systems and I'll pursue it there. I have a patch to their configure which works & fixes building pinentry.

Sep 9 2022, 3:21 AM · clang, Gentoo, pinentry, Bug Report
thesamesam added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

I've reported it on bug-ncurses@ to get some insight: https://marc.info/?l=ncurses-bug&m=166268018624805&w=2.

Sep 9 2022, 1:43 AM · clang, Gentoo, pinentry, Bug Report
thesamesam added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

Mysteriously, I get nothing:

$ pkg-config --cflags nurses
Sep 9 2022, 1:01 AM · clang, Gentoo, pinentry, Bug Report

Sep 8 2022

mlaurent committed rLIBKLEOcbf3cc703d89: GIT_SILENT: prepare 5.21.2 (authored by mlaurent).
GIT_SILENT: prepare 5.21.2
Sep 8 2022, 8:29 PM
ikloecker added a comment to T6014: Add support for relative redirect URI-references to dirmngr.

To debug this you can enable logging of the dirmngr (which does actually talk to the keyservers). To do so open GnuPG System/Network in Kleopatra's configuration dialog and set the debugging level to 4 - All and enter a filename for the log file.

Sep 8 2022, 7:30 PM · gnupg24, dirmngr, Bug Report
ebeiersdorfer added a comment to T6014: Add support for relative redirect URI-references to dirmngr.

Ah OK I'm following now, I had took that as maybe another lookup at that time was failing. The keyserver that we have configured is hkps://keys.openpgp.org. Is there any misconfiguration here with that setting?

Sep 8 2022, 6:34 PM · gnupg24, dirmngr, Bug Report
ikloecker added a comment to T6014: Add support for relative redirect URI-references to dirmngr.

OK, so this warning should just be ignored then?

Sep 8 2022, 6:10 PM · gnupg24, dirmngr, Bug Report
vitusb created T6197: Update the gpg4win-3.1.16.exe package to latest release of version 3 gpg4win (aka gpg4win-3.1.24.exe).
Sep 8 2022, 3:45 PM · Release Info, Info Needed
ebeiersdorfer added a comment to T6014: Add support for relative redirect URI-references to dirmngr.

OK, so this warning should just be ignored then?

Sep 8 2022, 2:31 PM · gnupg24, dirmngr, Bug Report
ikloecker created T6196: Kleopatra: Canceling encrypt operation in the notepad causes a bogus error message.
Sep 8 2022, 12:55 PM · Restricted Project, kleopatra, Bug Report
ikloecker added a comment to T6188: kleopatra: notepad verify/decrypt button not always greyed out when it should be.

I have implemented this a bit differently in particular with usability (e.g. discoverability of the import possibility) and accessibility in mind:

  • Add a separate Import button instead of re-using the Sign/Encrypt button.

For one, this allows the user to encrypt a public key block. Moreover,
buttons that magically change their meaning are bad for accessibility.

  • Update the three crypto operation buttons in one place.
  • Disable the Verify/Decrypt button if the notepad is empty.
Sep 8 2022, 12:50 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRA7df275a78e70: Improve usability and accessibility of the notepad operations (authored by ikloecker).
Improve usability and accessibility of the notepad operations
Sep 8 2022, 12:45 PM
ikloecker committed rKLEOPATRAc19d273664d8: Remove word puzzles (authored by ikloecker).
Remove word puzzles
Sep 8 2022, 12:45 PM
ikloecker created T6195: gpg: New key has unknown trust after generation.
Sep 8 2022, 10:26 AM · Not A Bug, gnupg
werner committed rW2cc69035ad80: Do not create symlinks to VSD files without version number. (authored by werner).
Do not create symlinks to VSD files without version number.
Sep 8 2022, 10:01 AM
aheinecke triaged T6194: GpgME++: Certify edit interactor has no state for multiple promotions as Low priority.
Sep 8 2022, 9:46 AM · gpgme, kleopatra
gniibe committed rA6bc8a106c4bd: Silence compiler warnings. (authored by gniibe).
Silence compiler warnings.
Sep 8 2022, 8:50 AM
gniibe committed rE10dc853291a1: Silence compiler warnings. (authored by gniibe).
Silence compiler warnings.
Sep 8 2022, 8:34 AM
gniibe added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

Could you please check what pkg-config --cflags ncurses returns?
In my environment (of Debian), it returns:

Sep 8 2022, 7:56 AM · clang, Gentoo, pinentry, Bug Report
gniibe committed rC37dc9f8fd00a: Silence compiler warnings for unused internal value. (authored by gniibe).
Silence compiler warnings for unused internal value.
Sep 8 2022, 7:47 AM
gniibe committed rC10d9878dd84f: Fix function prototypes. (authored by gniibe).
Fix function prototypes.
Sep 8 2022, 7:47 AM
gniibe committed rPbc115547e0e9: Fix secmem for modern C compiler. (authored by gniibe).
Fix secmem for modern C compiler.
Sep 8 2022, 7:33 AM
thesamesam added projects to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...): Gentoo, clang.
Sep 8 2022, 1:40 AM · clang, Gentoo, pinentry, Bug Report
thesamesam set External Link to https://bugs.gentoo.org/869128 on T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).
Sep 8 2022, 1:19 AM · clang, Gentoo, pinentry, Bug Report
thesamesam added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

It looks like there was a problem similar to this a while ago: https://dev.gnupg.org/T2320 where it turned out for unicode ncurses builds, a specific header had to be included, but that workaround seems to have been removed from pinentry since.

Sep 8 2022, 1:17 AM · clang, Gentoo, pinentry, Bug Report
thesamesam created T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).
Sep 8 2022, 1:17 AM · clang, Gentoo, pinentry, Bug Report

Sep 7 2022

ametzler1 added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

bernhard added a comment.Mon, Sep 5, 6:05 PM

If it is was broken for you and works now, let us know here.
if "lists." still is there in email addresses somewhere, please also list.
Sep 7 2022, 6:26 PM · gpgweb, Bug Report
werner added a comment to T6014: Add support for relative redirect URI-references to dirmngr.

Kleopatra does searches in parallel. What you see in the second dialog might be a response from a Web Key Directory (i.e. search by mail address with lookup at the mail domain).

Sep 7 2022, 4:28 PM · gnupg24, dirmngr, Bug Report
ebo created T6192: GpgOL: deactivation of S/MIME does not affect previously sent mails.
Sep 7 2022, 3:35 PM · Too Old, Restricted Project, gpgol
aheinecke committed rW923f8b356d53: Post release version bump (authored by aheinecke).
Post release version bump
Sep 7 2022, 2:48 PM
aheinecke committed rWcda93355876c: Update NEWS and READMEs for todays release (authored by aheinecke).
Update NEWS and READMEs for todays release
Sep 7 2022, 2:42 PM
aheinecke committed rWc1caf4670fbe: Update Kleopatra and kde-l10n (authored by aheinecke).
Update Kleopatra and kde-l10n
Sep 7 2022, 2:42 PM
aheinecke committed rW33c7d130c07a: wording improvements in NEWS (authored by ebo).
wording improvements in NEWS
Sep 7 2022, 2:42 PM
werner committed rGabf7d3c54546: agent: Don't start in --supervised mode if no-autostart is enabled. (authored by werner).
agent: Don't start in --supervised mode if no-autostart is enabled.
Sep 7 2022, 11:55 AM
werner committed rG0988e49c45d0: gpg: Support key flags for RENC, TIME, and GROUP. (authored by werner).
gpg: Support key flags for RENC, TIME, and GROUP.
Sep 7 2022, 11:55 AM
gniibe added a comment to T6191: FIPS: Supporting running FIPS enabled machine.

Here is a list of possible issues:

Sep 7 2022, 8:58 AM · gnupg24, FIPS, Bug Report
gniibe added subtasks for T6191: FIPS: Supporting running FIPS enabled machine: T5930: Use the FIPS-compatible digest&sign API, T5964: gnupg should use the KDFs implemented in libgcrypt.
Sep 7 2022, 4:48 AM · gnupg24, FIPS, Bug Report
gniibe added a parent task for T5964: gnupg should use the KDFs implemented in libgcrypt: T6191: FIPS: Supporting running FIPS enabled machine.
Sep 7 2022, 4:48 AM · gnupg26, FIPS, Feature Request
gniibe added a parent task for T5930: Use the FIPS-compatible digest&sign API: T6191: FIPS: Supporting running FIPS enabled machine.
Sep 7 2022, 4:48 AM · FIPS, Feature Request
gniibe triaged T6191: FIPS: Supporting running FIPS enabled machine as Wishlist priority.
Sep 7 2022, 4:47 AM · gnupg24, FIPS, Bug Report
gniibe created T6191: FIPS: Supporting running FIPS enabled machine.
Sep 7 2022, 4:46 AM · gnupg24, FIPS, Bug Report
werner added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

BTW, gnupg/doc/DETAILS tells that the fingerprint is optional:

Sep 7 2022, 4:46 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
gniibe committed rM80670f60ba97: Fix parsing import status for invalid fingerprint. (authored by gniibe).
Fix parsing import status for invalid fingerprint.
Sep 7 2022, 4:36 AM
gniibe added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

Pushed the fix for GPG_ERR_INV_ENGINE.

Sep 7 2022, 4:29 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
gniibe added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

gpgsm may emit S IMPORT_PROBLEM 1 (with no fingerprint information) when it cannot find valid fingerprint.
I think that this case should be handled correctly by GPGME, not returning GPG_ERR_INV_ENGINE.

Sep 7 2022, 4:27 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

It's not yet pushed, because it requires new release of libgpg-error (for T6112: libgpg-error,w32: bidirectional Pipe support for estream).

Sep 7 2022, 1:56 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 6 2022

ikloecker added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.
In T6085#162918, @ebo wrote:

well, when creating openPGP keys with kleopatra I did not see any hints. I do not think that the issue would be vaild for password based encryption. There the common usecase is autogeneration, anyway

Sep 6 2022, 5:46 PM · gnupg, Restricted Project, pinentry
ikloecker added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.

@ikloecker yes as mentioned in my response the current hints are only for symmetric.

Sep 6 2022, 5:41 PM · gnupg, Restricted Project, pinentry
aheinecke added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.

@ikloecker yes as mentioned in my response the current hints are only for symmetric.

Sep 6 2022, 5:18 PM · gnupg, Restricted Project, pinentry
aheinecke committed rW1deee90df859: Add NEWS for 3.1.24 (authored by aheinecke).
Add NEWS for 3.1.24
Sep 6 2022, 5:17 PM
aheinecke closed T6147: Kleopatra: Failure to move extracted archive folder accross disks as Resolved.
Sep 6 2022, 4:55 PM · kleopatra, Restricted Project
ebeiersdorfer reopened T6014: Add support for relative redirect URI-references to dirmngr as "Open".
Sep 6 2022, 4:47 PM · gnupg24, dirmngr, Bug Report
ebo added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.

well, when creating openPGP keys with kleopatra I did not see any hints. I do not think that the issue would be vaild for password based encryption. There the common usecase is autogeneration, anyway

Sep 6 2022, 4:27 PM · gnupg, Restricted Project, pinentry
ikloecker added a comment to T6188: kleopatra: notepad verify/decrypt button not always greyed out when it should be.

After some discussion with Andre we decided:

  1. We keep both buttons always enabled. Reasoning: We do not want to disallow a valid operation just because our heuristic says that attempting a decryption makes no sense.
  2. Instead of the Encrypt button we switch the Decrypt button to Import if we detect a key block. This way the users can encrypt key blocks (which does make sense; in particular, for protecting exported secret keys), but attempting to decrypt a key block will always fail.
Sep 6 2022, 3:53 PM · Restricted Project, kleopatra
ikloecker added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.

The long hint is "hidden" in the tooltip of the short hint.

Sep 6 2022, 2:53 PM · gnupg, Restricted Project, pinentry
aheinecke added a comment to T6089: Kleopatra: Make DN attribute order configuration accessible.

Well it is good that we have it now and we should not remove it. But when asked I would probably have said that this dialog / page should be removed altogether. I would bet that if we did a user survey this dialog is not used at all. Or very very rarely.

Sep 6 2022, 2:49 PM · kleopatra, Restricted Project
ikloecker added a comment to T6085: pinentry-qt: Earlier passphrase hint when creating new key.

And the issue for which @ebo opened this ticket is in my opinion that you have to fail first before you see the hint.

Sep 6 2022, 2:42 PM · gnupg, Restricted Project, pinentry
aheinecke lowered the priority of T6190: GPGSM: Import / Export of raw and p8 certs / containers broken from Normal to Low.
Sep 6 2022, 1:19 PM · gnupg, S/MIME
aheinecke renamed T6190: GPGSM: Import / Export of raw and p8 certs / containers broken from GPGSM: Import / Epxort of raw and p8 certs / containers broken to GPGSM: Import / Export of raw and p8 certs / containers broken.
Sep 6 2022, 1:18 PM · gnupg, S/MIME
aheinecke closed T6189: Secret key backup of S/MIME certificate creates bad result as Resolved.

I can confirm the fix.

Sep 6 2022, 1:18 PM · Restricted Project, kleopatra, Restricted Project
aheinecke closed T6189: Secret key backup of S/MIME certificate creates bad result, a subtask of T6190: GPGSM: Import / Export of raw and p8 certs / containers broken, as Resolved.
Sep 6 2022, 1:18 PM · gnupg, S/MIME
aheinecke added a parent task for T6189: Secret key backup of S/MIME certificate creates bad result: T6190: GPGSM: Import / Export of raw and p8 certs / containers broken.
Sep 6 2022, 1:18 PM · Restricted Project, kleopatra, Restricted Project
aheinecke added a subtask for T6190: GPGSM: Import / Export of raw and p8 certs / containers broken: T6189: Secret key backup of S/MIME certificate creates bad result.
Sep 6 2022, 1:18 PM · gnupg, S/MIME
aheinecke triaged T6190: GPGSM: Import / Export of raw and p8 certs / containers broken as Normal priority.
Sep 6 2022, 1:16 PM · gnupg, S/MIME
ikloecker changed the status of T6189: Secret key backup of S/MIME certificate creates bad result from Open to Testing.

Should be fixed.

Sep 6 2022, 12:46 PM · Restricted Project, kleopatra, Restricted Project
ikloecker committed rKLEOPATRA7c2e37417b09: Tell gpgsm to export the secret key as PKCS#12 (authored by ikloecker).
Tell gpgsm to export the secret key as PKCS#12
Sep 6 2022, 12:45 PM
ikloecker added a comment to T6189: Secret key backup of S/MIME certificate creates bad result.

This is most likely a regression of switching to the gpgme-based secret key export.

Sep 6 2022, 12:43 PM · Restricted Project, kleopatra, Restricted Project
ikloecker triaged T6189: Secret key backup of S/MIME certificate creates bad result as High priority.
Sep 6 2022, 12:27 PM · Restricted Project, kleopatra, Restricted Project
aheinecke added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I was looking for this when writing the update NEWS for the latest release and noticed that this has not been pushed yet. I really think that it would be nice to have that. Especially for Smartcard use cases.

Sep 6 2022, 11:53 AM · Not A Bug, workaround, gnupg24, Windows, ssh
aheinecke added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

Ok. That is about the Invalid Crypto Engine. But this does not explain why a .p12 export via Kleopatra leads to this error when we export a valid certificate. The same thing I do with Kleopatra on the Command Line works:

Sep 6 2022, 11:42 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
ebo created T6188: kleopatra: notepad verify/decrypt button not always greyed out when it should be.
Sep 6 2022, 11:40 AM · Restricted Project, kleopatra
ikloecker placed T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine" up for grabs.

The error is generated in parse_import in gpgme/src/import.c:

if (errno || args == tail || *tail != ' ')
  {
    /* The crypto backend does not behave.  */
    free (import);
    return trace_gpg_error (GPG_ERR_INV_ENGINE);
  }
Sep 6 2022, 11:34 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
ikloecker claimed T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".
Sep 6 2022, 11:33 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
ebo created T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".
Sep 6 2022, 10:43 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
aheinecke closed T6130: Appimage: Include man pages as Resolved.

Added now

Sep 6 2022, 9:44 AM · Restricted Project, gpg4win
aheinecke committed rW7488b58bfb2c: Update GpgOL to released version (authored by aheinecke).
Update GpgOL to released version
Sep 6 2022, 9:33 AM
aheinecke committed rD78a290b37504: swdb: GpgOL 2.5.4 (authored by aheinecke).
swdb: GpgOL 2.5.4
Sep 6 2022, 9:32 AM
aheinecke committed rObea0ae8c45db: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Sep 6 2022, 9:29 AM
aheinecke committed rOe2a411ec44ff: Post release version bump (authored by aheinecke).
Post release version bump
Sep 6 2022, 9:29 AM
aheinecke committed rO242dbb31e194: Auto update po files (authored by aheinecke).
Auto update po files
Sep 6 2022, 9:29 AM
ebo awarded T6085: pinentry-qt: Earlier passphrase hint when creating new key a Like token.
Sep 6 2022, 9:08 AM · gnupg, Restricted Project, pinentry
aheinecke committed rW42d0405f007c: Add po/build-cc to distclean target in po (authored by aheinecke).
Add po/build-cc to distclean target in po
Sep 6 2022, 9:00 AM
aheinecke committed rW8231f8763327: Fix mode of a patch (authored by aheinecke).
Fix mode of a patch
Sep 6 2022, 8:39 AM
aheinecke committed rWa24577f8f002: MSI: Add gui for serbian translation (authored by aheinecke).
MSI: Add gui for serbian translation
Sep 6 2022, 8:39 AM
aheinecke committed rW880d2a93cad9: appimage: Package man pages (authored by aheinecke).
appimage: Package man pages
Sep 6 2022, 8:39 AM
werner claimed T6182: Kleopatra: "general error" on wrong PIN input during certification.
Sep 6 2022, 8:16 AM · Restricted Project, kleopatra
gniibe committed rGdc9227ca577d: tools:gpg-auth: Support use of pinpad. (authored by gniibe).
tools:gpg-auth: Support use of pinpad.
Sep 6 2022, 6:56 AM
gniibe committed rGf7e0b0c8a56a: common: Fix to determine ECC curve for SSH. (authored by gniibe).
common: Fix to determine ECC curve for SSH.
Sep 6 2022, 6:56 AM

Sep 5 2022

bernhard added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

Or better:

  • If it is was broken for you and works now, let us know here.
  • if "lists." still is there in email addresses somewhere, please also list.

Thanks!

Sep 5 2022, 6:05 PM · gpgweb, Bug Report
aheinecke committed rW348772cba69f: Update Kleopatra to latest master (authored by aheinecke).
Update Kleopatra to latest master
Sep 5 2022, 5:36 PM
aheinecke committed rKLEOPATRA4c2e7317dcc4: Initialize user id list with a whitespace (authored by aheinecke).
Initialize user id list with a whitespace
Sep 5 2022, 5:35 PM
aheinecke committed rWc257f56964db: Update Kleopatra to latest master (authored by aheinecke).
Update Kleopatra to latest master
Sep 5 2022, 5:35 PM
werner committed rSeb838bf345fe: Do not launch gpg-agent if no-autostart is active. (authored by werner).
Do not launch gpg-agent if no-autostart is active.
Sep 5 2022, 5:07 PM
bernhard changed the status of T5816: mailing list address confusion (lists.gnupg.org shown, but does not work) from Open to Testing.

https://lists.gnupg.org/mailman/listinfo/gnupg-devel has `To post a message to all the list members, send email to gnupg-devel@gnupg.org." now, which seems fine, it was wrong before.

Sep 5 2022, 4:58 PM · gpgweb, Bug Report
aheinecke moved T6085: pinentry-qt: Earlier passphrase hint when creating new key from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 5 2022, 4:50 PM · gnupg, Restricted Project, pinentry
aheinecke moved T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 5 2022, 4:49 PM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project
aheinecke moved T5974: MSI: Register p12 file extension as an optional parameter from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 5 2022, 4:49 PM · gpg4win, Restricted Project
werner added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

Fixed for 3 lists. I can't remember the details but quite some time ago someone requested some changes and while applying them the host_name must have changed / I changed it. The problem with Mailman is that it does not use plain config files to keep under etckeeper. At least not with some effort.

Sep 5 2022, 4:48 PM · gpgweb, Bug Report
aheinecke lowered the priority of T6085: pinentry-qt: Earlier passphrase hint when creating new key from Normal to Low.

I think there was a misunderstanding here. We already set .pinentry.constraints.hint.long and .pinentry.constraints.hint.short in GnuPG-VSD but firstly they are only about symmetric.
And the issue for which @ebo opened this ticket is in my opinion that you have to fail first before you see the hint.

Sep 5 2022, 4:39 PM · gnupg, Restricted Project, pinentry
bernhard added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

@werner also I suggest to check the default setting for this, see https://www.list.org/mailman-install/customizing.html and you can use the scripts mentioned there to check the configuration of several mailinglists at once and change it, if you know, which one is to blame, e.g. the host_name value.

Sep 5 2022, 4:34 PM · gpgweb, Bug Report