Page MenuHome GnuPG
Feed All Stories

Sep 4 2020

aheinecke committed rOe839ad2eb4f5: Auto: Update l10n (authored by aheinecke).
Auto: Update l10n
Sep 4 2020, 1:10 PM
aheinecke committed rO80782101193f: Fix release date (authored by aheinecke).
Fix release date
Sep 4 2020, 1:10 PM
werner committed rG0e721b635d61: scd: Increase the number of supported readers from 4 to 16. (authored by werner).
scd: Increase the number of supported readers from 4 to 16.
Sep 4 2020, 12:52 PM
aheinecke committed rO1da8ce950401: Enforce sync_enc option (authored by aheinecke).
Enforce sync_enc option
Sep 4 2020, 12:20 PM
aheinecke committed rObf2c6ff4b4b0: Reduce version to 2.4.7 (authored by aheinecke).
Reduce version to 2.4.7
Sep 4 2020, 12:20 PM
aheinecke committed rO7d4c97bf7328: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Sep 4 2020, 12:20 PM
aheinecke closed T4388: GpgOL: Add draft encryption as an option. as Resolved.
Sep 4 2020, 12:05 PM · Feature Request, gpg4win, gpgol
werner committed rG65eb1569809a: gpg: Initialize a parameter to silence valgrind. (authored by werner).
gpg: Initialize a parameter to silence valgrind.
Sep 4 2020, 11:33 AM
werner committed rGb7f56ba5e3cc: tests: New test run envvar to run gpg under valgrind. (authored by werner).
tests: New test run envvar to run gpg under valgrind.
Sep 4 2020, 11:33 AM
werner committed rG6ce8fdc4b2a0: gpg: Initialize a parameter to silence valgrind. (authored by werner).
gpg: Initialize a parameter to silence valgrind.
Sep 4 2020, 11:29 AM
werner committed rG8a2193380c07: tests: New test run envvar to run gpg under valgrind. (authored by werner).
tests: New test run envvar to run gpg under valgrind.
Sep 4 2020, 11:29 AM
gniibe committed rG43bbc25b0f57: scd: Support GET DATA response with no header for DO 0x00FA. (authored by gniibe).
scd: Support GET DATA response with no header for DO 0x00FA.
Sep 4 2020, 10:18 AM
werner added a comment to T5050: AEAD preference list overflow in 2.2.

Small correction: The fixed byte I talked about may have the values 1, 2, 3, or 4.

Sep 4 2020, 9:06 AM · gnupg (gpg22), CVE
l10n daemon script <scripty@kde.org> committed rKLEOPATRAcd2501a5a279: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Sep 4 2020, 8:16 AM
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Unfortunately you can't pass extra arguments.

Sep 4 2020, 7:47 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe committed rGeba2563dabbb: scd: Parse "Algorithm Information" data object in scdaemon. (authored by gniibe).
scd: Parse "Algorithm Information" data object in scdaemon.
Sep 4 2020, 7:46 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAea2d083ae062: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Sep 4 2020, 2:30 AM
gniibe added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

Thanks for your information. No debug output any more, as I already figured out things.

Sep 4 2020, 1:53 AM · Restricted Project, ssh, Bug Report
gpguser123 awarded T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent a Mountain of Wealth token.
Sep 4 2020, 1:00 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 3 2020

werner committed rDb371eb414522: web: Add CVE id. (authored by werner).
web: Add CVE id.
Sep 3 2020, 10:11 PM
werner updated the task description for T5045: Release GnuPG 2.2.23.
Sep 3 2020, 9:57 PM · gnupg, Release Info
werner added a comment to T5050: AEAD preference list overflow in 2.2.

This has CVE-2020-25125

Sep 3 2020, 9:56 PM · gnupg (gpg22), CVE
werner committed rDc36c66a4cba3: web: Announce gnupg 2.2.23 (authored by werner).
web: Announce gnupg 2.2.23
Sep 3 2020, 6:57 PM
werner added a comment to T5050: AEAD preference list overflow in 2.2.

2.2.23 has been released and announced.

Sep 3 2020, 6:49 PM · gnupg (gpg22), CVE
werner closed T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as Resolved.
Sep 3 2020, 6:48 PM · Restricted Project, gnupg (gpg22), Bug Report
werner set Version to GnuPG 2.2.23 on T5045: Release GnuPG 2.2.23.
Sep 3 2020, 6:48 PM · gnupg, Release Info
werner shifted T5050: AEAD preference list overflow in 2.2 from the Restricted Space space to the S1 Public space.
Sep 3 2020, 6:44 PM · gnupg (gpg22), CVE
werner committed rDc11481827401: swdb: Release 2.2.23 (authored by werner).
swdb: Release 2.2.23
Sep 3 2020, 6:04 PM
werner committed rG390ae3c3099d: Post release updates (authored by werner).
Post release updates
Sep 3 2020, 5:54 PM
werner committed rGe234d04c3c91: Release 2.2.23 (authored by werner).
Release 2.2.23
Sep 3 2020, 5:54 PM
werner committed rGaeb8272ca8aa: gpg: Fix AEAD preference list overflow (authored by werner).
gpg: Fix AEAD preference list overflow
Sep 3 2020, 5:54 PM
werner committed rG038314665398: po: auto update (authored by werner).
po: auto update
Sep 3 2020, 5:54 PM
werner committed rG1a4b0fd793aa: po: Update Ukrainian translation (authored by Yuri Chornoivan <yurchor@ukr.net>).
po: Update Ukrainian translation
Sep 3 2020, 5:54 PM
werner committed rG93d10403adc6: po: Update Polish translation (authored by Jakub Bogusz <qboosh@pld-linux.org>).
po: Update Polish translation
Sep 3 2020, 5:54 PM
werner committed rGa8a8105bc756: po: Add key-check.c to the list of translatable sources. (authored by werner).
po: Add key-check.c to the list of translatable sources.
Sep 3 2020, 5:54 PM
werner committed rGcad9955ac999: po: Update Czech translation. (authored by petr_p).
po: Update Czech translation.
Sep 3 2020, 5:54 PM
werner created T5052: Release GnuPG 2.2.24.
Sep 3 2020, 5:48 PM · Release Info, gnupg (gpg22)
aheinecke created T5051: Kleopatra: Public key export not shown in Key Creation final dialog.
Sep 3 2020, 5:28 PM · kleopatra
werner added a comment to T5050: AEAD preference list overflow in 2.2.

The fix will be in the 2.2.23 release (T5045).

Sep 3 2020, 5:20 PM · gnupg (gpg22), CVE
ccx added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

In case of Ed25519 certificate signed by Ed25519 key with only few names and flags it seems to be just below 500 bytes. This could of course grow if names are added or larger public key is being signed.

Sep 3 2020, 5:14 PM · Restricted Project, ssh, Bug Report
gpguser123 added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@bvieira You need to set pinentry-mode=loopback for gpg program used in git.

Sep 3 2020, 4:22 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner created T5050: AEAD preference list overflow in 2.2 in the Restricted Space space.
Sep 3 2020, 3:21 PM · gnupg (gpg22), CVE
aheinecke created T5049: Kleopatra: Support search tags in certificate selection dialog for files.
Sep 3 2020, 2:26 PM · kleopatra
werner committed rGa7d006293ec8: sm: Add arg ctrl to keydb_new. (authored by werner).
sm: Add arg ctrl to keydb_new.
Sep 3 2020, 1:50 PM
werner committed rG046f419f8060: sm: New options to prepare the use of keyboxd. (authored by werner).
sm: New options to prepare the use of keyboxd.
Sep 3 2020, 1:50 PM
gniibe committed rG90d0072165cc: scd: Add handling of "Algorithm Information" DO. (authored by gniibe).
scd: Add handling of "Algorithm Information" DO.
Sep 3 2020, 1:03 PM
ikloecker committed rM4d87ea2851ae: cpp: Copy some more subkey properties when merging keys (authored by ikloecker).
cpp: Copy some more subkey properties when merging keys
Sep 3 2020, 12:33 PM
werner added a comment to T5048: Error handling in libassuan.

To implement this it would be best to have an gpg_strerror variant which does not call dgettext.

Sep 3 2020, 10:01 AM · gpgrt, libassuan
werner added a comment to T5048: Error handling in libassuan.

re 1: Correct utf-8 truncation would be quite some work. In this case the message is in the Assuan interface is a debugging aid. Translation is not necessary so we can try to disable it.

Sep 3 2020, 9:55 AM · gpgrt, libassuan
werner closed T5047: can not find the runtime library libgcc_s_sjlj-1.dll as Invalid.

You need to get you toolchain correctly installed.

Sep 3 2020, 8:37 AM · Bug Report, gpg4win
pgh added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.

After randomly finding this issue I wonder: Is it possible (and does it make sense) to change the title of this bus to something like "big key causes massive CPU usage" (if I understood it all correctly)?

Sep 3 2020, 7:58 AM · gnupg (gpg22)
gniibe updated the task description for T5048: Error handling in libassuan.
Sep 3 2020, 4:46 AM · gpgrt, libassuan
gniibe created T5048: Error handling in libassuan.
Sep 3 2020, 4:45 AM · gpgrt, libassuan
gniibe added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

Well, from the viewpoint of card specification, "a message M of arbitrary size" for Ed25519/Ed448 in RFC8032 is not good, because card has a limit for buffer size and the protocol in the OpenPGP card specification requires the steps of (1) the message M is buffered and then (2) the compute the signature.

Sep 3 2020, 3:15 AM · Restricted Project, ssh, Bug Report
gniibe added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

It's a different issue: Gnuk doesn't support length of 3072, only 2048 and 4096.

Sep 3 2020, 1:54 AM · Restricted Project, gnupg (gpg22), Bug Report
rkolvick added a comment to T5042: File deletion during encryption.

Thanks for your reply, but it is an OPTIONAL feature. The annoying part is not deleting the files. Comparing hundreds of time stamps to ensure you are current on what you want encrypted vs. unencrypted files that are either under development and/or complete, and therefore ready for encryption. This frequently needed comparison takes a significant amount of time, and is prone to error. Any responsible user will ensure there are tested file backups to prevent catastrophic losses, or they can simply NOT use the option.

Sep 3 2020, 12:08 AM · gpg4win, Feature Request

Sep 2 2020

avemilia created T5047: can not find the runtime library libgcc_s_sjlj-1.dll.
Sep 2 2020, 11:03 PM · Bug Report, gpg4win
zetrick updated the task description for T5044: GpgOL does not parse signed mails.
Sep 2 2020, 7:03 PM · gpgol, Bug Report, gpg4win
dblouis updated the task description for T5046: Exporting secret keys via gpgme.
Sep 2 2020, 5:41 PM · gpgme, Bug Report
dblouis created T5046: Exporting secret keys via gpgme.
Sep 2 2020, 5:30 PM · gpgme, Bug Report
werner created T5045: Release GnuPG 2.2.23.
Sep 2 2020, 4:41 PM · gnupg, Release Info
werner added a comment to T5030: Release GnuPG 2.2.22 .

A bug was reported against this version which could happen also to older versions of GnuPG 2.2. In case of a crash please apply the patch over at rG8ec9573e57866dda5efb4677d4454161517484bc or wait for 2.2.23

Sep 2 2020, 4:16 PM · gnupg (gpg22), Release Info
werner committed rG896c528ba055: gpg: Fix segv importing certain keys. (authored by werner).
gpg: Fix segv importing certain keys.
Sep 2 2020, 4:12 PM
werner added a comment to rG8ec9573e5786: gpg: Fix segv importing certain keys..

See https://bugzilla.opensuse.org/show_bug.cgi?id=1176034 for the original bug report. I was not able to replicate the crash but the bad reads. The error is pretty obvious: The code expects that all fields are zeroed out.

Sep 2 2020, 4:10 PM
werner committed rG8ec9573e5786: gpg: Fix segv importing certain keys. (authored by werner).
gpg: Fix segv importing certain keys.
Sep 2 2020, 4:07 PM
werner committed rG497db0b5bcd6: keyboxd: Restructure client access code. (authored by werner).
keyboxd: Restructure client access code.
Sep 2 2020, 4:07 PM
werner committed rG4d839f5a8083: keyboxd: Fix user id based queries (authored by werner).
keyboxd: Fix user id based queries
Sep 2 2020, 4:07 PM
werner committed rG2042f5a4641f: common: New helper function gnupg_close_pipe. (authored by werner).
common: New helper function gnupg_close_pipe.
Sep 2 2020, 4:07 PM
bvieira added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I'm actually trying to do the following:

Sep 2 2020, 2:10 PM · Not A Bug, workaround, gnupg24, Windows, ssh
avemilia added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

In the meantime you can use [0]. I have tested with ssh key on yubikey and AuthenticationMethods publickey, win32-ssh (or ssh-portable, which is the new repository name) correctly works with gpg and pinentry is called. Despite it being called wsl, wsl environment is not required.

Sep 2 2020, 1:59 PM · Not A Bug, workaround, gnupg24, Windows, ssh
zetrick created T5044: GpgOL does not parse signed mails.
Sep 2 2020, 1:36 PM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

Hi,
I have tested a GnuPG Token with Gpg4win-3.1.12 and generating a key with Kleopatra did not work
With 2.2.23-beta4 that contains: 0a9665187a7cbf68933b7162fb5f974177684a50 I have repeated the test on Linux and first the key-attr change that Kleopatra sends fails:

Sep 2 2020, 1:24 PM · Restricted Project, gnupg (gpg22), Bug Report
zetrick created T5043: GpgOL does not work in parallel with Kopano Outlook Extension.
Sep 2 2020, 1:18 PM · Bug Report, gpgol, gpg4win
aheinecke added a comment to T5042: File deletion during encryption.

See also: T3506

Sep 2 2020, 12:50 PM · gpg4win, Feature Request
aheinecke closed T5042: File deletion during encryption as Wontfix.

I have removed that feature intentionally. There were some issues where encryption errors were not properly reported to Kleopatra and handled by Kleopatra. This could result in catastrophic data loss. I have fixed ~3 issues regarding to that and then decided that in our architecture we cannot absolutely guarantee that this never can happen and cannot happen in the future. We have resolved all the issues, but they could occur again.

Sep 2 2020, 12:49 PM · gpg4win, Feature Request
werner edited projects for T5042: File deletion during encryption, added: Feature Request, gpg4win; removed Bug Report.
Sep 2 2020, 10:36 AM · gpg4win, Feature Request
rkolvick created T5042: File deletion during encryption.
Sep 2 2020, 6:31 AM · gpg4win, Feature Request
gniibe claimed T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).
Sep 2 2020, 5:42 AM · Restricted Project, ssh, Bug Report
gniibe added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

I just confirmed that Gnuk has a limitation for the input length is less than or equals to 256.
So, this is the issue of Gnuk, not GnuPG (or at least, Gnuk has the problem).

Sep 2 2020, 5:40 AM · Restricted Project, ssh, Bug Report
gniibe added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

Please show us concrete example of debug output by scdaemon, when you run ssh-keygen.
You can have a setup in .gnupg/scdaemon.conf like:

Sep 2 2020, 5:11 AM · Restricted Project, ssh, Bug Report

Sep 1 2020

werner committed rG2cd8bae23d73: Use only one copy of the warn_server_mismatch function. (authored by werner).
Use only one copy of the warn_server_mismatch function.
Sep 1 2020, 8:45 PM
ccx updated the task description for T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).
Sep 1 2020, 4:24 PM · Restricted Project, ssh, Bug Report
ccx added a comment to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).

I've meant scdaemon rather than OpenSC. I'll correct the descritpion.

Sep 1 2020, 4:23 PM · Restricted Project, ssh, Bug Report
werner added a project to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation): ssh.

gpg-agent has only very limited support for ssh certificates which is the reason that your command fails.

Sep 1 2020, 2:47 PM · Restricted Project, ssh, Bug Report
ccx updated the task description for T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).
Sep 1 2020, 2:20 PM · Restricted Project, ssh, Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEOe2f22d0992e1: Remove unused LIBRARY_NAMELINK (authored by Laurent Montel <montel@kde.org>).
Remove unused LIBRARY_NAMELINK
Sep 1 2020, 2:02 PM
ccx created T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation).
Sep 1 2020, 1:51 PM · Restricted Project, ssh, Bug Report
werner added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

I should add a test with Gnuk to my Windows quick test after a release.

Sep 1 2020, 8:50 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rG0a9665187a7c: scd: Fix a regression for OpenPGP card. (authored by gniibe).
scd: Fix a regression for OpenPGP card.
Sep 1 2020, 8:49 AM
gniibe added a project to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status: Restricted Project.

Thanks a lot. Applied and pushed.

Sep 1 2020, 8:27 AM · Restricted Project, gnupg (gpg22), Bug Report
mgorny added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

I can confirm that the patch seems to resolve the issue for me.

Sep 1 2020, 8:02 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe updated the task description for T5001: Card specification enhancement.
Sep 1 2020, 7:23 AM · Feature Request, scd
gniibe triaged T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as High priority.
Sep 1 2020, 7:11 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

I think that following patch can solve the issue:

Sep 1 2020, 7:10 AM · Restricted Project, gnupg (gpg22), Bug Report

Aug 31 2020

Christoph Feck <cfeck@kde.org> committed rKLEOPATRA948ba2bf5416: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Aug 31 2020, 9:23 PM
Christoph Feck <cfeck@kde.org> committed rKLEOPATRAd9b46fc0d08a: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Aug 31 2020, 9:21 PM
ikloecker committed rKLEOPATRAf79dceeb258b: Add "Transfer to Card" action to key list (authored by ikloecker).
Add "Transfer to Card" action to key list
Aug 31 2020, 8:25 PM
avemilia awarded T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent a Love token.
Aug 31 2020, 5:17 PM · Not A Bug, workaround, gnupg24, Windows, ssh
glr added a comment to T3362: Prevent Smartcard from caching PIN when cache-ttl is set accordingly.

There is not a lot of demand for this, thus we have not continued to think about it.

@gniibe: We could implement this on the card by extending our ugly hacks on the login-data DO, which are currently:

Everything up to a LF is considered a mailbox or account name.  If
the first LF is followed by DC4 (0x14) control sequence are
expected up to the next LF.  Control sequences are separated by FS
(0x18) and consist of key=value pairs.  There are two keys defined:

 F=<flags>

 Where FLAGS is a plain hexadecimal number representing flag values.
 The lsb is here the rightmost bit.  Defined flags bits are:

   Bit 0 = CHV1 and CHV2 are not synchronized
   Bit 1 = CHV2 has been set to the default PIN of "123456"
           (this implies that bit 0 is also set).

 P=<pinpad-request>

 Where PINPAD_REQUEST is in the format of: <n> or <n>,<m>.
 N for user PIN, M for admin PIN.  If M is missing it means M=N.
 0 means to force not to use pinpad.

A new 'C' flag maybe?

Aug 31 2020, 5:10 PM · Feature Request
werner added a comment to T3362: Prevent Smartcard from caching PIN when cache-ttl is set accordingly.

There is not a lot of demand for this, thus we have not continued to think about it.

Aug 31 2020, 4:24 PM · Feature Request