Page MenuHome GnuPG
Feed All Stories

Sep 29 2021

swimmerm added a comment to T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.

As I anticipated here's screenshot I also saved.
P.S. Just in case you might wonder why I tried to execute 'man' not existing command is because I also incorrectly tried to run it 2 days ago when after I tested some GnuPG commands in a CMD window, and again same window self-closed with no error messages or any dump creation and again I'm sure at that time I didn't run 'mode con' before those GnuPG commands (I'm unsure which ones but they probably some were the same I also already reported here). Please also note that making 'Stato del dispositivo CON:' so big was unintended and very likely just an effect of cut & paste I did, so now I'll try to see if I can avoid that effect.

Sep 29 2021, 3:23 AM · gnupg (gpg22), UI, Not A Bug, gpg4win
gniibe committed rG86cb04a23d2b: gpg: Ed448 and X448 are only for v5 (for subkey). (authored by gniibe).
gpg: Ed448 and X448 are only for v5 (for subkey).
Sep 29 2021, 3:11 AM
swimmerm added a comment to T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.

Hello again Werner,

Sep 29 2021, 3:00 AM · gnupg (gpg22), UI, Not A Bug, gpg4win
gniibe added a comment to T5584: gpg --list-packets lists wrong packets.

As the bug I located is a simple fix, I think it can be also applied to 2.2.

Sep 29 2021, 1:55 AM · gnupg (gpg22), Bug Report
swimmerm added a comment to T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter.

Ok, but the problem is that by default CMD command windows do not use any Unicode set of characters, and their default font is 'Raster characters' and the typical display of characters inside these windows, at least for Italian people because this was the default since MS-DOS age, is to only consider using MS-DOS ASCII codepage 850, not Unicode.
And this is also why before showing the error message I ran the command mode.
Anyway because of the 2 characters getting displayed instead of single expected 'è' (whose character code is 0x82) I can also tell you that by using Charmap.exe again (just in case you may not know it allows display of any Unicode or Raster font characters and their hexadecimal codes) and so switching its default font from System (Unicode) to 8514oem (raster, corresponding to 8514oem.fon) I've been able to determine which should be the 2 wrong displayed characters hexadecimal codes : 'Ã' (0xC3), and '¨' (0xA8) but here obviously both characters cannot be represented correctly because this site is using 'Segoe UI' font, which is Unicode too.
So the only main way to check that I identified the correct characters will be if you (or someone else you know) with another Windows client run Charmap.exe switch font to 8514oem (raster) and check that displayed characters corresponding to 0xC3 and 0xA8 are the same that got displayed in the error message bitmap I provided (a part from probably being able to find where in Italian messages localization rather then in source code those 2 characters have been used incorrectly).
P.S. Because in a past similar bug about Italian localization I saw a comment from you about this kind of option, please just let me know in case you think I might possibly be able to help you to review involved 'GPG' Italian error message(s) for this bug.

Sep 29 2021, 1:00 AM · i18n, Bug Report, gpg4win
swimmerm edited projects for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present, added: Bug Report; removed Not A Bug.
Sep 29 2021, 12:19 AM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm reopened T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present as "Open".

Hello Werner,

Sep 29 2021, 12:17 AM · gnupg (gpg22), UI, Not A Bug, gpg4win
calestyo added a comment to T5594: some possible minor things in the manpage.

Well, as I've said in the comment above, there doesn't seem to be any correction towarads --passphrase-fd not requiring --pinentry-mode loopback (still works withou)... and --no-default-keyring still gives the impression that it would be needed (while --no-keyring works as well).

Sep 29 2021, 12:01 AM · Documentation, gnupg, Bug Report

Sep 28 2021

werner triaged T5594: some possible minor things in the manpage as Low priority.

Please don't, if you really feel like tha tis not resolved please re-open this ticket.

Sep 28 2021, 11:03 PM · Documentation, gnupg, Bug Report
werner triaged T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter as Normal priority.

That pretty much looks like the other errors you have with Unicode characters - which we can't replicate.

Sep 28 2021, 11:01 PM · i18n, Bug Report, gpg4win
werner triaged T5627: 'SHA256SUM -?' or '...-help' incorrectly shows SHA1SUM name when displaying own command syntax as Wishlist priority.

This is all build from the same source. We could fix that but I'll give that a lo priority. Thanks for reporting.

Sep 28 2021, 10:58 PM · Bug Report, gpg4win
werner closed T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present as Resolved.
Sep 28 2021, 10:56 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
werner edited projects for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present, added: Not A Bug; removed Bug Report.

That's correct - The output needs to be percent escaped.

Sep 28 2021, 10:56 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm updated the task description for T5627: 'SHA256SUM -?' or '...-help' incorrectly shows SHA1SUM name when displaying own command syntax.
Sep 28 2021, 9:16 PM · Bug Report, gpg4win
swimmerm added a comment to T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.

P.S. Also note that my Gpg4win 3.1.16 installation status is still last T5593 described one.

Sep 28 2021, 9:14 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm created T5627: 'SHA256SUM -?' or '...-help' incorrectly shows SHA1SUM name when displaying own command syntax.
Sep 28 2021, 9:09 PM · Bug Report, gpg4win
swimmerm updated the task description for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.
Sep 28 2021, 8:53 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm updated the task description for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.
Sep 28 2021, 8:52 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm updated the task description for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.
Sep 28 2021, 8:51 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm updated the task description for T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.
Sep 28 2021, 8:51 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm created T5626: 'GPGCONF --list-dirs' command option on-screen displayed results show '%3a' unexpected and unneeded characters in each line displaying a C: drive path instead of simpler expected '...:C:\...' sub-strings with only valid ':' ('colon') characters present.
Sep 28 2021, 8:40 PM · gnupg (gpg22), UI, Not A Bug, gpg4win
swimmerm updated the task description for T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter.
Sep 28 2021, 8:28 PM · i18n, Bug Report, gpg4win
swimmerm added a comment to T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter.

Here's the file I anticipated (this time uploading worked... :-D ) (my Gpg4win 3.1.16 installation status is still T5593 described one).

Sep 28 2021, 8:28 PM · i18n, Bug Report, gpg4win
swimmerm created T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter.
Sep 28 2021, 8:15 PM · i18n, Bug Report, gpg4win
calestyo added a comment to T5594: some possible minor things in the manpage.

@werner shall I open a new ticket for the remaining stuff?

Sep 28 2021, 7:26 PM · Documentation, gnupg, Bug Report
rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@bernhard thank you for explaining, did not mean to offend anybody. Before creating win-gpg-agent I tried to read as much as I could on a history and obviously had to study source a bit. Be it as it may - I decided to have separate wrapper, rather then contributing directly to gpg code base. There is noticable number of use cases on Windows which presently not addressed, some I believe are sitting it the queue already.

Sep 28 2021, 6:53 PM · Not A Bug, workaround, gnupg24, Windows, ssh
bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@rupor-github thanks for your explanations and the contribution to the GnuPG and crypto Free Software code base!

Sep 28 2021, 5:58 PM · Not A Bug, workaround, gnupg24, Windows, ssh
rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Since Windows user naively could expect multiple methods of accessing certificates from different programs (or sometimes from the same program but different supported environments, like Git4Win and git in WSL) to work together transparently, win-gpg-agent covers translation of one accidentally supported method (32 bit putty shared memory) to multiple unsupported ones (named pipe, cygwin, etc). It also takes care of managing gpg-agent.exe lifetime tying it to user login session for convenience. It uses command line parameters to only to overwrite staff critical to its functionality and does not prevent user from having configuration file(s). Optionally it provides pinentry which is integrated with Windows native Crypto Vault and UX rather than using wonderful QT or GTK. As specified in documentation when developers of gpg and WIndows will get their act together and figure out what they want and how they want it - most of functionality would not be needed. I would like to point out that simply claiming superiority and not supporting cygwin (Git4Win) or working Assuan ssh socket or putty shared memory in 64 bits Windows build does not help with user experience a single bit.

Sep 28 2021, 4:34 PM · Not A Bug, workaround, gnupg24, Windows, ssh
bernhard committed rDbaf0af5caa56: Fix typo in faq/wkd.org (authored by bernhard).
Fix typo in faq/wkd.org
Sep 28 2021, 4:26 PM
werner created T5624: Prefill the search on server entry field in Kleopatra.
Sep 28 2021, 4:04 PM · Restricted Project, kleopatra, Feature Request
ikloecker added a comment to T5584: gpg --list-packets lists wrong packets.

Thanks. This fixes the invalid packet errors when using --list-packets or when trying to decrypt the file without secret key.

Sep 28 2021, 3:22 PM · gnupg (gpg22), Bug Report
werner added projects to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos): gnupg (gpg23), Solaris.

Just to be sure. please provide the output of

Sep 28 2021, 12:13 PM · Solaris, gnupg (gpg23)
ikloecker committed rWaeee451f21b0: Make patch work with GCC 11 (authored by ikloecker).
Make patch work with GCC 11
Sep 28 2021, 10:43 AM
ikloecker committed rW05750b24c6d2: Add library path for mingw DLLs in openSUSE Tumbleweed (authored by ikloecker).
Add library path for mingw DLLs in openSUSE Tumbleweed
Sep 28 2021, 10:43 AM
ikloecker committed rWa08a92a08370: Update gettext (authored by ikloecker).
Update gettext
Sep 28 2021, 10:43 AM
ikloecker committed rW4ea4488beb63: Fix build with GCC 11: include <limits> (authored by ikloecker).
Fix build with GCC 11: include <limits>
Sep 28 2021, 10:43 AM
gniibe added a comment to T5609: keydb_get_keyblock failed with cv448 key .

Bug in creating such a blob is fixed in rG08a3a4db27dc: kbx: A 20 byte fingerprint is right filled in version 2 blob..

Sep 28 2021, 10:17 AM · Restricted Project, OpenPGP, gnupg (gpg23)
gniibe committed rG08a3a4db27dc: kbx: A 20 byte fingerprint is right filled in version 2 blob. (authored by gniibe).
kbx: A 20 byte fingerprint is right filled in version 2 blob.
Sep 28 2021, 10:17 AM
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Lots of detailed documentation but frankly, after a brief read I have not yet figured out what it really does. We won't support Cygwin stuff - this is all obsolete and awe also removed starting gpg-agent as a service for good reasons. Instead of starting gpg-agent with lot of command line args it would be better to put this into a per user or system wide config file.

Sep 28 2021, 10:13 AM · Not A Bug, workaround, gnupg24, Windows, ssh
ikloecker added a comment to T5599: Make gpg use the helpers baked into its AppImage.

Works if one puts

rootdir = $APPDIR/usr

in the gpgconf.ctl file.

Sep 28 2021, 9:46 AM · gnupg, Restricted Project, Feature Request
gniibe added a comment to T5609: keydb_get_keyblock failed with cv448 key .
Sep 28 2021, 9:17 AM · Restricted Project, OpenPGP, gnupg (gpg23)
bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

There is a user report that got things to work with https://github.com/rupor-github/win-gpg-agent
on https://wald.intevation.org/forum/forum.php?thread_id=2359&forum_id=21&group_id=11

Sep 28 2021, 9:03 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a comment to T5584: gpg --list-packets lists wrong packets.

Fixed in rGcc6152b802f2: gpg: Skip the packet when not used for AEAD., but I put wrong bug-id in the commit message.

Sep 28 2021, 7:59 AM · gnupg (gpg22), Bug Report
gniibe committed rGcc6152b802f2: gpg: Skip the packet when not used for AEAD. (authored by gniibe).
gpg: Skip the packet when not used for AEAD.
Sep 28 2021, 7:57 AM
gniibe added a comment to T5584: gpg --list-packets lists wrong packets.

I was wrong to fix this issue; It is specifically the issue of PKT_ENCRYPTED_AEAD packet. And we already have code to skip the data part by free_encrypted. The problem is that free_encrypted is *not* called when it was PKT_ENCRYPTED_AEAD.

Sep 28 2021, 7:48 AM · gnupg (gpg22), Bug Report
gniibe committed rC817cdc6054be: ec: Add zSeries/s390x accelerated scalar multiplication. (authored by jukivili).
ec: Add zSeries/s390x accelerated scalar multiplication.
Sep 28 2021, 4:07 AM
gniibe committed rC0b399721ce97: doc: Address the bug on AArch64 in README. (authored by gniibe).
doc: Address the bug on AArch64 in README.
Sep 28 2021, 4:07 AM
gniibe committed rCa23a8f04d8da: tests/t-mpi-point: Add one more NIST P-256 reduction test-vector. (authored by jukivili).
tests/t-mpi-point: Add one more NIST P-256 reduction test-vector.
Sep 28 2021, 4:07 AM
gniibe committed rCe0bdb19056f4: tests/t-mpi-point: add reduction test-vectors for NIST curves. (authored by jukivili).
tests/t-mpi-point: add reduction test-vectors for NIST curves.
Sep 28 2021, 4:07 AM
gniibe committed rC0d568f2e5d82: doc: Address the bug on AArch64 in README. (authored by gniibe).
doc: Address the bug on AArch64 in README.
Sep 28 2021, 4:07 AM
gniibe committed rC94c923436715: doc: Address the bug on AArch64 in README. (authored by gniibe).
doc: Address the bug on AArch64 in README.
Sep 28 2021, 3:41 AM

Sep 27 2021

mooney created T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).
Sep 27 2021, 9:02 PM · Solaris, gnupg (gpg23)
ladangtoto2 updated ladangtoto2.
Sep 27 2021, 7:11 PM
werner assigned T5584: gpg --list-packets lists wrong packets to gniibe.
Sep 27 2021, 10:19 AM · gnupg (gpg22), Bug Report
werner triaged T5584: gpg --list-packets lists wrong packets as High priority.
Sep 27 2021, 10:12 AM · gnupg (gpg22), Bug Report
werner committed rCdb928d97b4b6: tests: Remove old CAVS test scripts. (authored by werner).
tests: Remove old CAVS test scripts.
Sep 27 2021, 9:10 AM
werner moved T5520: Fix tests in FIPS mode from Next to Ready for release on the FIPS board.
Sep 27 2021, 8:36 AM · FIPS, libgcrypt, Bug Report
aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

These are great news. Thank you!

Sep 27 2021, 6:35 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe committed rEa3987e449705: libtool: Link without -flat_namespace for macOS. (authored by gniibe).
libtool: Link without -flat_namespace for macOS.
Sep 27 2021, 5:11 AM
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Pushed the change to libgpg-error and libgcrypt (1.9 and master).
Let us see if there are any problem(s) for that, I will apply it to other libraries when it will be found no problem.

Sep 27 2021, 4:16 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe committed rCc9cebf3d1824: libtool: Link without -flat_namespace for macOS. (authored by gniibe).
libtool: Link without -flat_namespace for macOS.
Sep 27 2021, 4:14 AM
gniibe committed rC1240f218dd89: libtool: Link without -flat_namespace for macOS. (authored by gniibe).
libtool: Link without -flat_namespace for macOS.
Sep 27 2021, 4:13 AM
gniibe renamed T5610: macOS 11 or newer support: Update libtool from Update libtool to macOS 11 or newer support: Update libtool.
Sep 27 2021, 3:31 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Thank you for the information.
For the record, I put the link to the email submitted:
https://lists.gnu.org/archive/html/libtool-patches/2020-06/msg00001.html

Sep 27 2021, 3:30 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe closed T5568: Use sigdescr_np instead of (deprecated) sys_siglist as Resolved.
Sep 27 2021, 3:24 AM · gnupg

Sep 26 2021

swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

Could anyone please be so kind to confirm me if when 'gpg4win-3.1.16.exe' setup completes without any error the new folders where Gpg4win and GnuPG commands can be found are prepended (so inserted at beginning) or appended (so added at the end) of already existing %PATH%) ?
I'm asking this to properly ensure that my new manually modified configuration %PATH% is indeed equivalent to an original configured one (and so far I've assumed that my manual changes should have been prepended %ProgramFiles(x86)%\Gpg4win\bin;%ProgramFiles(x86)%\GnuPG\bin;%PATH% but doing this was probably only my choice because such changes were just faster to do).

Sep 26 2021, 6:42 PM · Bug Report, gpg4win
swimmerm updated the task description for T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup.
Sep 26 2021, 2:27 PM · Documentation, Not A Bug, gpg4win
swimmerm renamed T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup from No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' get created after setup to No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup.
Sep 26 2021, 2:23 PM · Documentation, Not A Bug, gpg4win
swimmerm renamed T5622: 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it from 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup to 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it.
Sep 26 2021, 1:29 PM · Not A Bug, gpg4win
swimmerm updated the task description for T5622: 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it.
Sep 26 2021, 1:27 PM · Not A Bug, gpg4win
swimmerm updated the task description for T5622: 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it.
Sep 26 2021, 1:26 PM · Not A Bug, gpg4win
swimmerm created T5622: 'HKLM\Software\GNU\GnuPG' registry key does not already exist after end of setup, but users might expect to find it.
Sep 26 2021, 1:19 PM · Not A Bug, gpg4win
swimmerm created T5621: No '%ProgramData%\GNU', '%ProgramData%\GNU\etc', '%ProgramData%\GNU\etc\gnupg' or '%ProgramData%\GNU\etc\gnupg\trusted-certs' or '%ProgramData%\GNU\etc\gnupg\extra-certs' get created after setup.
Sep 26 2021, 12:27 PM · Documentation, Not A Bug, gpg4win
swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

@grv87, thanks for clarification (and very interesting side thread reference you gave, indeed, also because it also gives you an idea of how system environment changes during OS startup). I precisely see your point and that's also why I said "create 2 new system variables".
I've not said this very explicitly before but for that I also meant to just create them during Gpg4win setup. When it is run, I assume we can also say that OS system environment is already in place and %PATH% should already be stable enough to consider that as a good starting point to add things. So once you can really do that (I mean add 2 new system variables), and then also ensure they're created correctly, then I can also assume that then starting to use them to update %PATH% system variable might be fine too.

Sep 26 2021, 10:13 AM · Bug Report, gpg4win
grv87 awarded T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent a Like token.
Sep 26 2021, 5:03 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 25 2021

grv87 added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

@swimmerm, my 2nd comment offers some solutions for you and other users coming here with the same problem with their PATH. It should be done on user side. I don't offer to implement this in Gpg4Win installer.

Sep 25 2021, 11:58 PM · Bug Report, gpg4win
swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

@grv87 OK, many thanks indeed for confirming all this.
About your 1st comment: that's just right why I asked about it. Regarding md5sum and pinentry both must be the reason why now they decided to also add 1st path into environment while in older version wasn't there. Main issue is that because of the quite generic 'PATH env variable too big' error so far we can only assume 2047 was indeed maximum size for %PATH% Gpg4win developers have been expecting so far, while after that change from March 2012 QFE fix a definitive fix to implement in setup and rest of Gpg4win involved code will just be to enhance that maximum allowed path size to 4095 characters (BTW also checking anyway for size of %PATH% already active before setup will continue with new %PATH% changes is probably best option too).
About your 2nd & 3rd comments: thanks for those useful references. Would probably be quicker to implement, but it's still again true that maximum size expected for %PATH% will still need to increment from (likely) 2047 to 4095, plus also what you said about something "for expert users only". And even then inside README.txt (that now corresponds to %ProgramFiles(x86)%\GnuPG\README.txt or %ProgramFiles(x86)%\Gpg4win\share\gpg4win\README.en.txt or %ProgramFiles(x86)%\Gpg4win\share\gpg4win\README.it.txt) there should be at least 1 note about suggested way to do things. Problem is that because of above (March 2012) MS KB article statements '... If an existing value contains more than 2047 characters, you cannot enter additional data. However, you can delete the characters that are displayed. ...' whenever %PATH% size is over that value (always true for me even after manual %PATH% downsizing I had to do) OS UI will be of no or very little help (and by very little I intend that to overcome that OS UI limitation expert users with Admin privileges will 1st need to manually modify Path value into Registry, let's say by adding at least 1 or 2 ";" really unneeded, then just use OS UI to modify %PATH% system variable by deleting those ";" unneeded (i.e. %ProgramFiles(x86)%\Gpg4win\bin;;%ProgramFiles(x86)%\GnuPG\bin;;) and then once removed confirm with OK twice, and voilà it's done).
(P.S. BTW I just checked that so it really works fine for all applications started after that change ;-D so this might probably be best known option to document inside that README.txt.
N.B. JFYI in the past I also tried to use SETX from command line, and so I discovered that it only has a 1024 maximum characters limit after which it will just truncate any expected change that is saved anyway into selected system variable).
Otherwise, another possible approach variation but unsure if needing more coding would be to create 2 new system variables (let's say Gpg4win and GnuPG) and then add both %Gpg4win%;%GnuPG%; in front of existing %PATH% while installing, but obviously still after enhancing maximum allowed PATH size to 4095.

Sep 25 2021, 10:57 PM · Bug Report, gpg4win
Laurent Montel <montel@kde.org> committed rLIBKLEOb29be41ae625: GIT_SILENT: use stable-kf5-qt5 BRANCH_GROUP in stable branch (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use stable-kf5-qt5 BRANCH_GROUP in stable branch
Sep 25 2021, 10:21 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAd918b4295ab4: GIT_SILENT: use stable-kf5-qt5 BRANCH_GROUP in stable branch (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use stable-kf5-qt5 BRANCH_GROUP in stable branch
Sep 25 2021, 10:19 AM

Sep 24 2021

grv87 added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

On the issue, I think there are several possible solutions, better than current:

  1. Warn user that PATH is too big and tell him which dirs should be added manually
  2. Warn user that PATH is too big but still modify it. He has to modify it with something else than UI, so it's for expert users only
  3. Ask user to choose between 1 or 2
Sep 24 2021, 5:02 PM · Bug Report, gpg4win
grv87 added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

BTW, there are known solutions to manage with PATH overgrowth.

Sep 24 2021, 4:51 PM · Bug Report, gpg4win
grv87 added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

@swimmerm, look at the files installed in both dirs.
There is no gpg in %ProgramFiles(x86)%\Gpg4win\bin, it is in %ProgramFiles(x86)%\GnuPG\bin.
On the other side, md5sum and pinentry are in the first one.
So, I believe you (and I) should add both dirs to the path.

Sep 24 2021, 4:34 PM · Bug Report, gpg4win
Jakuje added a comment to T5550: Fix check_binary_integrity.

Thanks. This looks good to me.

Sep 24 2021, 9:30 AM · FIPS, libgcrypt
gniibe added a comment to T5584: gpg --list-packets lists wrong packets.

It parses wrongly. I think that we need a fix like:

diff --git a/g10/mainproc.c b/g10/mainproc.c
index 1ee5b9a6e..7f51b263b 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -725,6 +725,9 @@ proc_encrypted (CTX c, PACKET *pkt)
Sep 24 2021, 6:42 AM · gnupg (gpg22), Bug Report
gniibe committed rC9511f469363b: build: Add hmac256.h to distribution. (authored by gniibe).
build: Add hmac256.h to distribution.
Sep 24 2021, 4:14 AM
gniibe added a comment to T5550: Fix check_binary_integrity.

Thank you for pointing out. Since hmac256.{c,h} can be used by others, I think that it is better to keep those two files, instead of merging it into one.

Sep 24 2021, 4:08 AM · FIPS, libgcrypt

Sep 23 2021

werner updated subscribers of T5574: Doubled characters in Windows console output.

That looks all pretty standard. I don't know what's going on. I need to be able to replicate it here.

Sep 23 2021, 5:26 PM · gnupg, Windows, Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRA777c179b38c8: Port some foreach (authored by Laurent Montel <montel@kde.org>).
Port some foreach
Sep 23 2021, 2:09 PM
Reiner added a comment to T5574: Doubled characters in Windows console output.

Hello Mr. Koch,

Sep 23 2021, 2:06 PM · gnupg, Windows, Bug Report
aheinecke triaged T5620: GnuPG, pinentry: Passphrase pattern error / warning does not match new logic as Normal priority.
Sep 23 2021, 12:15 PM · gnupg, Restricted Project
ikloecker committed rKLEOPATRA16073f7e4fa7: Ask GnuPG for the correct path for the uiserver socket (authored by ikloecker).
Ask GnuPG for the correct path for the uiserver socket
Sep 23 2021, 10:28 AM
ikloecker committed rKLEOPATRAa0883f369a65: Ask GnuPG for the correct path for the uiserver socket (authored by ikloecker).
Ask GnuPG for the correct path for the uiserver socket
Sep 23 2021, 10:28 AM
ikloecker added a comment to T5613: GpgEX does not use CSIDL_LOCAL_APPDATA.

Patch has been applied to Kleopatra. See T5619: Kleopatra does not create the UI-Server socket in the socketdir.

Sep 23 2021, 10:18 AM · Windows, kleopatra, gpgex
ikloecker closed T5619: Kleopatra does not create the UI-Server socket in the socketdir as Resolved.
Sep 23 2021, 10:17 AM · Windows, kleopatra, Restricted Project
ikloecker added a comment to T5574: Doubled characters in Windows console output.

Somehow this looks like a bug in gettext or our usage of it. It seems as if the last characters of strings appended to translated texts are sometimes doubled as if the string was built twice, once with 1 or 2 more characters and then overwritten with a slightly shorter string. Very strange.

Sep 23 2021, 9:28 AM · gnupg, Windows, Bug Report
werner added a comment to T5574: Doubled characters in Windows console output.

Sorry, I am not abale to replicate this with standard version of gpg. Hwoever, the portable version only changes the directories and nothing at the output code paths. THus I really wonder what's going on here. Note that the spaces used to indent the "mittels ..." are also missing.

Sep 23 2021, 8:46 AM · gnupg, Windows, Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEOd86eda36b231: GIT_SILENT: Port some foreach (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Port some foreach
Sep 23 2021, 7:31 AM
Reiner added a comment to T5574: Doubled characters in Windows console output.

Key verification: Double Number in the end of fingerprint:
The same problem, as with the portable version.

Sep 23 2021, 3:52 AM · gnupg, Windows, Bug Report

Sep 22 2021

werner triaged T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Normal priority.
Sep 22 2021, 9:55 PM · toolchain, libksba, Bug Report
aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

Oh, you are right, it's not upstream. It's actually applied to Homebrew (https://brew.sh/) libtool formula which is where I originally got libtool.m4, see:

Sep 22 2021, 9:06 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt