In T6014#163086, @ikloecker wrote:In T6014#163083, @aheinecke wrote:I think it is problematic that the WKD errors are shown to the user at all. Doing some random searches gives an error each time something can't be accessed.
Can you give an example other than the Syntax error issue? So far, I haven't seen any errors when doing random searches with ASCII-only "email addresses". I simply get zero results, but I don't see error messages, e.g. if the host cannot be found.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Sep 14 2022
Sep 14 2022
• werner added a project to T6014: Add support for relative redirect URI-references to dirmngr: gnupg (gpg23).
Sep 13 2022
Sep 13 2022
Of course it could be refined to use the same host if there is only a relative URL.
That's for sure. See rGfa1b1eaa4241ff3 :
Sep 12 2022
Sep 12 2022
Does dirmngr maybe interpret the redirect reply /.well-known/openpgpkey/hu/enzdc18iy17uy9qb3pwm4ay9a1ga6mb3/ as URI? That would explain the error because without protocol the redirect reply is indeed an invalid URI.
ebeiersdorfer added a comment to T6014: Add support for relative redirect URI-references to dirmngr.
Let me know if you want full logs, but here is the segment with more info.
bernhard closed T5816: mailing list address confusion (lists.gnupg.org shown, but does not work) as Resolved.
@ametzler1 thanks for the feedback!
Sep 9 2022
Sep 9 2022
In T6014#163083, @aheinecke wrote:I think it is problematic that the WKD errors are shown to the user at all. Doing some random searches gives an error each time something can't be accessed.
• ikloecker triaged T6014: Add support for relative redirect URI-references to dirmngr as Normal priority.
Thanks for your help analysing this problem.
I think it is problematic that the WKD errors are shown to the user at all. Doing some random searches gives an error each time something can't be accessed.
There is probably an umlaut or special character in <domain> or <user> which makes the URL invalid. If I search for "test@ä.de" I also get Syntax error in URI.
ebeiersdorfer added a comment to T6014: Add support for relative redirect URI-references to dirmngr.
So looking through the logs it appears that it is trying a lookup against our domain, in addition to the key server we have configured.
• ikloecker changed the status of T6196: Kleopatra: Canceling encrypt operation in the notepad causes a bogus error message from Open to Testing.
• ikloecker added a comment to T6196: Kleopatra: Canceling encrypt operation in the notepad causes a bogus error message.
If any notepad operation is canceled, then there shouldn't be any error messages or result widgets (the frame with the Close button in the screen shots) anymore.
• ikloecker removed a project from T6014: Add support for relative redirect URI-references to dirmngr: No Response.
• ikloecker triaged T6196: Kleopatra: Canceling encrypt operation in the notepad causes a bogus error message as Normal priority.
• gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Checking musl internal, it seems that we can detect a single threaded application by:
https://git.musl-libc.org/cgit/musl/tree/src/internal/libc.h#n22
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.
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.
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 nursesSep 8 2022
Sep 8 2022
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.
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?
In T6014#163001, @ebeiersdorfer wrote:OK, so this warning should just be ignored then?
ebeiersdorfer added a comment to T6014: Add support for relative redirect URI-references to dirmngr.
OK, so this warning should just be ignored then?
• 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:
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' ...).
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 7 2022
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.
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).
Here is a list of possible issues:
Sep 6 2022
Sep 6 2022
ebeiersdorfer reopened T6014: Add support for relative redirect URI-references to dirmngr as "Open".
Sep 5 2022
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!
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.
• 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.
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.
bernhard added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).
@werner
Can you take a look at the host_name setting at the [General Options] configuration page for the lists in question,
e.g. https://lists.gnupg.org/mailman/admin/gnupg-devel
bernhard renamed T5816: mailing list address confusion (lists.gnupg.org shown, but does not work) from gcrypt mailing list is down to mailing list address confusion (lists.gnupg.org shown, but does not work).
Sep 3 2022
Sep 3 2022
• werner triaged T6185: `gpg2 --list-keys --with-colons > /dev/full` exits with status 0 as Low priority.
The more relavant error is that there is no status output on failure which is what gpgme uses (due to double forking).
Sep 2 2022
Sep 2 2022
• werner changed the status of T6179: gnupg 2.3.7 broke YubiKey support: DBG: Curve with OID not supported: 2b06010401da470f01 from Open to Testing.
• werner added a comment to T6179: gnupg 2.3.7 broke YubiKey support: DBG: Curve with OID not supported: 2b06010401da470f01.
Yeah, we known. Fix is rGf34b9147eb3070b see T6070
nazarewk updated the task description for T6179: gnupg 2.3.7 broke YubiKey support: DBG: Curve with OID not supported: 2b06010401da470f01.
Thanks for testing. I guess I will do a new release.
Sep 1 2022
Sep 1 2022
Applies cleanly and fixes the crash. 👍
For master (2.3) the fix is not needed due to another way the code works, but having a more robust function is always good.
You may try the above commit - if should apply cleanly to 2.2.37.
You are right. This due to your old binary private key (stubs). Otherwise you would at least have one item ("Key:"). I need to see what do do about the release. Maybe a tool to update the key files would we a good workaround.
Oh well, why do I receive such bug reports right after the next release :-(
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Sorry for the confusion ...
There was no single gpgol-File for deletion.
There were 100.000 other files from other programs.
No idea, why this has interferred with gpgol, but it obviously has.
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Ok. So I never assumed that you had actually 100 gpgol_enc_number.dat files lying around.
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.
Thanks, I really appreciate having this fixed in gpgrt-config! I backported the commit to gentoo and can confirm that fixes the build issue with slibtool.
• gniibe closed T5898: Two fixes for the gnupg-2.3.4 test suite when running on MS-Windows as Resolved.
Thank you for reporting, and sorry for late handling of this report.
Aug 31 2022
Aug 31 2022
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
I had a look into my \AppData\Local\Temp and found some 10,000 Files/Folders (nearly 100,000 files in total) with over 10 GB.
After deleting most of them, GPG4WIN 4.0.3 is working!
SPYazdani added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
It's strange that the problem only occurs locally on one machine. I set up a test bench and did not experience the same errors as before.
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Thanks a lot. Due to your log I have tried with a long username and umlauts and a dot in my username. My test name was Längül!ödiföäada.dad which is the longest that Windows allows. But It still works for me. Even if I create one or two gpgol_enc.dat files in %TEMP% It still works:
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
... Logging active, standard, with email content and meta information
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
I have produced a log using 4.0.3.
See attached.
gpgol.txt1 MBDownload
GnuPG requires threads but not gpgme.
We already had the same discussion about threads and libgpg-error more than one year ago: https://dev.gnupg.org/T5296
Thank you for your report. Next time, please include information of your target and configuration in the report.
Aug 30 2022
Aug 30 2022
• werner triaged T6174: Option --require-comliance does not work in sign+encrypt mode as High priority.
• werner triaged T6172: Kleopatra: Crash when pulling card during key generation as Normal priority.
This issue happens even if a user enters the correct password for the private certificate.
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
strange, I have not received one. Did it bounce somewhere maybe because of size? Encryption should compress this though.
To identify/locate the issue, you can try command line:
• gniibe added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.
In the situation of a certificate about to be expired in the cache:
dkg added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.
Thanks, @gniibe -- i agree that this change to put_cert should be helpful, when encountering a certificate that is already invalid.
Applied to master and 1.10 branch.
SPYazdani added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Ok, email sent
Aug 29 2022
Aug 29 2022
I believe that this error is caused by a software bug of Gpg4win. Please get back to me if you need additional details about this issue, thanks
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Please, Last chance to add a log with Included file names (Include data checkbox) before the next release. Me and a colleague reviewed the function and don't find an issue with it. Otherwise I will only add a MessageBox error in that case for the next release.
Aug 27 2022
Aug 27 2022
Aug 26 2022
Aug 26 2022
Yes, that was sadly the case with the last release. It was fixed in: https://dev.gnupg.org/T6070 but not yet released. So the next version will work again. Until then you have to stick with the older version.
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
@SPYazdani But your log is also without the Data information. The issue is that I see the Problem that it tries to aquire a temporary file name and fails to get one. Then it runs into an unexpected state. But gpgol_string_107 is the pseudonomized debug output of the filename. Because the filename would include your username. And I need to see what GpgOL tries there and why this would fail.
SPYazdani added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
@aheinecke I posted a link to the logs in T6158
• aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
This was reported again in T6158. The problem is still that I have not seen a log with Data debugging enabled. @SPYazdani could you maybe create one? Please enable logging and check the box below the logging filename where it says "Include Mail contents (decrypted!) and meta information." and then you might afterward look into the log file and post here the lines above "Could not get a name out of 100 tries" I am interested in the candidate names and also please then check if those files really exist and if so try to remove them.
Ah right, forgot about this issue. I merge it with the other one and answer there. I need a log with data debugging enabled of this issue.