Page MenuHome GnuPG
Feed All Stories

Jul 14 2019

aheinecke closed T4526: GpgOL: Forwarding a mail with attachment as crypto mail removes attachment as Resolved.

This is fixed.

Jul 14 2019, 11:15 AM · Bug Report, gpgol, gpg4win
aheinecke closed T4560: GpgOL: Only quick print possible for encrypted mails as Resolved.

This was fixed with 3.1.9

Jul 14 2019, 11:14 AM · gpg4win, gpgol
aheinecke closed T4528: GpgOL: When forwarding a mail send might need to be pressed twice as Resolved.

This should be fixed.

Jul 14 2019, 11:13 AM · gpg4win, Bug Report, gpgol
aheinecke lowered the priority of T4596: GpgOL: S/MIME Mails with invalid CRL's are not detected as signed when forwarding from Normal to Low.

Testing with the DGN certificate showed that GPGSM returns a signature verification error (invalid digest algorithm) in this case. So the signature summary is not even checked.

Jul 14 2019, 11:12 AM · gpg4win, gpgol

Jul 13 2019

Laurent Montel <montel@kde.org> committed rKLEOPATRA4bbe96a4bce2: GIT_SILENT: Increase dependancy as discussed in release-team@ (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase dependancy as discussed in release-team@
Jul 13 2019, 2:47 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA22a29f59c6c3: GIT_SILENT: Prepare 5.11.80 (19.08.0 beta) (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.11.80 (19.08.0 beta)
Jul 13 2019, 2:47 PM
Laurent Montel <montel@kde.org> committed rLIBKLEO53ce2d4e04fa: GIT_SILENT: Prepare 5.11.80 (19.08.0 beta) (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.11.80 (19.08.0 beta)
Jul 13 2019, 2:17 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOc39c741b5adc: GIT_SILENT: Increase dependancy as discussed in release-team@ (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase dependancy as discussed in release-team@
Jul 13 2019, 2:12 PM
chyen added a comment to T4598: curses: dialog broken with wide characters.

Thanks for all the fixes! I can confirm commit dad35d65f05eb1c15589a7e4755dcae6aed2d6cf works just fine on all my machines (Linux & macOS).

Jul 13 2019, 11:30 AM · pinentry
chrisd created T4620: no support for multiple (yubikey) smartcards plugged in at the same time.
Jul 13 2019, 7:58 AM · Restricted Project, Bug Report

Jul 12 2019

gniibe added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

About importing, there are two other works: repairing and trustdb update. We can figure out the difference by the --import-options of no-repair-keys and fast-import (to skip those works).
I think that both can be O(N^2) for number of signatures.

Jul 12 2019, 11:03 PM · gnupg (gpg23), Bug Report
stm created T4619: Unable to decrypt symmetric-key encrypted data.
Jul 12 2019, 7:49 PM · gnupg24, gnupg (gpg23), Bug Report
werner added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

A linked list of 100000 items is not a usable data structure. The problem however is not the linked list but the DoS due to the number of signatures being well beyond the design limit. 1000 key signatures is already a large number and only few people have them. We need to put a limit on them.

Jul 12 2019, 6:40 PM · gnupg (gpg23), Bug Report
dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

with @gniibe's patches applied, i profiled the --import, since that is where the largest CPU cost remains. I tried two different times:

Jul 12 2019, 2:56 PM · gnupg (gpg23), Bug Report
werner committed rGfb1c8978f57b: scd: Remove useless GNUPG_SCD_MAIN_HEADER macro. (authored by werner).
scd: Remove useless GNUPG_SCD_MAIN_HEADER macro.
Jul 12 2019, 1:41 PM
gniibe changed the status of T4280: gnupg doc doesn't build due to ImageMagick default policy from Open to Testing.

I disabled the dependency rules for the figures (it's only enabled for maintainers).

Jul 12 2019, 1:34 PM · gnupg, Documentation, Info Needed, Bug Report
gniibe committed rG58bab1a8784b: doc: Dependencies for figures are only for maintainers. (authored by gniibe).
doc: Dependencies for figures are only for maintainers.
Jul 12 2019, 10:25 AM
gniibe committed rMd9387650ffb1: python: doc: Add suffix for org files. (authored by gniibe).
python: doc: Add suffix for org files.
Jul 12 2019, 8:43 AM
gniibe committed rM36428d8cf153: python: doc: Remove generated files, put rules in Makefile. (authored by gniibe).
python: doc: Remove generated files, put rules in Makefile.
Jul 12 2019, 8:43 AM
werner added a comment to T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.

@gniibe: We move this issue over to mail. I'll forward it to you.

Jul 12 2019, 8:28 AM · gnupg (gpg22), Bug Report
werner added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

Okay, for 100000 signature this is clearly a win if no key lookup is needed.

Jul 12 2019, 8:27 AM · gnupg (gpg23), Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEO527cb53cc7f5: GIT_SILENT: Prepare 5.11.80 (19.08.0 beta) (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.11.80 (19.08.0 beta)
Jul 12 2019, 8:27 AM
gniibe closed T4275: python gpg binding VCS contains generated files (documentation) as Resolved.

Fixed.

Jul 12 2019, 7:55 AM · gpgme, Bug Report
dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

i also checked the CPU time for git tag -v, whether @gniibe's patches were applied or not.

Jul 12 2019, 6:21 AM · gnupg (gpg23), Bug Report
dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

fwiw, i tried gpg --import on the ascii-armored version of my C4BC2DDB38CCE96485EBE9C2F20691179038E5C6 OpenPGP certificate (22895014 octets, 54614 certifications), followed by gpg --list-keys and gpg --export | wc. I was comparing 2.2.17-1 (from the debian package in unstable) with the exact same source, just with @gniibe's two patches rG33c17a8008c3 and rGa7a043e82555 applied as well. I did this with GNUPGHOME set to an otherwise empty directory, where i had done touch pubring.gpg to avoid the keybox format. (the two runs did not share a GNUPGHOME).

Jul 12 2019, 6:11 AM · gnupg (gpg23), Bug Report
gniibe committed rG4e601c7643fc: Fix a reference in comment. (authored by gniibe).
Fix a reference in comment.
Jul 12 2019, 5:12 AM
dkg committed rGd10bb027e481: doc: fix spelling (authored by dkg).
doc: fix spelling
Jul 12 2019, 3:29 AM
gniibe committed rG89303b9998ea: gpg: Don't try decryption by session key when NULL. (authored by gniibe).
gpg: Don't try decryption by session key when NULL.
Jul 12 2019, 2:30 AM
gniibe added a comment to T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.

If I were testing more, I would generate many (say, 1000, or more, for example) encrypted message by the tool (IBM Encryption Facility), to examine by GnuPG and figure out some patterns of failure.

Jul 12 2019, 2:23 AM · gnupg (gpg22), Bug Report

Jul 11 2019

wiktor-k added a comment to T4618: DANE OpenPGP certificate retrieval does not verify DNSSEC signatures.

Is this really necessary to duplicate functionality that already is provided by Web Key Directory?

Jul 11 2019, 12:25 PM · dns, dirmngr
gniibe added a comment to T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.

While I only observed the output of --list-packet, what I see are:

Jul 11 2019, 9:59 AM · gnupg (gpg22), Bug Report
gniibe claimed T4594: dirmngr appears to unilaterally import system CAs.

With NTBTLS, it seems it works correctly.

Jul 11 2019, 9:36 AM · Bug Report, dirmngr, gnupg (gpg22)
gniibe added projects to T4563: gpg-agent fails to sign request of PKISSH: gpgagent, Info Needed.

Which SSH client are you using?

Jul 11 2019, 8:42 AM · Feature Request, gpgagent
gniibe claimed T4587: pinentry-gnome3 grabs input (is system modal) despite`--no-global-grab` or `OPTION no-grab`.

gpg-agent side is fixed to relax the error handling.

Jul 11 2019, 7:57 AM · gpgagent, pinentry
gniibe committed rG02d8b383833b: agent: Relax the handling of pinentry error for keyboard grab. (authored by gniibe).
agent: Relax the handling of pinentry error for keyboard grab.
Jul 11 2019, 7:56 AM
gniibe committed rGb31060425226: scd: Fix internal CCID driver, so that -DTEST works. (authored by gniibe).
scd: Fix internal CCID driver, so that -DTEST works.
Jul 11 2019, 7:38 AM
gniibe committed rE7ffab1750fde: Fix signedness for a single-bit field. (authored by gniibe).
Fix signedness for a single-bit field.
Jul 11 2019, 7:01 AM
gniibe committed rG2536bf276189: scd: Fix debug logging of the internal CCID driver. (authored by gniibe).
scd: Fix debug logging of the internal CCID driver.
Jul 11 2019, 6:25 AM
gniibe committed rG29c7fb4053d2: gpg: Fix getting User ID. (authored by gniibe).
gpg: Fix getting User ID.
Jul 11 2019, 5:40 AM
gniibe closed T4598: curses: dialog broken with wide characters as Resolved.
Jul 11 2019, 3:53 AM · pinentry
gniibe added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

For the particular problem of --list-key with pubring.gpg, I think we can say it's fixed.

Jul 11 2019, 3:13 AM · gnupg (gpg23), Bug Report
gniibe claimed T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

@werner : Yes, the way to go is having something like a server for keys; It can remove all unnecessary search/lookup all together.

Jul 11 2019, 2:18 AM · gnupg (gpg23), Bug Report

Jul 10 2019

dkg added a comment to T4618: DANE OpenPGP certificate retrieval does not verify DNSSEC signatures.

I agree, many currently-shipped DNS client library implementations do not provide DNSSEC validity checks.

Jul 10 2019, 9:44 PM · dns, dirmngr
werner added a comment to T4541: C implementation of AES is vulnerable to side-channel attacks.

Check out the mailing list gcrypt-devel@

Jul 10 2019, 7:23 PM · side-channel, libgcrypt, Bug Report
werner triaged T4618: DANE OpenPGP certificate retrieval does not verify DNSSEC signatures as Normal priority.

Sure it is not validated. Standard clients do not provide the system features to do that. That is one of the problems with DNSSEC adoption - it works only for servers in practice.

Jul 10 2019, 7:17 PM · dns, dirmngr
ware added a comment to T4541: C implementation of AES is vulnerable to side-channel attacks.

Folks, I was just wondering if I could get an update on where we are with this bug. It seems we aren't sure if it's a real issue or not. What's the latest thought?

Jul 10 2019, 7:17 PM · side-channel, libgcrypt, Bug Report
dkg created T4618: DANE OpenPGP certificate retrieval does not verify DNSSEC signatures.
Jul 10 2019, 6:48 PM · dns, dirmngr
Valodim updated subscribers of T4617: Odd behavior for HTTP(S) scheme in --keyserver config.

Ah, that makes sense, good catch. Seems this is just an issue of documentation, then.

Jul 10 2019, 6:20 PM · Documentation, Keyserver, dirmngr
dkg added projects to T4617: Odd behavior for HTTP(S) scheme in --keyserver config: dirmngr, Keyserver.
Jul 10 2019, 6:11 PM · Documentation, Keyserver, dirmngr
dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

(i think that rG33c17a8008c3ba3bb740069f9f97c7467f156b54 is also relevant, though it was not tagged with this ticket)

Jul 10 2019, 6:10 PM · gnupg (gpg23), Bug Report
dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

@gniibe -- thank you very much for tracking down these O(N^2) operations and cleaning them up. I will profile the effect of those changes and report my findings.

Jul 10 2019, 6:09 PM · gnupg (gpg23), Bug Report
dkg added a comment to T4617: Odd behavior for HTTP(S) scheme in --keyserver config.

aiui, a keyserver scheme of https:// implies that the specific URL is to be queried directly, not using any of the HKPS URL path patterns.

Jul 10 2019, 5:03 PM · Documentation, Keyserver, dirmngr
Valodim created T4617: Odd behavior for HTTP(S) scheme in --keyserver config in the S1 Public space.
Jul 10 2019, 4:52 PM · Documentation, Keyserver, dirmngr
Valodim added a comment to T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default.

We should put it of the agenda od the Brussesl summit in 3 weeks. I have a few ideas what we can do in gpg.

Jul 10 2019, 4:36 PM · gnupg, Keyserver
mkrambach closed T4517: de-mail and GPG with Smart Card no decryption as Resolved.
Jul 10 2019, 3:01 PM · Bug Report, gpg4win
steve awarded T4393: GnuPG should always accept key updates even if the update does not contain UIDs a Like token.
Jul 10 2019, 2:05 PM · gnupg (gpg23), Feature Request
steve added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

We as GPGTools would also like to see this addition being integrated into GnuPG, since we do plan to switch to keys.openpgp.org in the near future, as we have long been hoping for a key server with better performance and among other things email verification. Without this change, revocations would not work as expected in combination with hagrid however. Preferably of course in the 2.2.X branch.

Jul 10 2019, 2:05 PM · gnupg (gpg23), Feature Request
JW-D added a comment to T4517: de-mail and GPG with Smart Card no decryption.

Hi Maximilian,

Jul 10 2019, 12:55 PM · Bug Report, gpg4win
mkrambach added a comment to T4517: de-mail and GPG with Smart Card no decryption.

Hi, @JW-D, as the 'fixed' version of mailvelope has been released, could you please confirm if the issue is solved for you with mailvelope 3.3.1, or if you're still affected? Thank you.

Jul 10 2019, 10:27 AM · Bug Report, gpg4win
werner updated subscribers of T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

@gniibe: I doubt that your fix really makes a difference. The majority of time is spend on searching the keyring for keys. This is why I have the gpgk thing in the works.

Jul 10 2019, 8:50 AM · gnupg (gpg23), Bug Report
gniibe committed rG33c17a8008c3: gpg: Improve import slowness. (authored by gniibe).
gpg: Improve import slowness.
Jul 10 2019, 8:44 AM
gniibe committed rGa7a043e82555: gpg: Fix keyring retrieval. (authored by gniibe).
gpg: Fix keyring retrieval.
Jul 10 2019, 8:10 AM
gniibe claimed T4597: Support GCM modes for ntbtls..

I pushed my change as: rT7b2c4d9dd50b: Support GCM.
Please test.

Jul 10 2019, 4:51 AM · Restricted Project, Feature Request, ntbtls
gniibe committed rPdad35d65f05e: curses: Fix more. (authored by gniibe).
curses: Fix more.
Jul 10 2019, 2:16 AM
gniibe added a comment to T4598: curses: dialog broken with wide characters.

I pushed the fix. Thanks for your cooperation.

Jul 10 2019, 2:15 AM · pinentry
gniibe added a comment to T4598: curses: dialog broken with wide characters.

Thanks for further testing.
I realized that it's not the left border drawing problem in fact, but the newline should be between the description and passphrase line.
I'm going to fix this.

Jul 10 2019, 2:07 AM · pinentry
gniibe added a comment to T4606: Release GnuPG 2.2.17.

Err... my repo for 2.2 was a week old. Now, I updated, and confirmed it's there.
Thanks having the support!

Jul 10 2019, 1:25 AM · Release Info, gnupg (gpg22)

Jul 9 2019

aheinecke committed rDb6de92f239d5: Fix link for 2.1.17 announcement. (authored by aheinecke).
Fix link for 2.1.17 announcement.
Jul 9 2019, 9:19 PM
werner committed rD8682e3571b01: swdb: Release gnupg 2.2.17 (authored by werner).
swdb: Release gnupg 2.2.17
Jul 9 2019, 7:20 PM
werner committed rD6a6ff3270c5e: web: Announce 2.2.17 (authored by werner).
web: Announce 2.2.17
Jul 9 2019, 7:20 PM
chyen added a comment to T4598: curses: dialog broken with wide characters.

Thanks for the further fix! With that only a minor hiccup remains:

Jul 9 2019, 6:19 PM · pinentry
werner closed T4606: Release GnuPG 2.2.17 as Resolved.

Release done.

Jul 9 2019, 5:21 PM · Release Info, gnupg (gpg22)
werner committed rG2671c4dda3db: Post release updates (authored by werner).
Post release updates
Jul 9 2019, 4:57 PM
werner committed rGe58dd1e7364c: po: Auto update (authored by werner).
po: Auto update
Jul 9 2019, 4:57 PM
werner committed rGad0c61972a41: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
Jul 9 2019, 4:57 PM
werner committed rG591523ec94b6: Release 2.2.17 (authored by werner).
Release 2.2.17
Jul 9 2019, 4:57 PM
werner committed rG4f8149b94620: po: Update Czech translation (authored by petr_p).
po: Update Czech translation
Jul 9 2019, 4:57 PM
werner committed rGbec3a6ee2e50: po: Update Polish translation (authored by werner).
po: Update Polish translation
Jul 9 2019, 4:57 PM
werner committed rG05abc36a12b1: po: Update German translation (authored by werner).
po: Update German translation
Jul 9 2019, 4:57 PM
slandden added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

Managed to get the build correct. (patches in 1 sec)

Jul 9 2019, 4:42 PM
werner closed T4577: extended-key-format test of openpgp/decrypt-unwrap-verify.scm fails on sparc64 and x32 as Resolved.
Jul 9 2019, 3:22 PM · gpgagent, gnupg, Bug Report
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2019q3/000439.html on T4606: Release GnuPG 2.2.17.
Jul 9 2019, 3:21 PM · Release Info, gnupg (gpg22)
werner added a comment to T4606: Release GnuPG 2.2.17.

I did this already on July 3 with commit 458973f502b9a43ecf29e804a2c0c86e78f5927a

Jul 9 2019, 1:27 PM · Release Info, gnupg (gpg22)
werner added a comment to T4615: gpg.exe very slow.

You probably have one of the spammed keys in your keyring. This is a problem with the keyserver networks. Do not use --auto-key-retrieve and avoid using the keyservers until we provide a mitigation with the next gpg4win/gnupg release. See also T4591

Jul 9 2019, 12:25 PM · Bug Report, gpg4win
bernhard committed rW13aaebce2859: Fix publication date on spoofing statement (authored by bernhard).
Fix publication date on spoofing statement
Jul 9 2019, 11:31 AM
bernhard committed rWa32ae85c3bce: Improved main page (authored by bernhard).
Improved main page
Jul 9 2019, 11:31 AM
werner committed rGb6effaf4669b: gpg: Fix regression in option "self-sigs-only". (authored by werner).
gpg: Fix regression in option "self-sigs-only".
Jul 9 2019, 11:26 AM
werner committed rG3c2cf5ea9520: gpg: Do not try the import fallback if the options are already used. (authored by werner).
gpg: Do not try the import fallback if the options are already used.
Jul 9 2019, 11:26 AM
werner committed rGa29156d5a650: gpg: Do not try the import fallback if the options are already used. (authored by werner).
gpg: Do not try the import fallback if the options are already used.
Jul 9 2019, 11:15 AM
werner committed rGeec150eca78a: gpg: Fix regression in option "self-sigs-only". (authored by werner).
gpg: Fix regression in option "self-sigs-only".
Jul 9 2019, 11:15 AM
gniibe committed rG37d758e5f2b5: sm: Fix card access. (authored by gniibe).
sm: Fix card access.
Jul 9 2019, 10:03 AM
gniibe committed rPa03f39207148: curses: Fix handling of newline in description. (authored by gniibe).
curses: Fix handling of newline in description.
Jul 9 2019, 9:30 AM
gniibe committed rP67a7cfa12d15: curses: Fix width calculation. (authored by gniibe).
curses: Fix width calculation.
Jul 9 2019, 9:09 AM
chyen added a comment to T4598: curses: dialog broken with wide characters.

Thanks for the update! With git-master, the toy example above works fine. However, pinentry-curses seems to hang with real commands from gpg. Here is an example:

$ ./curses/pinentry-curses 
OK Pleased to meet you
SETDESC 請輸入密語來解鎖 OpenPGP 私鑰:%0A%22Chih-Hsuan Yen <yan12125@gmail.com>%22%0A3072 位元長的 DSA 金鑰, ID F98EF2A7B0A098AE,%0A建立於 2018-04-25 (主要金鑰 ID 3FDDD575826C5C30).%0A
OK
SETPROMPT 密語:
OK
GETPIN

(CPU usage of ./curses/pinentry-curses goes > 90%)

Jul 9 2019, 9:06 AM · pinentry
gniibe committed rP9298cca67742: curses: Fix calculation of columns for CJK text. (authored by gniibe).
curses: Fix calculation of columns for CJK text.
Jul 9 2019, 7:41 AM
gniibe added a comment to T4598: curses: dialog broken with wide characters.

I pushed the change to master.
Please test.

Jul 9 2019, 7:23 AM · pinentry
gniibe claimed T4598: curses: dialog broken with wide characters.
Jul 9 2019, 7:20 AM · pinentry
gniibe added a comment to T4606: Release GnuPG 2.2.17.

Please consider to backport rG914fa3be22bf: dirmngr: Support the new WKD draft with the openpgpkey subdomain. from master. Cherry-pick mostly works, only dirmngr/server.c needs manual edit (because of resolve_dns_name change).
Allowing WKD service by subdomain (openpgpkey) is good, because it is easier to deploy by separate admin, in some situations.

Jul 9 2019, 4:46 AM · Release Info, gnupg (gpg22)
gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

I pushed my change of rGc51a5685554a: scd: ccid-driver: Initial getting ATR more robustly..
With TTXS, scdaemon correctly recovers from the error.

Jul 9 2019, 4:02 AM · gnupg, scd
gniibe committed rGc51a5685554a: scd: ccid-driver: Initial getting ATR more robustly. (authored by gniibe).
scd: ccid-driver: Initial getting ATR more robustly.
Jul 9 2019, 4:01 AM