Page MenuHome GnuPG
Feed Advanced Search

May 30 2017

werner added a project to T3184: libgcrypt: make check fails on mingw64 build: Windows.
May 30 2017, 2:02 PM · Windows, Bug Report

May 23 2017

gniibe closed T2202: struct timespec is already defined in MINGW32 as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:46 AM · In Progress, Bug Report, Windows, npth

May 21 2017

werner triaged T3097: Fix keyring handle caching for windows as Unbreak Now! priority.

According to @MFPA still a problem on 2.1.21.

May 21 2017, 8:04 PM · gnupg

May 14 2017

aheinecke closed T2185: Gpa crash when opening a non ASCII file with gpa as Resolved.

Found the problem and fixed it. The Problem is described in the commit. Basically glib always assumed it gets UTF-8 Encoded filenames even if they were provided in system locale through double click / open with / command line / drag & drop.

May 14 2017, 2:46 PM · Bug Report, gpa, Windows 32, gpg4win, Windows
aheinecke removed a parent task for T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: T3103: Release Gpg4win 3.0 stable.
May 14 2017, 1:49 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
aheinecke added a comment to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.

GpgEX is now also compiled with ASLR + DEP. I still have to check some other binaries of Gpg4win before I close this task but I no longer see it as blocking a 3.0 release where I wanted to have this included.

May 14 2017, 1:49 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

Apr 25 2017

aheinecke changed the status of T1571: gpg --multifile and wildcards problem on Windows from Resolved to Wontfix.

Talked to Werner about this. He still has concerns that this is wrong because an application should not do globbing itself and only changing this in gpg.exe is inconsistent. It also might be a security problem as most users won't use the double dash to seperate arguments from filenames.

Apr 25 2017, 10:11 AM · Bug Report, Windows 32, gpg4win, Windows

Apr 24 2017

aheinecke added a comment to T2185: Gpa crash when opening a non ASCII file with gpa.

Added this to 3.0 because I don't want to release any known crashes.

Apr 24 2017, 6:14 PM · Bug Report, gpa, Windows 32, gpg4win, Windows
aheinecke added a parent task for T2185: Gpa crash when opening a non ASCII file with gpa: T3103: Release Gpg4win 3.0 stable.
Apr 24 2017, 6:14 PM · Bug Report, gpa, Windows 32, gpg4win, Windows
aheinecke closed T1571: gpg --multifile and wildcards problem on Windows as Resolved.

I just commited the fix I had in gpg4win 2e71bf3. I don't see how this is objectionable as it changes the behavior back to what we had before we switched to building on jessie and is a minor ifdef.

Apr 24 2017, 6:12 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke added a parent task for T1571: gpg --multifile and wildcards problem on Windows: T3103: Release Gpg4win 3.0 stable.
Apr 24 2017, 6:05 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke added a parent task for T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: T3103: Release Gpg4win 3.0 stable.
Apr 24 2017, 5:45 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

Apr 21 2017

gniibe added a parent task for T2202: struct timespec is already defined in MINGW32: T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:46 AM · In Progress, Bug Report, Windows, npth

Apr 20 2017

hiker added a comment to T3097: Fix keyring handle caching for windows.

Had same problem with waiting for .../gnupg/pubring.gpg - changed back to version 2.1.19, too [Windows 7, 32bit]

Apr 20 2017, 3:57 PM · gnupg
gniibe claimed T2202: struct timespec is already defined in MINGW32.
Apr 20 2017, 9:41 AM · In Progress, Bug Report, Windows, npth
gniibe edited projects for T2202: struct timespec is already defined in MINGW32, added: In Progress; removed Windows 64, Windows 32.

I confirmed that mingw-w64 version 1.0 defines timespec.
So, for older versions of mingw-w64, we need a fix to avoid errors.
But, your suggestion of __MINGW32__ != 1 seems wrong to me (I think it is always defined as 1).

Apr 20 2017, 9:41 AM · In Progress, Bug Report, Windows, npth

Apr 19 2017

dkg created T3097: Fix keyring handle caching for windows in the S1 Public space.
Apr 19 2017, 6:20 PM · gnupg

Apr 7 2017

gp_ast added a watcher for Windows: gp_ast.
Apr 7 2017, 2:36 PM

Apr 4 2017

kai removed a project from T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: Duplicate.
Apr 4 2017, 3:03 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
kai removed a project from T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows: Duplicate.
Apr 4 2017, 3:03 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
kai moved T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows from Backlog to Done on the Duplicate board.
Apr 4 2017, 3:00 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
kai merged T1373: Wrong charset in console messages (Cyrillic, Windows) into T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.
Apr 4 2017, 2:59 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
kai moved T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL from Backlog to Done on the Duplicate board.
Apr 4 2017, 2:53 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
kai merged T2171: ASLR and DEP not enable in EXE and DLL's into T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.
Apr 4 2017, 2:52 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

Mar 30 2017

admin created Windows.
Mar 30 2017, 6:42 PM

Feb 14 2017

werner added projects to T2938: scd-event is annoying to use on Windows: Windows, scd, Windows 32.
Feb 14 2017, 3:21 PM · Windows 32, scd, Windows, Bug Report, gnupg

Jan 23 2017

werner removed a project from T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work: Restricted Project.
Jan 23 2017, 11:23 PM · gpgme, Bug Report, Windows 64, Windows
werner closed T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work as Resolved.
Jan 23 2017, 11:23 PM · gpgme, Bug Report, Windows 64, Windows
werner closed T1624: Gpgtar fails when files have non ASCII characters as Resolved.
Jan 23 2017, 11:20 PM · gnupg, Windows 32, Windows, Bug Report
werner removed a project from T1624: Gpgtar fails when files have non ASCII characters: Restricted Project.
Jan 23 2017, 11:20 PM · gnupg, Windows 32, Windows, Bug Report
werner removed a project from T2267: Fix "Invalid Parameter passed to C runtime function" warnings on Windows: Restricted Project.
Jan 23 2017, 11:14 PM · Windows 32, Windows, gnupg, gpgagent, Feature Request
werner closed T2267: Fix "Invalid Parameter passed to C runtime function" warnings on Windows as Resolved.
Jan 23 2017, 11:14 PM · Windows 32, Windows, gnupg, gpgagent, Feature Request
justus closed T2881: Gpgme gpgconf changes are sometimes not made as Resolved.
Jan 23 2017, 3:21 PM · gpgme, Bug Report, Windows 32, Windows
justus added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Fixed in 6f02133bb07726afa6950e5b4685e75621276e60 by backporting a fix from
gpg-error.

Jan 23 2017, 3:21 PM · gpgme, Bug Report, Windows 32, Windows
justus removed a project from T2881: Gpgme gpgconf changes are sometimes not made: In Progress.
Jan 23 2017, 3:21 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

After testing on Windows this problem is not resolved for Windows (I agree that
it's resolved for posix).

The issue there that I see now is not that it's a race between changing the
setting and immediately reading it again but that sometimes the communication
between gpgme and gpgconf fails.

See attached file no-read.txt for some debugging on this. GPGME writes a changed
option to gpgconf but gpgconf does not read it. I've used OutputDebugString and
DbgView to have syncronized debug output over process borders.

Not 100% reproducible but on my test system it fails very often.

Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a project to T2881: Gpgme gpgconf changes are sometimes not made: In Progress.
Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke reopened T2881: Gpgme gpgconf changes are sometimes not made as "Open".
Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows

Jan 16 2017

justus closed T2881: Gpgme gpgconf changes are sometimes not made as Resolved.
Jan 16 2017, 12:56 PM · gpgme, Bug Report, Windows 32, Windows
justus added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Fixed in 0e242278dfaa64ce31a45b72f5fa0806a3dba898.

Jan 16 2017, 12:56 PM · gpgme, Bug Report, Windows 32, Windows

Jan 9 2017

justus claimed T2881: Gpgme gpgconf changes are sometimes not made.
Jan 9 2017, 11:23 AM · gpgme, Bug Report, Windows 32, Windows

Jan 6 2017

werner added projects to T2267: Fix "Invalid Parameter passed to C runtime function" warnings on Windows: Windows, Restricted Project, Windows 32.
Jan 6 2017, 6:50 PM · Windows 32, Windows, gnupg, gpgagent, Feature Request
werner added a comment to T2267: Fix "Invalid Parameter passed to C runtime function" warnings on Windows.

Actually we do not need that function on Windows. It is on Unix called at
startup to get a list of files not to close. On Windows we do not need to close
the files before a CreateProcess and thus close_all_fds is a dummy anyway.

I removed calling this function under Windows. To go into 2.1.18.

Jan 6 2017, 6:50 PM · Windows 32, Windows, gnupg, gpgagent, Feature Request

Dec 21 2016

werner added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

On Windows we copy the new file; on Unix we link-rename it. It might be worth
to change that old code to use estream and the same method for file updates as
we use elsewhere.

Dec 21 2016, 6:38 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

D401: 931_0001-qt-Add-test-for-CryptoConfig.patch

Dec 21 2016, 10:35 AM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Can you repeat this also with GPA, which uses the gpgconf for ages?

Yes, It's even more visible in GPA because according to the gpgme log GPA does a
list options right after the change. So e.g. If you check "quiet" in the gpg
options then hit apply the check box gets unselected after apply although the
config is changed. Log is similar to the ones attached. Change options is
visible but afterwards the list-options still returns the old value.

On Linux I could not reproduce it with gpa, but as I think it's a timing issue
that might be expected. Attached is a patch that adds a Qt test which exposes
the problem on Linux. I can translate that to plain C if it helps. But I think
the attached Logs are already obvious that there is an issue.

Dec 21 2016, 10:35 AM · gpgme, Bug Report, Windows 32, Windows

Dec 20 2016

werner added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Can you repeat this also with GPA, which uses the gpgconf for ages?

Dec 20 2016, 3:27 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Dec 20 2016, 1:19 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added projects to T2881: Gpgme gpgconf changes are sometimes not made: Windows, Windows 32, Bug Report, gpgme.
Dec 20 2016, 1:19 PM · gpgme, Bug Report, Windows 32, Windows

Dec 8 2016

yeti closed T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails as Resolved.
Dec 8 2016, 12:06 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32
yeti added a comment to T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails.

I tested with the GnuPG version 2.0.30 (GPG4WIn) as well as the current 2.1.16
Windows binaries. SCdaemon was running but was unable to get exclusive card access.
Why?
The Cisco Network Manager as well as Cisco Anyconnect VPN did both gain shared
card access (they were not told to do so!). I needed both programs to get access
to the university network.

Uninstalling both Programs and restarting did resolve the issue. To find the
two offenders I used Process Explorer (Processes for all users) and used the
Find Handle or DLL functon with the search term "SCARD". All crosschecked all
Processes (except for scdaemon which sould access the card) and Services
(svchost) to be only scdaemon aswell as the services to be Windows internal.
To determine the inital issue I used
https://sourceforge.net/projects/pcsctracker/ which told me the status of my
Yubikey (as Present,InUse -> Shared Access).

As a suggestion I like to see the experimental option to change the accessmode
from exclusive to shared on the commandline (If for example the other
application cannot be uninstalled).

Dec 8 2016, 12:06 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32
yeti set Version to 2.1.16 2.0.30 on T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails.
Dec 8 2016, 12:06 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32

Dec 7 2016

gniibe added a comment to T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails.

Which version of GnuPG are you using? Do you have scdaemon?

Dec 7 2016, 9:38 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32
gniibe claimed T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails.
Dec 7 2016, 9:38 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32

Dec 2 2016

neal added a comment to T2812: TOFU very slow on Windows.

In general, parallel operations aren't great, but I find that such bad
performance surprising.

If you update a key, only that key's effective policy is rechecked, not all
keys. But, the effective policy of conflicting keys is always rechecked.

Dec 2 2016, 11:22 AM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
yeti added projects to T2860: Yubikey Sucessfully detected by Win7 but gpg --card-status fails: Windows 32, gnupg, Windows, scd, Windows 64, Bug Report.
Dec 2 2016, 12:17 AM · Bug Report, Windows 64, scd, Windows, gnupg, Windows 32

Dec 1 2016

aheinecke added a comment to T2812: TOFU very slow on Windows.

While testing with tofu enabled I sometimes see that some actions take very
long. (>1minute)

Like importing a key in Kleopatra where Kleopatra does an import and starts a
keylist afterwards / in parallel.

I'll try to reproduce this on the command line. Just doing a simple import on
the command line is quick.

Do you have any hint what can take so long?
Like a trigger that would cause a rechecks for cross signatures?

Dec 1 2016, 1:23 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
aheinecke removed a project from T2812: TOFU very slow on Windows: Restricted Project.
Dec 1 2016, 1:23 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
werner removed a project from T2448: dirmngr fails to load crl when imported manually: dirmngr.
Dec 1 2016, 10:37 AM · gnupg, Windows 32, Windows, Bug Report
werner added a project to T2448: dirmngr fails to load crl when imported manually: gnupg.
Dec 1 2016, 10:37 AM · gnupg, Windows 32, Windows, Bug Report
werner removed a project from T2448: dirmngr fails to load crl when imported manually: Unreleased.
Dec 1 2016, 10:36 AM · gnupg, Windows 32, Windows, Bug Report

Nov 30 2016

gniibe closed T1686: GPG Smartcard daemons not detecting card change Windows 8.1 as Resolved.
Nov 30 2016, 2:44 AM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report
gniibe removed a project from T1686: GPG Smartcard daemons not detecting card change Windows 8.1: Restricted Project.
Nov 30 2016, 2:44 AM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report
gniibe added a comment to T1686: GPG Smartcard daemons not detecting card change Windows 8.1.

Fixed in 2.1.11 and 2.0.30.

Nov 30 2016, 2:44 AM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report

Nov 29 2016

aheinecke added a comment to T2812: TOFU very slow on Windows.

On Windows especially the initial keylist is very slow, subsequent keylists are
okish (less then 10 seconds) I don't think it's as big a problem anymore.
Listing a specific key is ~100ms. And that is with a large keyring (~18mb) on a
VM with a fairly slow harddisk.

For me this would be good enough to use tofu on windows. So it can be resolved
if you do not think the performance (especially of the initial listing) can be
improved or should have been better.

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--with-colons --trust-model tofu --list-keys --with-colons > $null }
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: please do a --check-trustdb
gpg: public key 60041E4EC03449C4 is 39 seconds newer than the signature
gpg: public key 60041E4EC03449C4 is 39 seconds newer than the signature

Days : 0
Hours : 0
Minutes : 1
Seconds : 14
Milliseconds : 785
Ticks : 747854659
TotalDays : 0.000865572521990741
TotalHours : 0.0207737405277778
TotalMinutes : 1.24642443166667
TotalSeconds : 74.7854659
TotalMilliseconds : 74785.4659

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--with-colons --trust-model tofu --list-keys --with-colons > $null }
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: please do a --check-trustdb
gpg: public key 60041E4EC03449C4 is 39 seconds newer than the signature

Days : 0
Hours : 0
Minutes : 0
Seconds : 7
Milliseconds : 812
Ticks : 78128420
TotalDays : 9.0426412037037E-05
TotalHours : 0.00217023388888889
TotalMinutes : 0.130214033333333
TotalSeconds : 7.812842
TotalMilliseconds : 7812.842

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--with-colons --trust-model pgp --list-keys --with-colons > $null }
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: public key 60041E4EC03449C4 is 39 seconds newer than the signature

Days : 0
Hours : 0
Minutes : 0
Seconds : 1
Milliseconds : 369
Ticks : 13697177
TotalDays : 1.58532141203704E-05
TotalHours : 0.000380477138888889
TotalMinutes : 0.0228286283333333
TotalSeconds : 1.3697177
TotalMilliseconds : 1369.7177

PS C:\Users\aheinecke> gpg --version
gpg (GnuPG) 2.1.17-beta30
libgcrypt 1.7.3

NOTE: THIS IS A DEVELOPMENT VERSION! It is only intended for test purposes and should NOT be used in a production environment or with production keys! Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Home: C:/Users/aheinecke/AppData/Roaming/gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,

CAMELLIA128, CAMELLIA192, CAMELLIA256

Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Nov 29 2016, 3:44 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Nov 23 2016

neal added a comment to T2812: TOFU very slow on Windows.

Fixed in 03a65a5. The time for doing a tofu --with-tofu-info --with-colons
listing is now similar to doing a pgp listing.

Please reopen if there are still unresolved issues.

$ time gpg2 --with-tofu-info --with-colons --no-auto-check-trustdb
--no-default-keyring --keyring /usr/share/keyrings/debian-keyring.gpg
--trust-model pgp -k >/dev/null
gpg: Note: signatures using the MD5 algorithm are rejected

real 0m1.972s
user 0m1.940s
sys 0m0.028s
$ time gpg2 --with-tofu-info --with-colons --no-auto-check-trustdb
--no-default-keyring --keyring /usr/share/keyrings/debian-keyring.gpg
--trust-model tofu -k >/dev/null
gpg: Note: signatures using the MD5 algorithm are rejected

real 0m2.252s
user 0m2.172s
sys 0m0.020s

Nov 23 2016, 12:32 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
neal added a project to T2812: TOFU very slow on Windows: Restricted Project.
Nov 23 2016, 12:32 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Nov 16 2016

aheinecke reopened T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried as "Open".
Nov 16 2016, 10:13 AM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke removed a project from T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried: Unreleased.
Nov 16 2016, 10:13 AM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke added a comment to T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried.

I've just announced a new 3.0 beta that contains the updated GpgOL

http://lists.wald.intevation.org/pipermail/gpg4win-devel/2016-November/001659.html

Please let me know if it still crashes for you with that version.

Nov 16 2016, 10:13 AM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke added a project to T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried: Restricted Project.
Nov 16 2016, 10:13 AM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows

Nov 14 2016

werner removed a project from T2731: es_poll not supported under W32: Unreleased.
Nov 14 2016, 5:39 PM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner added a comment to T2731: es_poll not supported under W32.

1.25 has been released.

Nov 14 2016, 5:39 PM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
justus closed T2731: es_poll not supported under W32 as Resolved.
Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
justus added a comment to T2731: es_poll not supported under W32.

Fixed in 40e5ff0a0084c0d9521b401db4f38885bfdae233.

Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
justus added a project to T2731: es_poll not supported under W32: Unreleased.
Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows

Nov 11 2016

ralfbergs added a comment to T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried.

Thanks a lot. I will test as soon as you release the test build.

Nov 11 2016, 6:11 PM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke closed T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried as Resolved.
Nov 11 2016, 6:04 PM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke added a project to T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried: Unreleased.
Nov 11 2016, 6:04 PM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke added a comment to T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried.

I've tried this again with the current development version after a very large
refactoring how we handle mails. The bug appears to be gone. I've tested 10
times to send a file with closed / open outlook and with and without encryption
active.

If I install gpg4win-2.3.3 on the same system / setup the crash is reliably
reproducible.

It's still likely that we made a reference counting error internally in code
that was changed / fixed now. And Outlook released the Mail object too early and
crashed.

Kaspersky probably had some similar error in their code.

I'll upload a new Gpg4win beta with the new gpgol next. I'll ping in this issue
once thats done so you could ideally confirm that its fixed now.

Nov 11 2016, 6:03 PM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows

Nov 4 2016

werner added a project to T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work: Restricted Project.
Nov 4 2016, 8:16 AM · gpgme, Bug Report, Windows 64, Windows
werner added a comment to T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work.

Fixed with commit df08a0c. Thanks.

Nov 4 2016, 8:16 AM · gpgme, Bug Report, Windows 64, Windows

Nov 1 2016

neal added a comment to T2812: TOFU very slow on Windows.

Hi Andre,

Thanks for following up. I seem to be able to reproduce the first part of your
issue here and I'm looking in to it.

Thanks,
Neal

Nov 1 2016, 4:48 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Oct 31 2016

aheinecke added a comment to T2812: TOFU very slow on Windows.

Sry I accidentally posted an incomplete message with T2812 (aheinecke on Oct 31 2016, 05:08 PM / Roundup) (I used itsalltext
and postet a wrong version).

I wanted to write:

On the command line it's looking good. The second keylist is also down to 5
seconds on Windows.

But used from gpgme it still takes about a minute. If you add --with-colons and
slow down system calls by using strace you can also see this on GNU/Linux:

~> time strace gpg2 --no-default-keyring \

--keyring /usr/share/keyrings/debian-keyring.gpg \
--no-auto-check-trustdb --trust-model pgp \
--with-colons -k >/dev/null 2>&1

2.26s user 0.40s system 102% cpu 2.601 total
~> time strace gpg2 --no-default-keyring \

--keyring /usr/share/keyrings/debian-keyring.gpg \
--no-auto-check-trustdb --trust-model tofu \
--with-colons -k >/dev/null 2>&1

21.43s user 24.47s system 108% cpu 42.451 total

On Windows it's:

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--trust-model tofu --list-keys > $null
}
TotalSeconds : 7.0945596

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--with-colons --trust-model tofu --lis
t-keys > $null }
TotalSeconds : 56.0914993

PS C:\Users\aheinecke> Measure-Command -Expression { gpg --no-auto-check-trustdb
--with-colons --trust-model pgp --list
-keys > $null }
TotalSeconds : 1.4855689

I'm also still seeing decryption blocked on Windows while a keylist
--with-colons runs.

I wonder if we should generally check out performance of reading the keyring on
Windows
mabye we could genrally improve it so that it's better cached by Windows.

Oct 31 2016, 5:11 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
neal added a comment to T2812: TOFU very slow on Windows.

7a634e48b13c5d5d295b8fed9b429e1b2109a333 should fix the contention issue.
Please let me know if you are still having issues.

Oct 31 2016, 3:17 AM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
sdl_nexiom.net added a comment to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.

That's awesome aheinecke! Honestly wasn't sure if this issue would ever get much
attention. Thanks for the effort in making Gpg4win a more secure product!

Oct 31 2016, 2:18 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

Oct 30 2016

neal added a comment to T2812: TOFU very slow on Windows.

eec365a & 614ca00 fixed the performance issue for me here.

us@chu:~/neal/work/gpg/test (GnuPGTest)$ rm tofu.db
us@chu:~/neal/work/gpg/test (GnuPGTest)$ time gpg --no-default-keyring --keyring
/usr/share/keyrings/debian-keyring.gpg -k >/dev/null
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: Note: signatures using the MD5 algorithm are rejected

real 0m45.569s
user 0m34.316s
sys 0m10.872s
us@chu:~/neal/work/gpg/test (GnuPGTest)$ time gpg --no-default-keyring --keyring
/usr/share/keyrings/debian-keyring.gpg -k >/dev/null
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: Note: signatures using the MD5 algorithm are rejected

real 0m2.306s
user 0m2.284s
sys 0m0.020s
us@chu:~/neal/work/gpg/test (GnuPGTest)$ time gpg --no-auto-check-trustdb
--trust-model pgp --no-default-keyring --keyring
/usr/share/keyrings/debian-keyring.gpg -k >/dev/null
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: please do a --check-trustdb
gpg: Note: signatures using the MD5 algorithm are rejected

real 0m2.261s
user 0m2.248s
sys 0m0.012s

Oct 30 2016, 7:12 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
neal added a comment to T2812: TOFU very slow on Windows.

The first time a key is encountered, we need to do a number of checks that
require reading its keyblock. These include checking whether the key is signed
by an ultimately trusted key. So, this cost is pretty much unavoidable, but it
should be a one time thing.

That other gpg processes stall is surprising, and I will investigate this. I
went to a fair amount of trouble to make sure that that doesn't happen in practice.

That the cost is higher on subsequent runs is a bit disconcerting. I will also
investigate this.

Oct 30 2016, 5:21 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Oct 28 2016

aheinecke claimed T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.
Oct 28 2016, 10:57 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
aheinecke added a comment to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.

GpgOL is built with DEP and and ASLR now. Need to enable this for GpgEX and some
other parts of Gpg4win, too. So not yet fully resolved but I keep it in mind.

Oct 28 2016, 10:57 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

Oct 25 2016

aheinecke added a project to T2812: TOFU very slow on Windows: TOFU.
Oct 25 2016, 2:23 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
ticho added projects to T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work: Windows, Windows 64, Bug Report, gpgme.
Oct 25 2016, 10:50 AM · gpgme, Bug Report, Windows 64, Windows

Oct 24 2016

aheinecke added a comment to T2812: TOFU very slow on Windows.

Under GNU/Linux you can compare the strace output to see that there is a problem
even if it's quick because it is cached:

~> time strace gpg2 --no-auto-check-trustdb --trust-model pgp -k 2>&1 |wc -l
33383
strace gpg2 --no-auto-check-trustdb --trust-model pgp -k 2>&1 1.04s user 0.45s
system 104% cpu 1.433 total
wc -l 0.02s user 0.16s system 12% cpu 1.433 total

~> time strace gpg2 --no-auto-check-trustdb --trust-model tofu -k 2>&1 |wc -l
558528
strace gpg2 --no-auto-check-trustdb --trust-model tofu -k 2>&1 9.60s user 8.47s
system 106% cpu 17.022 total
wc -l 0.60s user 2.34s system 17% cpu 17.022 total

This is with my normal pubring that contains 790 public keys.

Oct 24 2016, 2:14 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Oct 21 2016

aheinecke added projects to T2812: TOFU very slow on Windows: Windows, Windows 32, gnupg, Bug Report.
Oct 21 2016, 12:09 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows
aheinecke updated subscribers of T2812: TOFU very slow on Windows.
Oct 21 2016, 12:09 PM · Stalled, Bug Report, gnupg, Windows 32, TOFU, Windows

Oct 17 2016

shtrom added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

I run in the same issue as PRab whenever I suspend or hibernate my machine. The
machine as Broadcom BCM5880 with a smart-card reader, so I cannot unplug it.
Quickest workaround is to kill/restart scdaemon.

Is there/could there be a command that could be sent to scdaemon via the agent
so a reset could be triggered? It should be easy enough to line that up as part
of the resume scripts.

Oct 17 2016, 11:17 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report

Sep 30 2016

werner added projects to T2731: es_poll not supported under W32: Windows, gnupg (gpg22), Windows 32, gpgrt, Bug Report.
Sep 30 2016, 10:32 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner updated subscribers of T2731: es_poll not supported under W32.
Sep 30 2016, 10:32 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows

Sep 28 2016

werner added a project to T2110: Gpgsm 2.1 external key search gives duplicated results: S/MIME.
Sep 28 2016, 9:46 AM · gnupg (gpg22), S/MIME, Bug Report, gpg4win, Windows, Windows 32