Page MenuHome GnuPG
Feed All Stories

Nov 26 2020

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
werner committed rGabd9aeecfb57: Post release updates (authored by werner).
Post release updates
Nov 23 2020, 6:41 PM
werner committed rG40f75823d255: Release 2.2.25 (authored by werner).
Release 2.2.25
Nov 23 2020, 6:41 PM
werner created T5153: Release GnuPG 2.2.26.
Nov 23 2020, 6:40 PM · Release Info, gnupg (gpg22)
carlosnewmusic reopened T1954: Password too long as "Open".


Password too long error to import p12

Nov 23 2020, 6:04 PM · Info Needed, gnupg (gpg20), Bug Report, gnupg
werner closed T5146: Release Libksba 1.5.0 as Resolved.

Released on 2020-11-18

Nov 23 2020, 2:17 PM · Release Info, libksba
werner set Version to 2.2.25 on T5140: Release GnuPG 2.2.25.
Nov 23 2020, 2:16 PM · gnupg (gpg22), Release Info
werner lowered the priority of T5120: Incompatible Ed25519 secret key (no-encryption) from High to Normal.
Nov 23 2020, 1:54 PM · gnupg (gpg22), Bug Report
werner closed T5052: Release GnuPG 2.2.24 as Resolved.

Note that if you run into problems with a smartcard you should run "gpg --card-status" once. GUI frontends usually do that and this is the reason why this regression was not detected. Will be fixed in 2.2.25 (T5140).

Nov 23 2020, 1:52 PM · Release Info, gnupg (gpg22)
werner moved T5140: Release GnuPG 2.2.25 from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:49 PM · gnupg (gpg22), Release Info
werner added a project to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances.: Info Needed.
Nov 23 2020, 1:48 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
werner closed T5080: Gpg-agent gets confused when a homedir is moved as Wontfix.
Nov 23 2020, 1:46 PM · gnupg (gpg22), Bug Report
werner moved T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:46 PM · Restricted Project, gnupg (gpg22), Bug Report
werner moved T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:45 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner edited projects for T5084: Using GPGWin 3.1.13, Putty fails to load the private key from a YubiKey, added: gnupg; removed gnupg (gpg22).

Removing 2.2 tag because it has been fixed in one of the last releases.

Nov 23 2020, 1:44 PM · gnupg, ssh, Bug Report, gpg4win
werner edited projects for T5114: GnuPG fails to import back generated and exported EdDSA secret key., added: gnupg; removed gnupg (gpg22).

Its done for 2.2 thus changing the tag.

Nov 23 2020, 1:43 PM · gnupg, Restricted Project, gpgagent, Bug Report
werner moved T5143: YubiKey 5 Nano GPG --card-edit verify command causes a segfault from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:41 PM · gnupg (gpg22), Bug Report
werner triaged T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired as Low priority.
Nov 23 2020, 1:39 PM · gnupg (gpg22), Bug Report
ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.
In T5151#139353, @nmset wrote:

Using Context::setExpire(), expiry time of keys and subkeys can be changed in a predictable way, with good and bad passphrase (fails with error of course).

Nov 23 2020, 12:30 PM · segv, gpgme, Bug Report
werner committed rG572bcacc287d: doc: Fix typos (authored by glr).
doc: Fix typos
Nov 23 2020, 12:21 PM
werner committed rG563db31467b2: doc: Fix typos (authored by glr).
doc: Fix typos
Nov 23 2020, 12:21 PM
werner closed T3972: 100% CPU usage endles loop of gpg --list-keys as Resolved.

As @dkg noted T4592 is a duplicate of this and given that we have a mitigation in place we can also close this (older) bug.

Nov 23 2020, 12:21 PM · gnupg (gpg22)
werner closed T5071: Doc fix: simple typos as Resolved.

Thanks.

Nov 23 2020, 12:14 PM · Documentation, Bug Report
werner added a comment to T5080: Gpg-agent gets confused when a homedir is moved.

Before step 2.d you should stop gpg-agent and other daemon

Nov 23 2020, 12:04 PM · gnupg (gpg22), Bug Report
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

I highly recommend to use the new ChangeExpiryJob instead of the fragile (and apparently buggy) edit interactor.

Nov 23 2020, 11:56 AM · segv, gpgme, Bug Report
werner closed T5115: OpenPGP card factory-reset and Kleopatra as Resolved.

This was fixed in 2.2.24 with commit rG7f765a98fd662

Nov 23 2020, 11:56 AM · kleopatra, gnupg (gpg22), scd
werner added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

If you want to debug this, I suggest to use a logging socket. Put into all gpg-agent.conf files these lines:

Nov 23 2020, 11:54 AM · gnupg (gpg22), Bug Report
ikloecker added a parent task for T5100: OpenPGP app overwrites Yubikey serial number: T5130: Kleopatra: Generating OpenPGP keys on Yubikey (with PIV enabled) fails with "General error".
Nov 23 2020, 11:12 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker added a subtask for T5130: Kleopatra: Generating OpenPGP keys on Yubikey (with PIV enabled) fails with "General error": T5100: OpenPGP app overwrites Yubikey serial number.
Nov 23 2020, 11:12 AM · kleopatra, Bug Report
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

Can you try if using the overload

Nov 23 2020, 11:06 AM · segv, gpgme, Bug Report
ikloecker added a comment to T5138: Change Reset Code not working in Kleopatra.

As for renaming "Change Reset Code" to "Set Reset Code", what about "Change PIN" and "Change Admin PIN"? Should they also be renamed? If not, why not? Is there no default reset code? Is there a way to find out whether the reset code has already been set (in which case "change" would be more appropriate than "set")?

Nov 23 2020, 11:00 AM · Restricted Project, Feature Request, Bug Report, kleopatra
ikloecker added a comment to T5138: Change Reset Code not working in Kleopatra.

You write

This does not work.

Can you be more specific? What doesn't work? Which OS, which version of Kleopatra, what smartcard are you using?

Nov 23 2020, 10:52 AM · Restricted Project, Feature Request, Bug Report, kleopatra
torra created T5152: PGP/MIME e-mails are not decrypted.
Nov 23 2020, 10:50 AM · Support, gpgol, Bug Report
ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.

Can you try if using the overload

Error Context::exportPublicKeys(const char *patterns[], Data &keyData, unsigned int flags)

which takes an array of patterns instead of a single pattern also crashes?

Nov 23 2020, 10:15 AM · segv, gpgme, Bug Report
ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.

Unless you need some special features of GpgSetExpiryTimeEditInteractor or you have to support gpgme <1.15, I highly recommend to use the new ChangeExpiryJob instead of the fragile (and apparently buggy) edit interactor.

Nov 23 2020, 10:06 AM · segv, gpgme, Bug Report
werner added a comment to T5137: gpg-agent 2.x poor performance / futex errors.

I though about this too but we need to take care about the logging functions of Libgcrypt which are intertwined with nPth (clamp function of libgpg-error).

Nov 23 2020, 9:01 AM · Feature Request, gpgagent

Nov 22 2020

werner triaged T5151: GPGME++ : bad passphrase problems as High priority.
Nov 22 2020, 10:22 AM · segv, gpgme, Bug Report
werner set the color for !assert to Orange.
Nov 22 2020, 10:22 AM
werner edited Description on segv.
Nov 22 2020, 10:20 AM
werner set the color for segv to Red.
Nov 22 2020, 10:18 AM

Nov 21 2020

nmset created T5151: GPGME++ : bad passphrase problems.
Nov 21 2020, 8:42 PM · segv, gpgme, Bug Report

Nov 20 2020

Laurent Montel <montel@kde.org> committed rLIBKLEO2918e31fce25: GIT_SILENT: pedantic (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: pedantic
Nov 20 2020, 10:35 PM
lovetox updated the task description for T5149: Incorrect error handling in export_key_minimal().
Nov 20 2020, 9:29 PM · Python, gpgme, Bug Report
werner added a project to T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards: gnupg (gpg23).
Nov 20 2020, 6:31 PM · Restricted Project, gnupg (gpg23), scd
werner added a project to T5150: scd: For NetKey cards READKEY with keygrip fails: gnupg (gpg23).
Nov 20 2020, 6:31 PM · backport, gnupg (gpg23), scd
aheinecke committed rW5d4ce16e3a94: Update pinentry, kleopatra, libkleo and gpgol (authored by aheinecke).
Update pinentry, kleopatra, libkleo and gpgol
Nov 20 2020, 3:40 PM
aheinecke committed rW1317f2b80373: MSI: Install into GnuPG VS-Desktop folder (authored by aheinecke).
MSI: Install into GnuPG VS-Desktop folder
Nov 20 2020, 3:40 PM
aheinecke committed rW201a8d5f9e0e: Package icons for notepad and list mode (authored by aheinecke).
Package icons for notepad and list mode
Nov 20 2020, 3:40 PM
ikloecker created T5150: scd: For NetKey cards READKEY with keygrip fails.
Nov 20 2020, 3:36 PM · backport, gnupg (gpg23), scd
aheinecke committed rO429620b33426: Add option to disable the S/MIME efail security (authored by aheinecke).
Add option to disable the S/MIME efail security
Nov 20 2020, 3:15 PM