Page MenuHome GnuPG
Feed All Stories

Aug 16 2014

poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
poeia3 added a comment to T1690: Have been throughly hacked.

Aug 16 2014, 12:28 PM · Trash
werner added a comment to T1688: IPSwitch/MoveIT PGP Public Key Import fail.

2 and 3 are aliases for RSA. Some rarely used PGP versions used them to
indicate signing or encrypting RSA keys. GPG supports them. The specs say

   There are algorithm types for RSA Sign-Only, and RSA Encrypt-Only
   keys.  These types are deprecated.  The "key flags" subpacket in a
   signature is a much better way to express the same idea, and
   generalizes it to all algorithms.  An implementation SHOULD NOT
   create such a key, but MAY interpret it.

What version of libgcrypt are you using? ("gpg --version" shows that)

Aug 16 2014, 10:42 AM · Not A Bug, Bug Report, gnupg
werner lowered the priority of T1688: IPSwitch/MoveIT PGP Public Key Import fail from High to Normal.
Aug 16 2014, 10:42 AM · Not A Bug, Bug Report, gnupg

Aug 15 2014

Dione added projects to T1688: IPSwitch/MoveIT PGP Public Key Import fail: gnupg, Bug Report.
Aug 15 2014, 6:58 PM · Not A Bug, Bug Report, gnupg
Dione set Version to 2.0.14 on T1688: IPSwitch/MoveIT PGP Public Key Import fail.
Aug 15 2014, 6:58 PM · Not A Bug, Bug Report, gnupg

Aug 14 2014

werner added a comment to T1687: GnuPG 2.0.24 instead of 2.0.26 erroneously reported in Home page.

Thanks, The fix will be online soon.

Aug 14 2014, 8:40 PM · Bug Report, gpgweb
werner closed T1687: GnuPG 2.0.24 instead of 2.0.26 erroneously reported in Home page as Resolved.
Aug 14 2014, 8:40 PM · Bug Report, gpgweb
andreaerdna added projects to T1687: GnuPG 2.0.24 instead of 2.0.26 erroneously reported in Home page: gpgweb, Bug Report.
Aug 14 2014, 4:23 PM · Bug Report, gpgweb
werner set Version to gnupg 2.0.22/gpg4win on T1686: GPG Smartcard daemons not detecting card change Windows 8.1.
Aug 14 2014, 12:26 PM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report

Aug 13 2014

mcantrell added projects to T1686: GPG Smartcard daemons not detecting card change Windows 8.1: gpg4win, Bug Report.
Aug 13 2014, 11:34 PM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report
aheinecke removed a project from T1571: gpg --multifile and wildcards problem on Windows: Restricted Project.
Aug 13 2014, 12:35 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke added a comment to T1571: gpg --multifile and wildcards problem on Windows.

Ok using the same compiler I've used a year ago I also get the same result I got
a year ago (phew I thought i screwed up the test).

But with the patch this should just work once we change the used mingw-version.
I could not find a bugreport or some other information where and when this is fixed.

Aug 13 2014, 12:35 PM · Bug Report, Windows 32, gpg4win, Windows

Aug 12 2014

aheinecke added a comment to T1571: gpg --multifile and wildcards problem on Windows.

I've tested this again with the mingw version that is part of ubuntu and it works.

I've commited a patch to gpg4win to enable this and will check if this also
works with the debian wheezy mingw-crt version.

Aug 12 2014, 9:46 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke added a project to T1571: gpg --multifile and wildcards problem on Windows: Restricted Project.
Aug 12 2014, 9:46 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke claimed T1571: gpg --multifile and wildcards problem on Windows.
Aug 12 2014, 9:46 PM · Bug Report, Windows 32, gpg4win, Windows
aheinecke claimed T1262: pinentry does not appear, windows vista, thunderbird, enigmail.
Aug 12 2014, 8:50 PM · gpg4win, Info Needed, Bug Report, pinentry
aheinecke added projects to T1262: pinentry does not appear, windows vista, thunderbird, enigmail: Info Needed, gpg4win.
Aug 12 2014, 8:50 PM · gpg4win, Info Needed, Bug Report, pinentry
aheinecke added a comment to T1262: pinentry does not appear, windows vista, thunderbird, enigmail.

pinentry-qt should have only been the default if you install a gpg4win version
that includes qt.

Could you execute pinetry-qt directly and enter "getpin" in the command line
window that opens?
What happens then?

Aug 12 2014, 8:50 PM · gpg4win, Info Needed, Bug Report, pinentry
aheinecke lowered the priority of T1262: pinentry does not appear, windows vista, thunderbird, enigmail from Unbreak Now! to Normal.
Aug 12 2014, 8:50 PM · gpg4win, Info Needed, Bug Report, pinentry
aheinecke closed T1670: GPGME does not parse key id from keyserver when longer than 8 digits as Resolved.
Aug 12 2014, 8:44 PM · gpgme, Bug Report
aheinecke added a comment to T1670: GPGME does not parse key id from keyserver when longer than 8 digits.

I've overlooked your bugreport and opened a very similar one
T1685

Werner has commited a proper fix for this in gpgme master.

Thanks for the report anyway. If I had seen this earlier it would have saved me
some time debugging this and coming to the same conclusion ;-)

Aug 12 2014, 8:44 PM · gpgme, Bug Report
aheinecke removed a project from T1685: gpgme keyserver import incompatible with SKS 1.1.5: Restricted Project.
Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
aheinecke closed T1685: gpgme keyserver import incompatible with SKS 1.1.5 as Resolved.
Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
aheinecke added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

Tested the patch with 1.4.4 on Windows against
vm-keyserver.spline.inf.fu-berlin.de which did not work previously.

Patch is also included in gpg4win now.

Thanks!

Aug 12 2014, 7:16 PM · gpgme, Bug Report, Keyserver
werner added a project to T1685: gpgme keyserver import incompatible with SKS 1.1.5: Restricted Project.
Aug 12 2014, 7:00 PM · gpgme, Bug Report, Keyserver
werner added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

There is no guarantee that you will see a keyid at all. The keyid and the
fingerprint are actually different objects and it is only for v4 key format that
you can compute the keyid from the fingerprint. We have to implement this
knowledge into gpgme.

Meanwhile I did this and master does now work as expected. It even returns the
fingerprint if available. You may this with the also enhanced gpgme-tool.

While working on it I also fixed the --search-key thing for gnupg master.

Aug 12 2014, 7:00 PM · gpgme, Bug Report, Keyserver
aheinecke added a comment to T1685: gpgme keyserver import incompatible with SKS 1.1.5.

D209: 447_keylist-shortening.patch

Aug 12 2014, 4:31 PM · gpgme, Bug Report, Keyserver
aheinecke added projects to T1685: gpgme keyserver import incompatible with SKS 1.1.5: Keyserver, Bug Report, gpgme.
Aug 12 2014, 4:20 PM · gpgme, Bug Report, Keyserver
aheinecke updated subscribers of T1685: gpgme keyserver import incompatible with SKS 1.1.5.
Aug 12 2014, 4:20 PM · gpgme, Bug Report, Keyserver
BigMike added projects to T1684: Messages with compression algorithm "0"/"Uncompressed" fail to decrypt: gnupg, Bug Report.
Aug 12 2014, 2:19 PM · Bug Report, gnupg
BigMike set Version to 1.4.18 on T1684: Messages with compression algorithm "0"/"Uncompressed" fail to decrypt.
Aug 12 2014, 2:19 PM · Bug Report, gnupg
werner closed T1658: gen-key in batch mode not working with homedir option as Resolved.
Aug 12 2014, 12:51 PM · Info Needed, Bug Report, gnupg
werner added a project to T1658: gen-key in batch mode not working with homedir option: Info Needed.
Aug 12 2014, 12:30 PM · Info Needed, Bug Report, gnupg
werner closed T1672: 2.1.* and no-use-standard-socket no more supported on Windows ?? as Resolved.
Aug 12 2014, 12:29 PM · Bug Report, gnupg
werner closed T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win as Resolved.
Aug 12 2014, 12:25 PM · Bug Report, gpg4win, Mistaken
werner added a project to T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win: Mistaken.
Aug 12 2014, 12:24 PM · Bug Report, gpg4win, Mistaken
werner added a comment to T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win.

Please do not use the bug tracker for questions. See the FAQs and then ask at
gnupg-users@gnupg.org for help.

Aug 12 2014, 12:24 PM · Bug Report, gpg4win, Mistaken
dtripathi3 renamed T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win from want to create application for using gpg4win application for Batch encryption .Please advise some source code for gpg4win to want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win.
Aug 12 2014, 11:46 AM · Bug Report, gpg4win, Mistaken
dtripathi3 set Due Date to Aug 13 2014, 2:00 AM on T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win.
Aug 12 2014, 11:46 AM · Bug Report, gpg4win, Mistaken
dtripathi3 set External Link to http://www.gpg4win.org/community.html on T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win.
Aug 12 2014, 11:46 AM · Bug Report, gpg4win, Mistaken
dtripathi3 added projects to T1683: want to create application for using gpg4win application for Batch files encryption .Please advise some source code for gpg4win: gpg4win, Bug Report.
Aug 12 2014, 11:46 AM · Bug Report, gpg4win, Mistaken

Aug 11 2014

werner added a comment to T1669: jnlib: fix typo'd include guard..

Thanks.

Aug 11 2014, 5:26 PM · Bug Report, gnupg
werner closed T1669: jnlib: fix typo'd include guard. as Resolved.
Aug 11 2014, 5:26 PM · Bug Report, gnupg
werner renamed T1590: dirmngr with libgcrypt 1.6.0 forgets to initialize pth properly from libgcrypt 1.6.0 forgets to initialize pth properly to dirmngr with libgcrypt 1.6.0 forgets to initialize pth properly.
Aug 11 2014, 5:16 PM · In Progress, dirmngr, Bug Report, gnupg (gpg20)
aheinecke assigned T1590: dirmngr with libgcrypt 1.6.0 forgets to initialize pth properly to werner.
Aug 11 2014, 10:06 AM · In Progress, dirmngr, Bug Report, gnupg (gpg20)
aheinecke added a comment to T1590: dirmngr with libgcrypt 1.6.0 forgets to initialize pth properly.

With dirmngr 1.1.1 and libgcrypt-1.6.0 (gpg4win-2.2.2-beta19) I have what I
think is a similar error on Windows:

C:\Users\aheinecke>"c:\Program Files\GNU\GnuPG\dirmngr.exe"
dirmngr[3060]: Fatal: can't register GNU Pth with Libgcrypt: Not supported

Doesn't crash though. I've not tested the pth_init patch. If you think this is
useful please tell me and I will do so. I assume it will also fix this problem.

Aug 11 2014, 10:06 AM · In Progress, dirmngr, Bug Report, gnupg (gpg20)

Aug 10 2014

Ionic added a comment to T1669: jnlib: fix typo'd include guard..

Ping?

Aug 10 2014, 11:38 PM · Bug Report, gnupg
werner closed T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function as Resolved.
Aug 10 2014, 9:09 AM · Gentoo, Bug Report, gnupg
werner added a comment to T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function.

Thanks.

Aug 10 2014, 9:09 AM · Gentoo, Bug Report, gnupg
metaschima added projects to T1682: whirlpool amd64 assembly: Feature Request, libgcrypt.
Aug 10 2014, 3:47 AM · Won't Fix, libgcrypt, Feature Request
metaschima set Version to 1.6.1 on T1682: whirlpool amd64 assembly.
Aug 10 2014, 3:47 AM · Won't Fix, libgcrypt, Feature Request
metaschima added a comment to T1682: whirlpool amd64 assembly.

D208: 446_libgcrypt-1.6.1.patch

Aug 10 2014, 3:47 AM · Won't Fix, libgcrypt, Feature Request

Aug 9 2014

alonbl added projects to T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function: gnupg, Bug Report, Gentoo.
Aug 9 2014, 8:10 PM · Gentoo, Bug Report, gnupg
alonbl added a comment to T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function.

D207: 445_libgpg-error-1.13-t-lock.patch

Aug 9 2014, 8:10 PM · Gentoo, Bug Report, gnupg
alonbl set Version to 1.13 on T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function.
Aug 9 2014, 8:10 PM · Gentoo, Bug Report, gnupg
alonbl set External Link to https://bugs.gentoo.org/show_bug.cgi?id=519490 on T1681: tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function.
Aug 9 2014, 8:10 PM · Gentoo, Bug Report, gnupg

Aug 6 2014

werner removed a project from T1680: import filter is too strict for username matching hex string: In Progress.
Aug 6 2014, 6:52 PM · Fedora, Bug Report, gnupg
werner closed T1680: import filter is too strict for username matching hex string as Resolved.
Aug 6 2014, 6:52 PM · Fedora, Bug Report, gnupg
werner added a comment to T1680: import filter is too strict for username matching hex string.

and for 1.4

Aug 6 2014, 6:52 PM · Fedora, Bug Report, gnupg
werner added a comment to T1680: import filter is too strict for username matching hex string.

Fixed for 2.0.

Aug 6 2014, 5:14 PM · Fedora, Bug Report, gnupg
werner closed T1679: Update outdated default preferences as Resolved.
Aug 6 2014, 3:37 PM · patch, gnupg (gpg21), gnupg, Feature Request, Won't Fix, OpenPGP
werner added a comment to T1679: Update outdated default preferences.

There are no known attacks on SHA-1. MD5 is disabled anyway in recent versions.
But please continue at gnupg-users - if you like.

Aug 6 2014, 3:37 PM · patch, gnupg (gpg21), gnupg, Feature Request, Won't Fix, OpenPGP
aheinecke added a project to T1678: Pinentry-qt4 opens confirm dialog in the background: Restricted Project.
Aug 6 2014, 3:33 PM · Bug Report, Windows 32, pinentry, Windows
aheinecke added a comment to T1678: Pinentry-qt4 opens confirm dialog in the background.

Thanks for the explanations.

Further analysis showed that the second call to AllowSetForeground window was
blocked by the ForegroundWindowLockTimeout. If you set this timeout to zero
everything worked as expected.

There is a discussion on this under:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/09fa16ba-c6ef-410d-bec2-a99a9b9a98d9/issue-with-foregroundlocktimeout-setforegroundwindow

Which suggests a solution of setting the foregroundlocktimeout to zero before
attempting to set the foreground window. I've found this solution not applicable
for our case as we run into the lock on "AllowSetForegroundWindow" and not when
actually setting the foreground Window.

Another workaround is to call AttachThreadInput on the current foreground thread
call SetForegroundWindow and then detach again. There might be problems with
this approach so it is just used as fallback. But it should resolve this problem
for now.

Aug 6 2014, 3:33 PM · Bug Report, Windows 32, pinentry, Windows
coruus reopened T1679: Update outdated default preferences as "Open".
Aug 6 2014, 2:28 PM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
coruus added a comment to T1679: Update outdated default preferences.

Thank you for the prompt response.

I am familiar with the standard. The only violation of a MUST I'm aware of is that
recipient and personal digest preferences are ignored for hashes with known attacks;
perhaps some of these changes cause GnuPG to behave badly in other cases?

Aug 6 2014, 2:28 PM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner added a comment to T1680: import filter is too strict for username matching hex string.

This is already known and has been discussed at gnupg-devel -users. This is
indeed a regression which needs to be fixed. The import filter does only check
the primary key and as soon as you downlaod via a subkey id the key is rejected.

It is on my short list.

Aug 6 2014, 10:47 AM · Fedora, Bug Report, gnupg
werner added a project to T1680: import filter is too strict for username matching hex string: In Progress.
Aug 6 2014, 10:47 AM · Fedora, Bug Report, gnupg
werner added a project to T1679: Update outdated default preferences: Won't Fix.
Aug 6 2014, 10:39 AM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner added projects to T1679: Update outdated default preferences: Feature Request, gnupg.
Aug 6 2014, 10:38 AM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner added a comment to T1679: Update outdated default preferences.

This has been discussed at gnupg-users at lengths. You need to read the OpenPGP
standard to understand some of the defaults. For the others you may start yet
another disucssion thread at gnupg-users.

re 4) The iteration count used depends on the machine.

Aug 6 2014, 10:38 AM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner removed a project from T1679: Update outdated default preferences: Bug Report.
Aug 6 2014, 10:38 AM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner closed T1679: Update outdated default preferences as Resolved.
Aug 6 2014, 10:38 AM · patch, gnupg, gnupg (gpg21), Feature Request, Won't Fix, OpenPGP
werner lowered the priority of T1679: Update outdated default preferences from High to Wishlist.
Aug 6 2014, 10:38 AM · patch, gnupg (gpg21), gnupg, Feature Request, Won't Fix, OpenPGP
werner added a comment to T1678: Pinentry-qt4 opens confirm dialog in the background.

What I described is done for all pinentries.

Aug 6 2014, 10:32 AM · Bug Report, Windows 32, pinentry, Windows
eblake set External Link to https://bugzilla.redhat.com/show_bug.cgi?id=1127013 on T1680: import filter is too strict for username matching hex string.
Aug 6 2014, 3:44 AM · Fedora, Bug Report, gnupg
eblake added projects to T1680: import filter is too strict for username matching hex string: gnupg, Bug Report, Fedora.
Aug 6 2014, 3:44 AM · Fedora, Bug Report, gnupg
eblake set Version to 1.4.18 on T1680: import filter is too strict for username matching hex string.
Aug 6 2014, 3:44 AM · Fedora, Bug Report, gnupg

Aug 5 2014

coruus added projects to T1679: Update outdated default preferences: OpenPGP, gnupg (gpg21), Bug Report, patch.
Aug 5 2014, 11:10 PM · patch, gnupg (gpg21), gnupg, Feature Request, Won't Fix, OpenPGP
coruus added a comment to T1679: Update outdated default preferences.

Aug 5 2014, 11:10 PM · patch, gnupg (gpg21), gnupg, Feature Request, Won't Fix, OpenPGP
werner reopened T1668: libgcrypt build on freebsd 10.0-amd64 fails, cast5-amd64.S not linked to build as "Open".
Aug 5 2014, 4:16 PM · FreeBSD, Bug Report, libgcrypt
werner added a comment to T1668: libgcrypt build on freebsd 10.0-amd64 fails, cast5-amd64.S not linked to build.

FWIW, I checked my POSIX 2001 standard and it does not define -p. The
GNU manual for uname however has to say:

`-m'
`--machine'

     Print the machine hardware name (sometimes called the hardware
     class or hardware type).

`-p'
`--processor'

Print the processor type (sometimes called the instruction set
architecture or ISA).  Print `unknown' if the kernel does not make
this information easily available, as is the case with Linux
kernels.
Aug 5 2014, 4:16 PM · FreeBSD, Bug Report, libgcrypt
aheinecke added a comment to T1678: Pinentry-qt4 opens confirm dialog in the background.

Ok, thanks I'll check what happens if

  1. The agent thinks that the passphrase entered is too weak
  2. The agent starts another pinentry
  3. The agent sends "getinfo pid" to the pinentry (this i can see)
  4. ?
Aug 5 2014, 3:19 PM · Bug Report, Windows 32, pinentry, Windows
werner removed a project from T1516: gpgex crashing Windows explorer (64 bit): Restricted Project.
Aug 5 2014, 3:16 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner closed T1516: gpgex crashing Windows explorer (64 bit) as Resolved.
Aug 5 2014, 3:16 PM · Windows 64, Windows 32, gpg4win, Windows, Bug Report, gpgex
werner added a comment to T1676: libgcrypt segfaults on x32 ABI.

Fix has been pushed for 1.6 and master. Thanks,

Aug 5 2014, 3:15 PM · Bug Report, libgcrypt
werner added a project to T1676: libgcrypt segfaults on x32 ABI: Restricted Project.
Aug 5 2014, 3:15 PM · Bug Report, libgcrypt
werner added a comment to T1674: garbled characters on command line on windows with on-ascii locales.

IIRC, there is a need to allocate a new console or something like this. It is
too long since I studied this and concluded it is too much work and English
users won't appreciate it anyway ;-)

Aug 5 2014, 3:14 PM · gnupg, Feature Request
werner added a comment to T1678: Pinentry-qt4 opens confirm dialog in the background.
  1. The agent starts pinentry.
  2. The agent sends "getinfo pid" to the pinentry"
  3. The agents sends an "INQUIRE PINENTRY_LAUNCHED <pid>" to the caller.

4a. If the caller is gpg, gpg calls AllowSetForegroundWindow for the received
pid; gpg has been started via gpgme and gpgme has called ASFW for gpg.
4b. If the caller is gpgsm, it proxies the PINENTRY_LAUNCHED to gpgme which then
calls ASFG for the pid.

The different methods are required because gpg is a one-off process while gpgsm
may be used several times.

Aug 5 2014, 3:11 PM · Bug Report, Windows 32, pinentry, Windows
werner added a project to T1616: libgcrypt 1.6.0 incorrectly determines CPU on PowerPC Mac: Restricted Project.
Aug 5 2014, 12:29 PM · Bug Report, libgcrypt
werner added a comment to T1616: libgcrypt 1.6.0 incorrectly determines CPU on PowerPC Mac.

Thanks for that good description. Fixes pushed to master and 1.6. I can't test
it, though.

Aug 5 2014, 12:29 PM · Bug Report, libgcrypt
aheinecke added a comment to T1678: Pinentry-qt4 opens confirm dialog in the background.

Yes Kleopatra uses gpgme for key generation. Still I don't see how gpgme figures
into this sorry. Should gpgme start gpg-agent and ensure that it has the
setforeground window access right?

  1. The gpg-agent asks for a passphrase with pinentry -> set foreground window is

allowed.

  1. If that passphrase is weak it launches a new pinentry with a confirm dialog

-> set foreground window is not allowed.

And the agent does not have the right to call allowsetforegroundwindow. In the
first case I think this might be because another component gets the PID of the
pinentry and calls allowsetforeground window (have to do further debugging to
check this)

In the second case afaik only gpg-agent is involved and no one sets
allowsetforeground window on the pid of the second pinentry.

Aug 5 2014, 9:36 AM · Bug Report, Windows 32, pinentry, Windows

Aug 4 2014

aheinecke added a comment to T1674: garbled characters on command line on windows with on-ascii locales.

I don't think switching the console to UTF-8 is the real problem here.

At least just using chcp is not enough. Fonts do also factor into this and this
is where it gets weird:

If you run chcp 65001 and have a raster font selected the output is garbled.
If you then switch to a truetype font the output is correctly interpreted.

Now if you run the command while already having a truetype font selected the
output is garbled again but differently.. o.O

And looking at common/utf8conf.c there is already code that tries to handle
different Console Output Codepages but appearently there is a bug somewhere in
there :) (Or that code is not used / respected)

Aug 4 2014, 5:40 PM · Feature Request, gnupg