Page MenuHome GnuPG
Feed All Stories

Nov 27 2020

werner added a subtask for T4398: Rework Console and command line handling on Windows: T5038: UTF-8 handling in the command line.
Nov 27 2020, 6:26 PM · Feature Request, gnupg (gpg23)
werner removed a project from T5038: UTF-8 handling in the command line: backport.
Nov 27 2020, 6:23 PM · gnupg
werner added a comment to T5150: scd: For NetKey cards READKEY with keygrip fails.

Regarding a backport I think that I will eventually backport all app-*c to stable by source copying them. We have a quite stable internal API and thus it is easier to keep at least the card specific code in sync. I did some local work in this directory some time ago.

Nov 27 2020, 5:54 PM · backport, gnupg (gpg23), scd
werner committed rG7d7a50ba7231: common: Fix fallback handling to utf-8. (authored by gniibe).
common: Fix fallback handling to utf-8.
Nov 27 2020, 5:49 PM
werner lowered the priority of T3392: keyserver default should include pool onionbalance hkp://jirk5u4osbsr34t5.onion from Normal to Wishlist.
Nov 27 2020, 5:39 PM · Too Old, Keyserver, Feature Request, dirmngr
werner committed rGad469609b101: card: Let the APDU command prints a description of the status word. (authored by werner).
card: Let the APDU command prints a description of the status word.
Nov 27 2020, 11:28 AM
werner committed rG0e34683a6c4b: scd: New getinfo sub-command apdu_strerror. (authored by werner).
scd: New getinfo sub-command apdu_strerror.
Nov 27 2020, 11:28 AM
werner committed rG5804db1a13d2: card: Netkey improvement for passwd. (authored by werner).
card: Netkey improvement for passwd.
Nov 27 2020, 10:01 AM
werner added a project to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds: backport.
Nov 27 2020, 7:58 AM · backport, Restricted Project, scd, gnupg
gniibe changed the status of T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds from Open to Testing.
Nov 27 2020, 7:21 AM · backport, Restricted Project, scd, gnupg
gniibe committed rGbb591222c3c5: scd:ccid-driver: Fix pinpad error handling for cancel/timeout. (authored by gniibe).
scd:ccid-driver: Fix pinpad error handling for cancel/timeout.
Nov 27 2020, 7:21 AM
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

Finally, with the physical device, I figure out what's going on.
The error handling in bulk_in in ccid-driver.c is not good for pinpad input.
It doesn't return an error when it is cancelled or timeout (for the user interaction).
And it calls libusb_clear_hald which causes screwed up situation.

Nov 27 2020, 7:17 AM · backport, Restricted Project, scd, gnupg
Laurent Montel <montel@kde.org> committed rLIBKLEO5da2e265783c: GIT_SILENT: prepare 5.16.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.16.0
Nov 27 2020, 7:09 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA5b183dc175a2: GIT_SILENT: prepare 5.16.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.16.0
Nov 27 2020, 7:05 AM

Nov 26 2020

werner added a comment to T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14).

Recall that each user has their own keys and configuration. This seems to be a general question on how to use GpgOL. Please use the help resources listed at gpg4win.org instead of this bug tracker.

Nov 26 2020, 9:13 PM · Bug Report
werner reopened T4004: Curve25519 for Zeitcontrol card as "Open".
Nov 26 2020, 5:08 PM · Feature Request, scd
werner added a comment to T4004: Curve25519 for Zeitcontrol card.

You are right, the new 3.4 cards support brainpool curves in addition to the nist curves.

Nov 26 2020, 5:08 PM · Feature Request, scd
werner created T5156: Automatically dismiss the popup 'please insert card with S/N...'.
Nov 26 2020, 5:04 PM · scd, gnupg
werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Sorry, I realized this myself this morning and did couple of fixes. rG7113263a00d8 does this all however I forgot to mention the bug number.

Nov 26 2020, 4:55 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
werner committed rG7113263a00d8: agent: Fix YK s/n and prettify the request card prompt for Yubikeys (authored by werner).
agent: Fix YK s/n and prettify the request card prompt for Yubikeys
Nov 26 2020, 3:58 PM
ikloecker committed rKLEOPATRAc9ef9acbb0a0: Remove workaround for nice serial number of Yubikeys (authored by ikloecker).
Remove workaround for nice serial number of Yubikeys
Nov 26 2020, 3:36 PM
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Argh. The following patch replaces the previous patch. It fixes the calculation of the display serial number.

Nov 26 2020, 3:21 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I think the calculation of the OpenPGP s/n is not correct. As you write, "Yubico seems to use the decimalized version of their S/N as the OpenPGP card S/N." This matches my observation for my Yubikey:
s/n printed on Yubikey: 9074582
Yubikey s/n (with our prefix): FF020001008A7796
OpenPGP AID: D2760001240102010006090745820000

Nov 26 2020, 2:45 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
werner committed rG764c69a841ab: scd: Add special serialno compare for OpenPGP cards. (authored by werner).
scd: Add special serialno compare for OpenPGP cards.
Nov 26 2020, 12:18 PM
werner committed rGd784e763495c: scd: Do not try to use a non-enabled app after card switching. (authored by werner).
scd: Do not try to use a non-enabled app after card switching.
Nov 26 2020, 12:18 PM
vonreth committed rLIBKLEO4584fc9e1884: Fix ifdef, we don't use qt here (authored by vonreth).
Fix ifdef, we don't use qt here
Nov 26 2020, 11:41 AM
nitroalex added a comment to T4004: Curve25519 for Zeitcontrol card.

If you mean OpenPGP Card v3 standard, no it did not support cv25519 ed25519, but some other curves up until v3.4. So if there is a specific specification bringing this feature, can you might refer to the specific version? Otherwise, I think this task is still valid.
I remember the problem being the card manufacturers that are not interesting in cv25519 (yet).

Nov 26 2020, 10:06 AM · Feature Request, scd
gniibe added a comment to T3722: gpg "No name" error.

Or it might be related issue of name server access like in T3168: dirmngr: gpg: keyserver receive failed: No keyserver available.

Nov 26 2020, 7:56 AM · dns
werner added a project to T5150: scd: For NetKey cards READKEY with keygrip fails: backport.
Nov 26 2020, 7:55 AM · backport, gnupg (gpg23), scd
gniibe added a parent task for T3168: dirmngr: gpg: keyserver receive failed: No keyserver available: T3517: dirmngr: retry without SRV due to buggy routers.
Nov 26 2020, 7:51 AM · dns, dirmngr
gniibe added a subtask for T3517: dirmngr: retry without SRV due to buggy routers: T3168: dirmngr: gpg: keyserver receive failed: No keyserver available.
Nov 26 2020, 7:51 AM · Feature Request, dns, dirmngr
gniibe closed T3524: "GnuPG MiniHOWTO" English version page unavailable as Resolved.

As of November 2020, the redirect problem has gone.
And we addressed that as "Legacy GnuPG MiniHOWTO" in rDd51cd2013e66: web: Add warning notes to most HOWTOS..

Nov 26 2020, 7:42 AM · Bad link, gpgweb
gniibe merged task T3722: gpg "No name" error into T3517: dirmngr: retry without SRV due to buggy routers.
Nov 26 2020, 7:31 AM · dns
gniibe merged T3722: gpg "No name" error into T3517: dirmngr: retry without SRV due to buggy routers.
Nov 26 2020, 7:31 AM · Feature Request, dns, dirmngr
gniibe added a comment to T3722: gpg "No name" error.

This must be an issue of SRV record retrieval.
Merging.

Nov 26 2020, 7:31 AM · dns
gniibe merged task T3574: gpg-agent doesn't pick up ssh certificates into T1756: gpg-agent doesn't accept ssh certificates.
Nov 26 2020, 7:20 AM · Bug Report
gniibe merged T3574: gpg-agent doesn't pick up ssh certificates into T1756: gpg-agent doesn't accept ssh certificates.
Nov 26 2020, 7:20 AM · gnupg, Feature Request
gniibe closed T4004: Curve25519 for Zeitcontrol card as Resolved.

Support was added in version 3 card.

Nov 26 2020, 7:17 AM · Feature Request, scd
gniibe merged task T4817: dirmgr keys.openpgp.org:443 Address family not supported by protocol into T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.
Nov 26 2020, 7:15 AM · Bug Report
gniibe merged T4817: dirmgr keys.openpgp.org:443 Address family not supported by protocol into T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.
Nov 26 2020, 7:15 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
gniibe added a comment to T4817: dirmgr keys.openpgp.org:443 Address family not supported by protocol.

Because the original problem of EAFNOSUPPORT has been fixed, I am going to close this bug.

Nov 26 2020, 7:14 AM · Bug Report
gniibe added a comment to T4152: command 'KS_GET' failed: Operation not permitted.

It is likely that EPERM (Operation not permitted) occurs by a system call connect(2) if you have some firewall rule(s) which forbids network access.
The dirmngr use libdns resolver which directly connects name servers.
If this is the case, you can use `--standard-resolver\ to use system's standard DNS resolver instead.

Nov 26 2020, 6:50 AM · Bug Report
gniibe closed T4153: no dirmngr.log created after previous command 'KS_GET' failed: Operation not permitted as Invalid.

The log file specified in .gnupg/dirmngr.conf is created at the start of dirmngr.
dirmngr is invokded by the first call of gpg, and it keeps running and handle next request from second invocation of gpg.
So, nothing is problem.

Nov 26 2020, 6:47 AM · Not A Bug
gniibe added a comment to T5055: APPCRASH with libKF5ConfigWidgets.dll.

On Debian, please see: /usr/share/doc/g++-mingw-w64-i686-win32/README.Debian

Nov 26 2020, 6:15 AM · Bug Report, gpg4win
gniibe added a comment to T5055: APPCRASH with libKF5ConfigWidgets.dll.

IIUC, the error occurred when Kleo is exiting and a destructor (in libKF5ConfigWidgets) is called with null pointer.

Nov 26 2020, 3:57 AM · Bug Report, gpg4win
andfox added a comment to T5055: APPCRASH with libKF5ConfigWidgets.dll.

Version 3.1.14 released 2020-11-25
Kleopatra / GnuPG: Unicode home directories are now supported. (T5055)

Nov 26 2020, 2:54 AM · Bug Report, gpg4win
gniibe merged T4640: Outdated text and links at <http://git.gnupg.org/> into T4963: Update GnuPG versions listed on https://git.gnupg.org/.
Nov 26 2020, 2:31 AM · gpgweb, Bug Report
gniibe merged task T4640: Outdated text and links at <http://git.gnupg.org/> into T4963: Update GnuPG versions listed on https://git.gnupg.org/.
Nov 26 2020, 2:31 AM · gpgweb, Bug Report
gniibe added a comment to T4640: Outdated text and links at <http://git.gnupg.org/>.

Fixed in rDf810f0bc5b13: git.gnupg.org: Update entry page.

Nov 26 2020, 2:31 AM · gpgweb, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

For ctx->exportPublicKeys returning 0 even when a failure, (with fix of gpg) error handling should be done differently.

Nov 26 2020, 2:22 AM · segv, gpgme, Bug Report
gniibe committed rG605ab99912ac: gpg: Report an error for receiving key from agent. (authored by gniibe).
gpg: Report an error for receiving key from agent.
Nov 26 2020, 1:52 AM
gniibe added a comment to T5150: scd: For NetKey cards READKEY with keygrip fails.

Applied and push the change above in rG920154370834: scd,nks: Fix caching keygrip..

Nov 26 2020, 1:38 AM · backport, gnupg (gpg23), scd
gniibe committed rG920154370834: scd,nks: Fix caching keygrip. (authored by gniibe).
scd,nks: Fix caching keygrip.
Nov 26 2020, 1:38 AM
jeffb255 created T5155: GPGol: Will work for one user and not another on the same machine. Windows 10 Outlook 2016 GPGOL 2.4.8 (gpg4win-3.1.14).
Nov 26 2020, 1:30 AM · Bug Report

Nov 25 2020

nmset added a comment to T5151: GPGME++ : bad passphrase problems.

Well, I fixed my loopback passphrase provider and the application no longer crashes with a bad passphrase.

Nov 25 2020, 10:16 PM · segv, gpgme, Bug Report
werner committed rG00037f499db8: scd:p15: Print the internal card type. (authored by werner).
scd:p15: Print the internal card type.
Nov 25 2020, 3:51 PM
werner committed rGc7b9a4ee439e: scd:p15: Improve support for some CardOS based cards. (authored by werner).
scd:p15: Improve support for some CardOS based cards.
Nov 25 2020, 3:30 PM
aheinecke committed rD462b69da2902: swdb: Gpg4win-3.1.14 (authored by aheinecke).
swdb: Gpg4win-3.1.14
Nov 25 2020, 2:24 PM
aheinecke committed rW0859dca29afa: web: Gpg4win-3.1.14 (authored by aheinecke).
web: Gpg4win-3.1.14
Nov 25 2020, 2:21 PM
aheinecke committed rW54c5aea0fbdd: NEWS and READMEs for todays release (authored by aheinecke).
NEWS and READMEs for todays release
Nov 25 2020, 12:54 PM
aheinecke added a comment to T5096: Kleopatra: Remove X509 as much as possible.

Right that description sounds like it is ~20 years old ;-)

Nov 25 2020, 12:17 PM · kleopatra
aheinecke closed T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication), a subtask of T4770: pinentry option no-global-grab, as Resolved.
Nov 25 2020, 12:10 PM · Documentation, pinentry
aheinecke closed T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication) as Resolved.

Will be fixed with 3.1.14

Nov 25 2020, 12:10 PM · pinentry, Bug Report, gpg4win
aheinecke closed T4570: Gpg4win: Improve Source packaging as Resolved.
Nov 25 2020, 12:03 PM · gpg4win
aheinecke committed rW816ed21dee68: Add ws2_32 explicitly on scute configure (authored by aheinecke).
Add ws2_32 explicitly on scute configure
Nov 25 2020, 10:59 AM
aheinecke committed rWb821d810e197: Add improv. secure-card icon for kleopatra (authored by aheinecke).
Add improv. secure-card icon for kleopatra
Nov 25 2020, 10:59 AM
aheinecke created T5154: Kleopatra: Failed to move backup when generating cardkey.
Nov 25 2020, 10:36 AM · kleopatra
werner committed rG60e1ce66120b: g13: Add missing header (authored by werner).
g13: Add missing header
Nov 25 2020, 10:24 AM
werner committed rG3a8250c02031: scd: Rework the handling of the displayed serial number. (authored by werner).
scd: Rework the handling of the displayed serial number.
Nov 25 2020, 10:24 AM
aheinecke added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

Works, I've tested with Kleopatra.

Nov 25 2020, 10:24 AM · Bug Report, gpg4win, kleopatra, gpgtar
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

relatively new feature

Yes. In the mean time, I'm using a cheap workaround : validate the input passphrase by signing a dummy text before exporting. Not that ugly and can stay for long.

Nov 25 2020, 8:33 AM · segv, gpgme, Bug Report
gniibe triaged T5150: scd: For NetKey cards READKEY with keygrip fails as Normal priority.
Nov 25 2020, 3:48 AM · backport, gnupg (gpg23), scd
gniibe added a comment to T5150: scd: For NetKey cards READKEY with keygrip fails.

For the first issue, I pushed the change in rGc3a20c88fb30: scd: Fix an error return for READKEY..

Nov 25 2020, 3:48 AM · backport, gnupg (gpg23), scd
gniibe committed rGc3a20c88fb30: scd: Fix an error return for READKEY. (authored by gniibe).
scd: Fix an error return for READKEY.
Nov 25 2020, 3:45 AM
gniibe committed rG006944b856ee: scd,nks: Fix SEGV for learn for older card. (authored by gniibe).
scd,nks: Fix SEGV for learn for older card.
Nov 25 2020, 2:38 AM
gniibe changed the status of T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards, a subtask of T5128: Kleopatra: Generate OpenPGP public key for NetKey card key, from Open to Testing.
Nov 25 2020, 2:37 AM · kleopatra
gniibe changed the status of T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards from Open to Testing.
Nov 25 2020, 2:37 AM · Restricted Project, gnupg (gpg23), scd
gniibe claimed T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards.

Fixed in rG006944b856ee: scd,nks: Fix SEGV for learn for older card..

Nov 25 2020, 2:37 AM · Restricted Project, gnupg (gpg23), scd
gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Great. Please apply the patch.

Nov 25 2020, 1:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

More specifically, in the situation of multiple calls, ->getPassphrase is called multiple times, and it should return newly allocated "char *" object each time, because it is released each time (in lower layer).

Nov 25 2020, 1:22 AM · segv, gpgme, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

My excuse: Please note that the support of exporting secret keys by GPGME are relatively new feature (see {T5046) and the fix rM3382ecb17eb5: core: Support exporting secret keys.). The fix of rM53ac732bae46: core: Call _gpgme_passphrase_status_handler when exporting keys. is a part of the support.
I think that we need more fixes for gpg/gpgme to be fully working well.

Nov 25 2020, 12:51 AM · segv, gpgme, Bug Report

Nov 24 2020

Laurent Montel <montel@kde.org> committed rLIBKLEO9bdc45d2d38c: Fix compile on msvc (authored by Laurent Montel <montel@kde.org>).
Fix compile on msvc
Nov 24 2020, 9:08 PM
werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Okay, I now got such a patch:

Nov 24 2020, 6:04 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I found a good enough solution: I changed the code to compute the OpenPGP s/n from the Yubikey s/n right after a Yubikey has been detected. Later, and if OpenPGP enabled on the YK, the S/N is already there but we use the S/N from the 0x4f DO. That is needed because we can't compute the OpenPGP version number ahead and use 0.0 in the S/N.

Nov 24 2020, 4:24 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
aheinecke committed rW74be1543843e: Fix scute build with current gpgrt-config (authored by aheinecke).
Fix scute build with current gpgrt-config
Nov 24 2020, 11:18 AM
aheinecke committed rSd7ec61b1b6b0: w32: Add ws2_32 linkage (authored by aheinecke).
w32: Add ws2_32 linkage
Nov 24 2020, 11:17 AM
aheinecke committed rS669e1cc1baf9: w32: Fix build by ifdefing a dbg statement (authored by aheinecke).
w32: Fix build by ifdefing a dbg statement
Nov 24 2020, 11:17 AM
aheinecke committed rW8234b80c0294: Update gnupg to 2.2.25 (authored by aheinecke).
Update gnupg to 2.2.25
Nov 24 2020, 11:11 AM
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

when passphrase is wrong, the passphrase callback is called more than one time (one for primary key, and another for a subkey, more if there are more subkeys).

Nov 24 2020, 9:30 AM · segv, gpgme, Bug Report
gniibe added a comment to T1954: Password too long.

Please use shorter password.
For gpgsm, maximum is 31 chars.

Nov 24 2020, 8:54 AM · Info Needed, gnupg (gpg20), Bug Report, gnupg
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

Currently, gpg doesn't report any errors to status line for exporting secret keys. If needed, a patch like this is needed:

Nov 24 2020, 8:12 AM · segv, gpgme, Bug Report
gniibe committed rM53ac732bae46: core: Call _gpgme_passphrase_status_handler when exporting keys. (authored by gniibe).
core: Call _gpgme_passphrase_status_handler when exporting keys.
Nov 24 2020, 7:09 AM
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

Chasing this bug, I pushed a change: rM53ac732bae46: core: Call _gpgme_passphrase_status_handler when exporting keys.

Nov 24 2020, 7:08 AM · segv, gpgme, Bug Report
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Stable now and works as expected. Thank you!

Nov 24 2020, 1:27 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Nov 23 2020

goeran added a comment to T5080: Gpg-agent gets confused when a homedir is moved.

Killing the daemon using gpgconf is fine if you are aware you need to do it. We weren't, and I suspect few other users would be either.

Nov 23 2020, 9:27 PM · gnupg (gpg22), Bug Report
werner closed T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as Resolved.
Nov 23 2020, 7:59 PM · Restricted Project, gnupg (gpg22), Bug Report
werner closed T5140: Release GnuPG 2.2.25 as Resolved.
Nov 23 2020, 7:59 PM · gnupg (gpg22), Release Info
werner closed T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) as Resolved.
Nov 23 2020, 7:59 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner closed T5143: YubiKey 5 Nano GPG --card-edit verify command causes a segfault as Resolved.
Nov 23 2020, 7:59 PM · gnupg (gpg22), Bug Report
werner committed rD07745dddbd4d: swdb: GnuPG 2.2.25 (authored by werner).
swdb: GnuPG 2.2.25
Nov 23 2020, 6:54 PM