Page MenuHome GnuPG
Feed All Stories

Jul 11 2019

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
gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

When the computer is going to suspend, the scdaemon receives a message from USB layer as the interrupt transfer is shutting down, then scdaemon considers it's removal of device/card.
But in case of suspend (and the device does not support USB suspend), USB port is kept with the power.
So, it keeps running actually.

Jul 9 2019, 3:07 AM · gnupg, scd
gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

Here are results of my experiment with Intel NUC computer (which supports S4 (and S3)).

Jul 9 2019, 2:53 AM · gnupg, scd
slandden added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

I find Phabricator differential interface is quite horrible to use.

Jul 9 2019, 12:09 AM

Jul 8 2019

stm added a comment to T3389: canonical OpenPGP certificate export.

then they are sorted by their binary content.

Jul 8 2019, 9:46 PM · gnupg, Feature Request
jukivili added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
In D494#4450, @slandden wrote:

I will leave these in the main file, as they might benefit from "static", and I do not want to rely on LTO for that.

Jul 8 2019, 9:21 PM
slandden added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

(if I ever get PPC HW access).

Jul 8 2019, 8:02 PM
slandden added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

and cryptogam wrapper functions

Jul 8 2019, 8:01 PM
dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

yes, python2.7 and python3.7

Jul 8 2019, 5:55 PM · gpgme, Python, Bug Report
jukivili edited reviewers for D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher, added: jukivili; removed: jwilk.
Jul 8 2019, 4:02 PM
jukivili added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

Thanks. I really like this Altivec intrinsic approach. I might reimplement rest of the bulk block cipher functions this way later (if I ever get PPC HW access).

Jul 8 2019, 4:02 PM
jukivili added a task to D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions.: T4530: libgcrypt: POWER SHA-2 Vector Acceleration.
Jul 8 2019, 2:57 PM
jukivili added a revision to T4530: libgcrypt: POWER SHA-2 Vector Acceleration: D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
Jul 8 2019, 2:57 PM · libgcrypt, Feature Request
jukivili added a revision to T4529: libgcrypt: POWER AES Vector Acceleration: D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
Jul 8 2019, 2:57 PM · libgcrypt, Feature Request
jukivili added a task to D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions.: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:57 PM
jukivili added a task to D493: AES block modes for PPC: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:55 PM
jukivili added revisions to T4529: libgcrypt: POWER AES Vector Acceleration: D493: AES block modes for PPC, D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
Jul 8 2019, 2:55 PM · libgcrypt, Feature Request
jukivili added a task to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:55 PM
jukivili added a parent task for T4531: PowerPC performance improvements: T4460: libgcrypt performance TODOs.
Jul 8 2019, 2:52 PM
jukivili added a subtask for T4460: libgcrypt performance TODOs: T4531: PowerPC performance improvements.
Jul 8 2019, 2:52 PM · libgcrypt
aheinecke created T4616: Smartcard: Card reset required - It should be automatic.
Jul 8 2019, 2:30 PM · gnupg, scd
werner added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

Using several python versions?

Jul 8 2019, 9:53 AM · gpgme, Python, Bug Report
werner added a comment to rG39c40e572c56: scd: Fix keygrip search..

Sorry for that

Jul 8 2019, 9:51 AM
gniibe added a comment to T4158: UIF (User Interaction Flag) DO support.

No. I intentionally select: Not-backporting this feature.
The feature is added for Yubikey, in the specification.
Use of the feature by Data-Object is not that so useful.

Jul 8 2019, 9:21 AM · Restricted Project, Feature Request, scd, gnupg
gniibe committed rG39c40e572c56: scd: Fix keygrip search. (authored by gniibe).
scd: Fix keygrip search.
Jul 8 2019, 5:32 AM
dkg reopened T4276: Context.decrypt() throws an error if *any* signature is bad as "Open".

rM7d0a979c07d2 disabled the test for this. @werner says:

Jul 8 2019, 4:38 AM · gpgme, Python, Bug Report

Jul 5 2019

slandden updated subscribers of D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

@gcwilson Can you notify the performance team of this new patch?

Jul 5 2019, 7:42 PM
slandden updated the summary of D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
Jul 5 2019, 7:38 PM
slandden created D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
Jul 5 2019, 7:38 PM
pschoenb created T4615: gpg.exe very slow.
Jul 5 2019, 6:45 PM · Bug Report, gpg4win
werner added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

Because this is a GPGME bug.

Jul 5 2019, 6:36 PM · gpgme, Bug Report
werner added a comment to T4607: enable `import-clean` by default.

That is a limit for the web key service to publish a certificate. IIRC, Debian developers do not use this but Debian creates the WKD from a database.

Jul 5 2019, 6:34 PM · Feature Request
dkg added a comment to T4607: enable `import-clean` by default.

This is especially relevant if you are not going to implement the fallback to import-clean that was proposed in T4591.

Jul 5 2019, 5:58 PM · Feature Request
dkg added a comment to T4607: enable `import-clean` by default.

I see that you have lowered the WKD limit to 64KiB with 6396f8d115f21ae15571b683e9ac9d1d7e3f44f4 -- i think this is a mistake, as reasonable certificates can be several times that size (e.g. zack's cleaned certificate, mentioned above). I'd prefer a limit of 256KiB.

Jul 5 2019, 5:56 PM · Feature Request
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

why is this fix not relevant for the 2.2 stable branch? I've had no feedback on this proposed patch.

Jul 5 2019, 5:51 PM · gpgme, Bug Report
werner committed rG40ea9dbdc29b: Prepare NEWS for the next release (authored by werner).
Prepare NEWS for the next release
Jul 5 2019, 3:45 PM
Valodim added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

and from my understanding they are sending the self-signatures anyway.

Jul 5 2019, 3:31 PM · gnupg (gpg23), Feature Request
dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

This is not just about keys.openpgp.org. It's about any keystore that implements user id redaction, for whatever reason. When you say "what they can do is accept only user ids which…" i think you mean "the userid-redacting keystores can instead redistribute user ids which …". Is that right?

Jul 5 2019, 3:07 PM · gnupg (gpg23), Feature Request
werner added a comment to T4158: UIF (User Interaction Flag) DO support.

I think we should not backport this to 2.2 - okay?

Jul 5 2019, 11:14 AM · Restricted Project, Feature Request, scd, gnupg
werner removed a project from T3464: successful decryption with session key reports failure if public key is unknown: gnupg (gpg22).
Jul 5 2019, 11:12 AM · gpgme, Bug Report
werner edited projects for T4601: gpg --quiet --quick-sign-key is not quiet, added: gnupg (gpg23); removed gnupg (gpg22).
Jul 5 2019, 11:08 AM · gnupg24, gnupg (gpg23), Bug Report
werner added a comment to T4601: gpg --quiet --quick-sign-key is not quiet.

Quiet tricky to get right; needs some rework.

Jul 5 2019, 11:08 AM · gnupg24, gnupg (gpg23), Bug Report