In T6288#165435, @werner wrote:Bootstrapping is an issue. Recall that pkg-config is not a simple program but requires the use of glib (which depends on libffi, libmount, libpcre) - catch-22. Makes building GnuPG on AIX not actually easy.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Nov 25 2022
Nov 25 2022
ametzler1 added a comment to T6288: Document gpgrt-config in detail or improve it to support simple invocation.
• werner added a comment to T6288: Document gpgrt-config in detail or improve it to support simple invocation.
Bootstrapping is an issue. Recall that pkg-config is not a simple program but requires the use of glib (which depends on libffi, libmount, libpcre) - catch-22. Makes building GnuPG on AIX not actually easy.
ametzler1 added a comment to T6288: Document gpgrt-config in detail or improve it to support simple invocation.
FWIW I would vote for a) "document gpgrt-config in detail" and suggest using pkg-config (variant) for direct invokations. There seems to be little benefit in investing effort/complicating gpgrt-config when pkg-config works fine.
gpg: New option --list-filter
It's irrelevant whether you can trick the combination of gpg and PowerShell to show the wrong encoded user ID correctly. The user ID is still encoded wrongly and every standard-compliant implementation of OpenPGP will show garbage when displaying the user ID.
Interestingly enough if I set LC_LCTYPE environment variable in powershell $env:LC_CTYPE = "C.UTF-8" - it behaves correctly and generates UTF-8 encoded names.
Looking at the hexdump of the user ID in the exported (and dearmored) public key this looks like a classic double-encoding problem, i.e. UTF-8 encoded UTF-8:
42 6A C3 83 C2 B8 72 6E
^^^^^^^^^^^Just found out something weird - powershell tells me the default characterset is iso-8859-1
~~~
PS C:\Users\bbs> [System.Text.Encoding]::Default
okay, installed 2.2.29 and tried showkey:
C:\Users\bbs> gpg.exe --show-key D:\bbs_gpg.public.pgp
pub rsa4096 2022-11-06 [SC]
0F20E48DEA9FD7A5626DBA0067BDA85044042E3B
uid Bjørn Bouet Smith <bjornsmith@gmail.com>
sub rsa4096 2022-11-06 [E]• ikloecker updated the task description for T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.
• ikloecker changed the status of T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard from Open to Testing.
This is now ready for testing.
https://gpg4win.org/download.html, but there isn't a Gpg4win release with GnuPG 2.2.29. The most recent Gpg4win 3.x has GnuPG 2.2.28. (All releases of Gpg4win 4.x include GnuPG 2.3.x.)
• ikloecker committed rKLEOPATRA19aae7ca7b52: Update only the smart card we copied the key to (authored by • ikloecker).
Update only the smart card we copied the key to
• ikloecker committed rKLEOPATRA3495322bda49: Allow updating a single smart card (app) (authored by • ikloecker).
Allow updating a single smart card (app)
Yes, seems so. In either case, there's nothing we can do anything about since the versions provided by us appear to work correctly.
But it is strange that the version can show the characters correctly - so it can encode and decode to the same output.
On Linux, I also get garbled output for your key:
$ gpg --show-key <bbs_gpg.public.pgp pub rsa4096/67BDA85044042E3B 2022-11-06 [SC] 0F20E48DEA9FD7A5626DBA0067BDA85044042E3B uid Bjørn Bouet Smith <bjornsmith@gmail.com> sub rsa4096/08D7C29E12A34AD2 2022-11-06 [E]
This indicates that the user ID was encoded incorrectly by the gpg included in git when you created the key.
I am not sure if the export is correct - or if you need something else?
If I import the keys into gpgwin it shows up garbled - both in the console version of gpg.exe and Kleopatra, but if I run
gpg.exe -k
With the old gpg version it shows up as:
/c/Users/bbs/.gnupg/pubring.kbx
-------------------------------
pub rsa4096 2022-11-06 [SC]
0F20E48DEA9FD7A5626DBA0067BDA85044042E3B
uid [ultimate] Bjørn Bouet Smith <bjornsmith@gmail.com>
sub rsa4096 2022-11-06 [E]This is the key exported with:
gpg.exe --output D:\bbs_gpg.public.pgp --armor --export bjornsmith@gmail.com
bbs_gpg.public.pgp3 KBDownload
In T6289#165411, @ikloecker wrote:How did you generate the key? On the command line? Which command line did you use? Can you attach the public key to this report?
It seems like gpgwin generates keys where the name are not compatible with each other.
How did you generate the key? On the command line? Which command line did you use? Can you attach the public key to this report?
dirmngr: Silence ocsp debug output.
gpgme.m4: Fix AM_PATH_GPGME_PTHREAD.
So because I use some thing that "almost everyone does not use" - but something that you distribute you do not even want to fix it?
You are using the basic pinnentry which comes as part of the basic installer. Almost everyone does not use this but Gpg4win which has a real pinentry. See http://gpg4win.org You don;t need the program statement then because gpg is installed in the PATH.
Sorry, it looks like no problem.
w32: Fix for make check.
l10n daemon script <scripty@kde.org> committed rLIBKLEO627f7673170a: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
l10n daemon script <scripty@kde.org> committed rKLEOPATRAfa0ef294f0b8: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
l10n daemon script <scripty@kde.org> committed rLIBKLEO39f7d66dad07: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
• gniibe added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
Implications are... you won't be possible to use new protocols introduced by newer OpenSSH:
Nov 24 2022
Nov 24 2022
amalon added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
Thanks. Adding 'PubkeyAuthentication unbound' to my ~/.ssh/config seems to workaround it for me on openssh-9.1p1-3 (arch). I don't quite follow what the implications of that setting are though.
• gniibe committed rG7071f3076287: tests:w32: Fix for non-dot file name for Windows. (authored by • gniibe).
tests:w32: Fix for non-dot file name for Windows.
• gniibe committed rG1246e16432b4: tests: Fix to support --enable-all-tests and variants. (authored by • gniibe).
tests: Fix to support --enable-all-tests and variants.
tests:gpgscm:w32: Fix for GetTempPath.
tests: Keep .log files in objdir.
tests: Use 233 for invalid value of FD.
• gniibe committed rG0fd7a902070a: tests: Fix to support --enable-all-tests and variants. (authored by • gniibe).
tests: Fix to support --enable-all-tests and variants.
Thank you for the bug report and your suggestion.
• gniibe triaged T6288: Document gpgrt-config in detail or improve it to support simple invocation as High priority.
l10n daemon script <scripty@kde.org> committed rKLEOPATRA883732e13a78: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
l10n daemon script <scripty@kde.org> committed rLIBKLEO06b7a0bec6c8: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
• gniibe renamed T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required) from OpenSSH 8.9 and 9.0 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required) to OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
• gniibe added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
In my cases (tested with 9.1), here are the length of data to be signed by ssh-agent (emulation by gpg-agent).
- 164 bytes: Both features disabled by: ssh -o KexAlgorithms=-sntrup761x25519-sha512@openssh.com -o PubkeyAuthentication=unbound
- 192 bytes: Unbound only by: ssh -o PubkeyAuthentication=unbound
- 298 bytes: No Post Quantum only by: ssh -o KexAlgorithms=-sntrup761x25519-sha512@openssh.com
- 330 bytes: Both features enabled (no options)
Nov 23 2022
Nov 23 2022
Require GpgME version 1.16.0
• ikloecker changed the status of T6287: Kleopatra: Transfer key to OpenPGP card uses encryption slot when writing sign+auth key to authentication slot from Open to Testing.
To test this you need a key with a subkey (including the primary key) that is marked for signing and authentication, but not for encryption. Open the Subkey dialog, insert an OpenPGP smart card, right-click this subkey and select Transfer to card. Select the Authentication slot when you are asked which card slot the key should be written to.
• ikloecker committed rKLEOPATRA0bdc7af93213: Use the actual card slot IDs instead of indexes to avoid mix-ups (authored by • ikloecker).
Use the actual card slot IDs instead of indexes to avoid mix-ups
• ikloecker committed rKLEOPATRAa76e61cd8da5: Double-check that writing key to card succeeded (authored by • ikloecker).
Double-check that writing key to card succeeded
• ikloecker committed rKLEOPATRA5775e103b96c: Emit signal when the information about the smart cards was updated (authored by • ikloecker).
Emit signal when the information about the smart cards was updated
Actually we have two gpgme versions in gpg4win because gnupg is a "sub"-installer inside of gpg4win and it comes with its own gpgme. That gpgme is the release version but the one used by gpg4win's kleopatra is often a newer snapshot.
Here is the patch which will go into the next release
From f61a5ea4e0f6a80fd4b28ef0174bee77793cf070 Mon Sep 17 00:00:00 2001 From: Werner Koch <wk@gnupg.org> Date: Tue, 22 Nov 2022 16:36:46 +0100 Subject: [PATCH] Fix an integer overflow in the CRL signature parser.
ok, works as described.
l10n daemon script <scripty@kde.org> committed rLIBKLEO96486655278b: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
l10n daemon script <scripty@kde.org> committed rKLEOPATRAd16ee6101f40: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Nov 22 2022
Nov 22 2022
heirecka committed rKLEOPATRAbb4c8524e776: GIT_SILENT Upgrade release service version to 22.11.90. (authored by heirecka).
GIT_SILENT Upgrade release service version to 22.11.90.
ametzler1 added a comment to T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR.
thank you, works for me.
Thank you, looks good to me.
[CMS] AllowSigning=false
hides the S/MIME-Sign... entry in the Clipboard menu (in the Tools menu and the context menu of the system tray icon).
I have tried all 3 settings (in %LOCALAPPDATA%\kleopatrarc):
AllowCertificateCreation=false
works as described.
Fix typo
• ebo closed T5677: Kleopatra: Do not offer deprecated gpg/keyserver option in GnuPG System configuration dialog as Resolved.
Keyserver option is no longer shown in the OpenPGP tab of GnuPG System
• ikloecker committed rKLEOPATRAb92b5aaa2268: Clarify which smart card is meant in a question or message (authored by • ikloecker).
Clarify which smart card is meant in a question or message
• ikloecker committed rKLEOPATRAe4b01103ddde: Only offer smart cards that support the key algorithm as target (authored by • ikloecker).
Only offer smart cards that support the key algorithm as target
• ikloecker committed rKLEOPATRA882e48278f3a: Optionally, delete the locally stored secret key after copy to smart card (authored by • ikloecker).
Optionally, delete the locally stored secret key after copy to smart card
• ikloecker committed rKLEOPATRA0fc73c181d94: Refactor keyTo*CardDone methods (authored by • ikloecker).
Refactor keyTo*CardDone methods
• ikloecker committed rKLEOPATRA6ebe374cc45c: Replace generic button text with "Overwrite Existing Key" (authored by • ikloecker).
Replace generic button text with "Overwrite Existing Key"
• ikloecker committed rKLEOPATRA039e93491be7: Show the subkey dialog with open() instead of exec() (authored by • ikloecker).
Show the subkey dialog with open() instead of exec()
• ikloecker committed rKLEOPATRAb56b4fd38a38: Update listed subkeys if keys have changed (authored by • ikloecker).
Update listed subkeys if keys have changed
Clean up KeyToCardCommand
Bump library version
• ikloecker committed rLIBKLEOf3bb991465e9: Add helper returning the directory containing the private key data (authored by • ikloecker).
Add helper returning the directory containing the private key data
works
• gniibe added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
I tested with openssh 9.1. When I add -o PubkeyAuthentication=unbound, I can make the length of data smaller.
tests:gpgscm:w32: Fix for GetTempPath.
• gniibe committed rG754175a46d3b: tests:w32: Fix for non-dot file name for Windows. (authored by • gniibe).
tests:w32: Fix for non-dot file name for Windows.
tests: Keep .log files in objdir.
tests: Use 233 for invalid value of FD.
l10n daemon script <scripty@kde.org> committed rKLEOPATRA8111ddebbeba: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
l10n daemon script <scripty@kde.org> committed rKLEOPATRA5b762cdf5cd2: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
w32: Exclude tests with HOME.
w32: Fix for make check.
• gniibe changed the status of T6274: documentation needs update for replacing gpgme-config from Open to Testing.
Please use gpgme.pc to configure your build. Your options are:
(1) With Autoconf:
(1-1) Use pkg.m4 and PKG_CHECK_MODULES (which uses pkg-config to access gpgme.pc)
(1-2) Use gpgme.m4 and AM_PATH_GPGME (which uses gpgrt-config to access gpgme.pc)
(2) Or... use pkg-config to access gpgme.pc.
