Page MenuHome GnuPG
Feed All Stories

Mar 1 2018

aheinecke closed T3157: Improve TOFU handling in Kleopatra as Invalid.

This issue is not concrete enough to have some kind of "done" so ->invalid

Mar 1 2018, 5:09 PM · g10code Sprint, gpg4win
aheinecke closed T3157: Improve TOFU handling in Kleopatra, a subtask of T3156: Offer to switch to automatic mode once in GpgOL and Kleopatra, as Invalid.
Mar 1 2018, 5:09 PM · g10code Sprint, gpg4win
aheinecke closed T3156: Offer to switch to automatic mode once in GpgOL and Kleopatra, a subtask of T3103: Release Gpg4win 3.0 stable, as Invalid.
Mar 1 2018, 5:08 PM · gpg4win
aheinecke closed T3156: Offer to switch to automatic mode once in GpgOL and Kleopatra as Invalid.

This issue is invalid.

Mar 1 2018, 5:08 PM · g10code Sprint, gpg4win
aheinecke committed rOab5232cb52e4: Use keycache to autoresolve (authored by aheinecke).
Use keycache to autoresolve
Mar 1 2018, 4:17 PM
aheinecke committed rO93b423f9632b: Bring mail to front after encryption (authored by aheinecke).
Bring mail to front after encryption
Mar 1 2018, 4:17 PM
aheinecke committed rP141fd941a58f: qt: Renable Windows Foreground Window hacks (authored by aheinecke).
qt: Renable Windows Foreground Window hacks
Mar 1 2018, 4:15 PM
aheinecke committed rO16cf48705599: Localize keyresolver (authored by aheinecke).
Localize keyresolver
Mar 1 2018, 1:51 PM
aheinecke committed rO3e851bed56cb: Minor wait cleanup in overlay (authored by aheinecke).
Minor wait cleanup in overlay
Mar 1 2018, 1:51 PM
aheinecke committed rOd6246cd90e33: Add keycache for located keys (authored by aheinecke).
Add keycache for located keys
Mar 1 2018, 1:51 PM
aheinecke committed rO6ec4348a7e57: Fix surprising toggle behavior (authored by aheinecke).
Fix surprising toggle behavior
Mar 1 2018, 1:51 PM
aheinecke committed rOeb1ed3493ebe: Merge branch 'master' into async-enc (authored by aheinecke).
Merge branch 'master' into async-enc
Mar 1 2018, 1:51 PM
onickolay added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

Thanks, Werner.
With the latest data everything works fine.
I also a problem with incorrect cipher state resetting if last chunk is 0-size.

Mar 1 2018, 11:54 AM · gnupg, Bug Report
Xavier97206 added a comment to T3814: Bug general.

C:\Users\XavierFRUTON>gpg --gen-key
gpg (GnuPG) 2.2.4; Copyright (C) 2017 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Mar 1 2018, 10:50 AM · Info Needed, Bug Report, gpg4win
Stephen79 added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

The only other add-in that I use is Skype, but I`ve disabled that and re-uploaded the log. We are using Exchange 2010 SP3

Mar 1 2018, 10:20 AM · gpgol
aheinecke added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

Thanks. Error is there:

Mar 1 2018, 10:15 AM · gpgol
Stephen79 added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

Thanks, file attached

Mar 1 2018, 10:01 AM · gpgol
werner closed T3202: add support for illumos to our version of libtool as Wontfix.

I close this bug as wontfix. If you can provide the requested changes for libtool please re-open this bug.

Mar 1 2018, 9:20 AM · Info Needed, gpgrt, Bug Report
aheinecke triaged T3819: GpgOL Add-In not working in Outlook 2016 as Normal priority.

That is weird, I've never heard of that before.

Mar 1 2018, 9:13 AM · gpgol
emanuel committed rW0da8f8db9cee: Updated compendium versions. (authored by emanuel).
Updated compendium versions.
Mar 1 2018, 9:01 AM
aheinecke changed the status of T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path, a subtask of T3742: Gpg4win 3.1.0, from Open to Testing.
Mar 1 2018, 8:39 AM · gpg4win
aheinecke changed the status of T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path from Open to Testing.

rW981a6fae5355 Fixes the problem with Kleopatra's config files.

Mar 1 2018, 8:39 AM · gpg4win, kleopatra
aheinecke added a subtask for T3742: Gpg4win 3.1.0: T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path.
Mar 1 2018, 8:39 AM · gpg4win
aheinecke added a parent task for T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path: T3742: Gpg4win 3.1.0.
Mar 1 2018, 8:39 AM · gpg4win, kleopatra
aheinecke committed rW981a6fae5355: Fix qt standardpaths on UNC paths (authored by aheinecke).
Fix qt standardpaths on UNC paths
Mar 1 2018, 8:34 AM
aheinecke added a subtask for T3742: Gpg4win 3.1.0: T3820: Gpg4win: Update Qt and KDE Libraries.
Mar 1 2018, 7:36 AM · gpg4win
aheinecke added a parent task for T3820: Gpg4win: Update Qt and KDE Libraries: T3742: Gpg4win 3.1.0.
Mar 1 2018, 7:36 AM · kleopatra, gpg4win
aheinecke created T3820: Gpg4win: Update Qt and KDE Libraries.
Mar 1 2018, 7:36 AM · kleopatra, gpg4win

Feb 28 2018

werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

That will be the IP of proxy.x.com - the log shows that it finds that. But the log also shows that it can't find the address for the other names. "No Name" is EAI_NONAME.

Feb 28 2018, 9:23 PM · gnupg (gpg22), dns, dirmngr
Ainahir added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

I did some digging with Wireshark:

  1. there are DNS queries for proxy records A & AAAA (ipv4 & ipv6 - both regardless of --disable-ipv6)
  2. DNS reply returns correct IP address in A record
  3. there are no outgoing connections to proxy IP address
Feb 28 2018, 7:59 PM · gnupg (gpg22), dns, dirmngr
Stephen79 added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

The button shows and I can select Sign or Encrypt but they don't register / stay selected they just have a grey highlighted background whilst hovering over them... they do not toggle / stay selected.

Feb 28 2018, 4:56 PM · gpgol
aheinecke triaged T3814: Bug general as Normal priority.

Is it possible that your %APPDATA% directory is redirected? Maybe you are running into T3818 I also got "General Error" when trying to generate a key because of that bug.

Feb 28 2018, 4:49 PM · Info Needed, Bug Report, gpg4win
aheinecke added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

What do you mean by "Does nothing"? The button should toggle and then when you send the mail kleopatra should show a dialog to select the signing / encryption keys.

Feb 28 2018, 4:47 PM · gpgol
aheinecke added a comment to T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path.

With the attached commit gpgconf works. Key generation in Kleopatra also handles the case now that gpgconf does not work.

Feb 28 2018, 4:45 PM · gpg4win, kleopatra
werner lowered the priority of T3819: GpgOL Add-In not working in Outlook 2016 from Unbreak Now! to Needs Triage.
Feb 28 2018, 4:37 PM · gpgol
aheinecke committed rGe43844c3b0b9: gpgconf, w32: Allow UNC paths (authored by aheinecke).
gpgconf, w32: Allow UNC paths
Feb 28 2018, 4:34 PM
aheinecke added a comment to T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path.

The underlying problem is that gpgconf does not work in such an environment.

Feb 28 2018, 4:16 PM · gpg4win, kleopatra
Stephen79 created T3819: GpgOL Add-In not working in Outlook 2016 in the S1 Public space.
Feb 28 2018, 3:55 PM · gpgol
aheinecke added a project to T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path: gpg4win.
Feb 28 2018, 3:24 PM · gpg4win, kleopatra
aheinecke created T3818: Kleopatra: Very unstable when AppData is redirected to UNC Path.
Feb 28 2018, 3:24 PM · gpg4win, kleopatra
werner added a comment to T3817: make tls certificate problems more understandable.
$ gpg-error --desc GPG_ERR_WRONG_NAME
313 = (0, 313) = (GPG_ERR_SOURCE_UNKNOWN, GPG_ERR_WRONG_NAME) = (Unspecified source, Unknown error code)
Feb 28 2018, 2:31 PM · dirmngr
aheinecke committed rP84d473f5c323: qt: Clean up foreground window code (authored by aheinecke).
qt: Clean up foreground window code
Feb 28 2018, 1:50 PM
bernhard added a comment to T3817: make tls certificate problems more understandable.

Note that "Wrong name" severely misses information about that it is connection related in any way. :)
Just adding "Connection problem: TLS: " would already help a lot.

Feb 28 2018, 1:23 PM · dirmngr
aheinecke committed rGTOd9a72ed35b08: Handle language set as parameter (authored by aheinecke).
Handle language set as parameter
Feb 28 2018, 12:18 PM
aheinecke committed rGTOe5f5a595357f: Improve Window management of overlay (authored by aheinecke).
Improve Window management of overlay
Feb 28 2018, 12:18 PM
aheinecke committed rW6d6b9bb9a888: Fix install problems after update (authored by aheinecke).
Fix install problems after update
Feb 28 2018, 12:03 PM
werner changed the visibility for T3810: UI workshop.
Feb 28 2018, 11:48 AM · Documentation, gnupg, UI, Verein
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

Well, if your proxy inhibits GnuPG to retrieve information about the keyservers, GnuPG can't do anything about it.

Feb 28 2018, 10:21 AM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3817: make tls certificate problems more understandable.

Debugging network problems is always hard and applications should not include tcpdump facilities. Right, I consider TLS network failures identical to layer 3 network failures because we should assume that all traffic is encrypted. Wrong certificates are also a severe network failure much like wrong voltage levels at layer one ;-).

Feb 28 2018, 10:18 AM · dirmngr
aheinecke committed rW740db3d8da1a: Update gpg4win-tools (authored by aheinecke).
Update gpg4win-tools
Feb 28 2018, 10:13 AM
aheinecke committed rW415184071dec: Update KDE Software to latest stable (authored by aheinecke).
Update KDE Software to latest stable
Feb 28 2018, 10:13 AM
aheinecke committed rWe30032757a3f: Update Qt to 5.10.1 (authored by aheinecke).
Update Qt to 5.10.1
Feb 28 2018, 10:13 AM
werner added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

I found another encoding error which renders the test data uploaded yesterday useless: Here is a bogus AEAD packet:

00000040  d4 84 01 07 01 00 6c 34  7c 37 83 24 2a 11 bc 1c  
00000050  bd 1a 76 da 93 8a
              [start chunk] 32 cd  80 a5 8e db 3a 7d 4a 40  
00000060  c5 0d 82 01 8d 64 7f 65  cd ca 58 d0 e7 db 3b 5e  
00000070  89 d9 1b c8 d9 93 1a 37  3c 0e a5 8f 4b 0d 9f db  
00000080  34 56 c8 f1 e9 b7 f5 0b  d2 53 4f 6c fd f8 e9 16  
00000090  cd a4 ae f6 7f 65
                      [tag] ef 5f  96 af 62 70 f4 30 27 37  
000000a0  68 61 95 0a fb 23
                [extra tag] a6 66  75 7a 47 bb 57 d3 da 5a  
000000b0  4d d1 c2 2f 43 39
                [final tag] cd 22  91 16 1d 92 17 1f f2 cf  
000000c0  0f c9 11 56 d0 a9
Feb 28 2018, 10:08 AM · gnupg, Bug Report
Ainahir added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

Just to clarify:
1.I'm behind corporate network
2.Network resolves only local addresses, so this is correct: dirmngr[7416]: resolving 'hkps.pool.sks-keyservers.net' failed: No name
3.Network address of the proxy is resolvable (I can see it's address and it responds to ping
4.Internet browser without proxy will not work
5,Internet browser with the proxy below works
6.When using gpg on this computer outside of corporate network everything works

Feb 28 2018, 9:55 AM · gnupg (gpg22), dns, dirmngr
werner committed rGf2c09203b98b: gpg: Avoid writing a zero length last chunk in AEAD mode. (authored by werner).
gpg: Avoid writing a zero length last chunk in AEAD mode.
Feb 28 2018, 9:51 AM
werner committed rG047506a03d21: gpg: Merge two functions in cipher-aead.c (authored by werner).
gpg: Merge two functions in cipher-aead.c
Feb 28 2018, 9:51 AM
bernhard added a comment to T3817: make tls certificate problems more understandable.
An additional note: It is harder than with gpg-2.0 to get more details about a failed attempt to receive pubkey material. The keyserver options cannot be called from gpg direclty, but have to be given to dirmngr. I don't have a solution this, it is just an observation.
Feb 28 2018, 8:52 AM · dirmngr
bernhard created T3817: make tls certificate problems more understandable in the S1 Public space.
Feb 28 2018, 8:51 AM · dirmngr
werner added a project to T3815: tests fail in 2021: qt.
Feb 28 2018, 8:34 AM · qt, Python, gpgme, Bug Report
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

The stripped down log is

Feb 28 2018, 8:30 AM · gnupg (gpg22), dns, dirmngr
gniibe committed rE596c0d701ede: syscfg: Add a riscv64 architecture. (authored by gniibe).
syscfg: Add a riscv64 architecture.
Feb 28 2018, 3:16 AM

Feb 27 2018

Ainahir added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

@werner Problem persists (same results with disabling ipv4 or ipv6

Feb 27 2018, 11:49 PM · gnupg (gpg22), dns, dirmngr
bmwiedemann added a comment to T3815: tests fail in 2021.

Here is the build log from unpatched gpgme https://www.zq1.de/~bernhard/temp/gpgme-build-log-2033.txt
it has some tracebacks from t-callbacks.py

Feb 27 2018, 9:53 PM · qt, Python, gpgme, Bug Report
werner triaged T3816: please expose "change-usage" subcommand for --edit-key as High priority.
Feb 27 2018, 9:50 PM · gnupg (gpg22), Feature Request
dkg created T3816: please expose "change-usage" subcommand for --edit-key.
Feb 27 2018, 9:49 PM · gnupg (gpg22), Feature Request
werner added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.


is a simple script to check that the encrypted files in the above tarball. How to use:

cd gnupg
mkdir test-aead
cd test-aead
tar xzf gnupg-aead-enc-files-20180227.tar.gz
sh checktestdata.sh gnupg-aead-enc-files-20180227/*
Feb 27 2018, 9:37 PM · gnupg, Bug Report
werner added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

(Some files are incorrect)

Feb 27 2018, 9:35 PM · gnupg, Bug Report
werner added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

password is "abc". I have some comments in the commit logs.

Feb 27 2018, 9:25 PM · gnupg, Bug Report
werner added projects to T3815: tests fail in 2021: gpgme, Python.

Can you please show the output of these failing tests? I assume you are running on a 64 bit platform.

Feb 27 2018, 9:23 PM · qt, Python, gpgme, Bug Report
werner committed rG618b86325f77: gpg: Simplify the AEAD decryption function. (authored by werner).
gpg: Simplify the AEAD decryption function.
Feb 27 2018, 9:18 PM
werner committed rGad989373f1a4: gpg: Factor common code out of the AEAD decryption function. (authored by werner).
gpg: Factor common code out of the AEAD decryption function.
Feb 27 2018, 9:18 PM
bmwiedemann created T3815: tests fail in 2021.
Feb 27 2018, 8:40 PM · qt, Python, gpgme, Bug Report
BenM committed rM85bdca3b2b09: New stuff (authored by BenM).
New stuff
Feb 27 2018, 5:46 PM
BenM committed rM8047e1374fe6: TODO the TODO (authored by BenM).
TODO the TODO
Feb 27 2018, 5:46 PM
BenM committed rM73c51bc9858d: TODO ... the TODO (authored by BenM).
TODO ... the TODO
Feb 27 2018, 5:46 PM
onickolay added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

Hi Werner, thanks.
Looks like our tests against GnuPG are passing now.
Can you please provide the password for this file as well? 'password' doesn't seem to fit.

Feb 27 2018, 3:50 PM · gnupg, Bug Report
werner edited projects for T3065: dirmngr: proxy issues with dnslookup causing failure, added: dirmngr, dns; removed Info Needed.
Feb 27 2018, 3:45 PM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

@Ainahir thanks for the info. However, your problem might be different because you are on Windows and not on Linux.
Please use for dirmngr --debug=ipc,dns instead of --debug-level=guru

Feb 27 2018, 3:44 PM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3774: Failure to decrypt AEAD-encrypted files in some rare cases.

Here is a file

created using the fixed gpg version. I have a lot more of these test files; I can tar them up and provide them here. They are too lareg to go into the repo or the tarball. The files are all uncompressed and consists of ~ characters.

Feb 27 2018, 2:51 PM · gnupg, Bug Report
Ainahir reopened T3065: dirmngr: proxy issues with dnslookup causing failure as "Open".

same behavior on gpg 2.2.1

Feb 27 2018, 2:34 PM · gnupg (gpg22), dns, dirmngr
BenM committed rDf9098f2c036f: Resizing image (authored by BenM).
Resizing image
Feb 27 2018, 2:15 PM
werner committed rGb703ba725dad: gpg: Rename cipher.c to cipher-cfb.c (authored by werner).
gpg: Rename cipher.c to cipher-cfb.c
Feb 27 2018, 2:11 PM
werner committed rGebb0fcf6e0bd: gpg: Fix corner cases in AEAD encryption. (authored by werner).
gpg: Fix corner cases in AEAD encryption.
Feb 27 2018, 2:11 PM
aheinecke committed rW3d1a1b30e2b8: Add gpg4win-tools package (authored by aheinecke).
Add gpg4win-tools package
Feb 27 2018, 1:42 PM
aheinecke added a comment to T3814: Bug general.

Could you please try on the command line. (If you don't know how, see: https://www.wikihow.com/Open-the-Command-Prompt-in-Windows )

Feb 27 2018, 12:21 PM · Info Needed, Bug Report, gpg4win
Xavier97206 created T3814: Bug general.
Feb 27 2018, 11:22 AM · Info Needed, Bug Report, gpg4win
werner added a comment to rM59fe3f26c1ca: core: Support non-thread-safe getenv..

The problem is still that other - non-gpgme threads - can still use getenv and friends without us noticing that. But I see no solution for this. In any case this code is the best we can do.

Feb 27 2018, 11:18 AM
gniibe committed rM59fe3f26c1ca: core: Support non-thread-safe getenv. (authored by gniibe).
core: Support non-thread-safe getenv.
Feb 27 2018, 10:51 AM
aheinecke committed rGTO23cd403e8e78: Fix exit of overlay window (authored by aheinecke).
Fix exit of overlay window
Feb 27 2018, 9:38 AM
aheinecke committed rGTO461d97bdd509: Add missing overlay files (authored by aheinecke).
Add missing overlay files
Feb 27 2018, 9:38 AM
federico.chiacchiaretta added a comment to T3802: GpgOL fails to decrypt email sent from Evolution/Apple Mail via Office365.

Hi aheinecke,
I did some tests with 2.0.7-beta10 and still found some issues.
The message I attached as a test case in previous comment is now properly handled, I see no "signature.asc" attachment and message is correctly tagged as trusted sender; this test message was sent from Evolution and I sent it to myself (sorry for not pointing this out before).

Feb 27 2018, 9:33 AM · gpgol, Bug Report, gpg4win
aheinecke changed the status of T3812: GpgOL: Blocks sending mails from outbox if a mail is selected in outbox, a subtask of T3742: Gpg4win 3.1.0, from Open to Testing.
Feb 27 2018, 7:12 AM · gpg4win
aheinecke changed the status of T3812: GpgOL: Blocks sending mails from outbox if a mail is selected in outbox from Open to Testing.

My test works now with this commit.

Feb 27 2018, 7:12 AM · gpgol
aheinecke added a subtask for T3742: Gpg4win 3.1.0: T3802: GpgOL fails to decrypt email sent from Evolution/Apple Mail via Office365.
Feb 27 2018, 7:10 AM · gpg4win
aheinecke added a parent task for T3802: GpgOL fails to decrypt email sent from Evolution/Apple Mail via Office365: T3742: Gpg4win 3.1.0.
Feb 27 2018, 7:10 AM · gpgol, Bug Report, gpg4win
aheinecke committed rO456cdf6165ef: Check first for view before accessing selection (authored by aheinecke).
Check first for view before accessing selection
Feb 27 2018, 7:09 AM
aheinecke added a subtask for T3742: Gpg4win 3.1.0: T3812: GpgOL: Blocks sending mails from outbox if a mail is selected in outbox.
Feb 27 2018, 7:08 AM · gpg4win
aheinecke added a parent task for T3812: GpgOL: Blocks sending mails from outbox if a mail is selected in outbox: T3742: Gpg4win 3.1.0.
Feb 27 2018, 7:08 AM · gpgol
lovetox created T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.
Feb 27 2018, 12:23 AM · Python, gpgme, Bug Report

Feb 26 2018

aheinecke added a comment to T3812: GpgOL: Blocks sending mails from outbox if a mail is selected in outbox.

I think the problem is with the selction change event. When we query for selection item (1) we trigger an itemLoad event which apparently causes this behavior. I've disabled everything else in our event handling code so we don't touch the mail at all (non crypto mails we never touch much).

Feb 26 2018, 5:17 PM · gpgol