Page MenuHome GnuPG
Feed Advanced Search

Sep 2 2015

atcuno added projects to T2086: Compiling gnupg with libgpg-error is much more difficult than necesary: gnupg, Bug Report.
Sep 2 2015, 3:19 PM · Not A Bug, Bug Report, gnupg
werner added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

Ooops - I should know it is my installer :-(
1.6.3.

Sep 2 2015, 12:32 PM · libgcrypt, Bug Report, Windows 32, Windows
werner renamed T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)) from gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 to gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).
Sep 2 2015, 12:32 PM · libgcrypt, Bug Report, Windows 32, Windows
werner added a project to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)): libgcrypt.
Sep 2 2015, 12:32 PM · libgcrypt, Bug Report, Windows 32, Windows
werner changed Version from 2.1.7 to 1.6 on T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).
Sep 2 2015, 12:32 PM · libgcrypt, Bug Report, Windows 32, Windows
werner added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

IIRC, we fixed the alignment in Libgcrypt but I am not sure whether this has
been backported to Libgcrypt 1.6. Which libgcrypt version is used?

Sep 2 2015, 12:30 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke closed T1819: "gpg --gen-key" failed on Windows as Resolved.
Sep 2 2015, 12:29 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke added a comment to T1819: "gpg --gen-key" failed on Windows.

Forgot to resolve this as superseeded.

Sep 2 2015, 12:29 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke closed T2010: Error when converting keyring to gpg 2.1 as Resolved.
Sep 2 2015, 12:27 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added a comment to T2010: Error when converting keyring to gpg 2.1.

With gcrypt compiled with -mstackrealign as analyzed in T2085 this problem
is also fixed.

So I'm marking this as a duplicate of T2085.

Sep 2 2015, 12:27 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added a comment to T2010: Error when converting keyring to gpg 2.1.

Duplicate of T2085

Sep 2 2015, 12:27 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added a project to T2010: Error when converting keyring to gpg 2.1: Duplicate.
Sep 2 2015, 12:27 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
werner added a comment to T2084: g10/keydb.c: Cache consistency problem.

Okay

Sep 2 2015, 12:05 PM · Bug Report, gnupg
werner reassigned T2084: g10/keydb.c: Cache consistency problem from werner to neal.
Sep 2 2015, 12:05 PM · Bug Report, gnupg
neal added a comment to T2084: g10/keydb.c: Cache consistency problem.

D325: 675_0001-cache-test.patch

Sep 2 2015, 11:07 AM · Bug Report, gnupg
neal added a comment to T2084: g10/keydb.c: Cache consistency problem.

I've attached a patched that demonstrates the problem. This uses a single
keyring. Here is the output using the cache consistency fix:

  $ gpg2
  : keydb_search: preparing cache
  : keydb_search: preparing cache
  : keydb_get_keyblock: enter (cache state: 1).
  : keydb_get_keyblock: filling cache.
  : keydb_get_keyblock: enter (cache state: 1).
  : keydb_get_keyblock: filling cache.
  : desc1: Werner Koch (ha ha test) <wk@gnupg.org>
  : desc2: Werner Koch <wk@g10code.com>
  : Looks good.

And here is the output when the patch is not applied:

  $ gpg2
  : keydb_search: preparing cache
  : keydb_search: preparing cache
  : keydb_get_keyblock: enter (cache state: 1).
  : keydb_get_keyblock: filling cache.
  : keydb_get_keyblock: enter (cache state: 2).
  : keydb_get_keyblock: returning data from cache.
  : desc1: Werner Koch <wk@g10code.com>
  : desc2: Werner Koch <wk@g10code.com>
  : Same name (fail)!

As you can see, the second time keydb_get_block is called, it sees a filled
cache and simply returns the contents. However, the contents are for a
different search. I hope you now agree that fixing this bug is not really
problematic, that the problem has nothing to do with multiple keyrings and this
bug doesn't relate to the 15 year old discussion.

Sep 2 2015, 11:07 AM · Bug Report, gnupg

Sep 1 2015

aheinecke added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

Backtrace with debug symbols:

(gdb) bt full
#0 0x655ea3e9 in aesni_do_setkey (ctx=0xc6f868,

key=0x6565dc10 <key_128.65421>

"\350\351\352\353\355\356\357\360\362\363\364\365\367\370\371\372\001K\257\"x\246\235\063\035Q\200\020\066C\351\232gC\303\321Q\232\264\362͚x\253\t\245\021\275]\036\362\r\316ּ\274\022\023\032\307\305G\210\252\b\016\225\027\353\026wq\232\317r\200\206\004",
<incomplete sequence \343>)

at

/home/aheinecke/arbeit/gpg4win/src/gnupg-w32-2.1.7/PLAY/src/libgcrypt/cipher/rijndael.c:248
No locals.
#1 0x655ead8a in do_setkey (ctx=0xc6f868,

key=0x6565dc10 <key_128.65421>

"\350\351\352\353\355\356\357\360\362\363\364\365\367\370\371\372\001K\257\"x\246\235\063\035Q\200\020\066C\351\232gC\303\321Q\232\264\362͚x\253\t\245\021\275]\036\362\r\316ּ\274\022\023\032\307\305G\210\252\b\016\225\027\353\026wq\232\317r\200\206\004",
<incomplete sequence \343>, keylen=16)

at

/home/aheinecke/arbeit/gpg4win/src/gnupg-w32-2.1.7/PLAY/src/libgcrypt/cipher/rijndael.c:569

initialized = 1
selftest_failed = 0x0
rounds = 10
i = 1
j = 1
r = 1
t = 13813018
rconpointer = 0
KC = 4
hwfeatures = 1472

#2 0x655eb2b1 in rijndael_setkey (context=0xc6f868,

key=0x6565dc10 <key_128.65421>

"\350\351\352\353\355\356\357\360\362\363\364\365\367\370\371\372\001K\257\"x\246\235\063\035Q\200\020\066C\351\232gC\303\321Q\232\264\362͚x\253\t\245\021\275]\036\362\r\316ּ\274\022\023\032\307\305G\210\252\b\016\225\027\353\026wq\232\317r\200\206\004",
<incomplete sequence \343>, keylen=16)

at

/home/aheinecke/arbeit/gpg4win/src/gnupg-w32-2.1.7/PLAY/src/libgcrypt/cipher/rijndael.c:668

ctx = 0xc6f868

...

info registers
eax 0x6565dc10 1701174288
ecx 0xd25110 13783312
edx 0xc6f868 13039720
ebx 0x0 0
esp 0xc6f760 0xc6f760
ebp 0xc6f760 0xc6f760
esi 0x0 0
edi 0xd24478 13780088
eip 0x655ea3e9 0x655ea3e9 <aesni_do_setkey+31>
eflags 0x10297 [ CF PF AF SF IF RF ]
cs 0x1b 27
ss 0x23 35
ds 0x23 35
es 0x23 35
fs 0x3b 59
gs 0x0 0

disas 0x655ea3e2,0x655ea3ff

Dump of assembler code from 0x655ea3e2 to 0x655ea3ff:

0x655ea3e2 <aesni_do_setkey+24>:     mov    0xc(%ebp),%eax
0x655ea3e5 <aesni_do_setkey+27>:     movdqu (%eax),%xmm1

> 0x655ea3e9 <aesni_do_setkey+31>: movdqa %xmm1,(%edx)

   0x655ea3ed <aesni_do_setkey+35>:     aeskeygenassist $0x1,%xmm1,%xmm2
   0x655ea3f3 <aesni_do_setkey+41>:     pshufd $0xff,%xmm2,%xmm2
   0x655ea3f8 <aesni_do_setkey+46>:     movdqa %xmm1,%xmm3
   0x655ea3fc <aesni_do_setkey+50>:     pslldq $0x4,%xmm3

It appears to be that this is crash is due to the fact that windows uses a 4
Byte stack alignment and the movdqa call expects 16 byte alignment.

I've found some info on this here:
http://www.peterstock.co.uk/games/mingw_sse/

I also confirmed that with "-mstackrealign" the crash no longer happens.

Werner: should we add this globaly to the configure options of gcrypt or do you
have a better fix for this?

Sep 1 2015, 6:53 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke reassigned T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)) from aheinecke to werner.
Sep 1 2015, 6:53 PM · libgcrypt, Bug Report, Windows 32, Windows
neal added a comment to T2084: g10/keydb.c: Cache consistency problem.

Just to be clear: this bug has nothing to do with multiple keyrings; it will
continue to occur even if we decide to use just a single keyring. The problem
has to do with multiple handles.

Sep 1 2015, 6:26 PM · Bug Report, gnupg
neal added a comment to T2084: g10/keydb.c: Cache consistency problem.

Why do you think fixing this is problematic? My simple patch ensures cache
consistency. What's the problem with it?

Sep 1 2015, 2:44 PM · Bug Report, gnupg
neal added a project to T1779: AIX & GCC 4.7.4: 27 of 30 tests failed Please report to http://bugs.gnupg.org: gnupg.
Sep 1 2015, 2:19 PM · gnupg, Bug Report
neal added a project to T1798: request: smartcard stub keys with multiple serial numbers: gnupg.
Sep 1 2015, 2:18 PM · gnupg, Feature Request
neal added a project to T1856: Requesting a fingerprint for a keyid will show fingerprints for different keys with matching subkey: gnupg.
Sep 1 2015, 2:16 PM · gnupg
neal added a project to T2022: dutch localizations for GnuPG: gnupg.
Sep 1 2015, 2:14 PM · gnupg, gnupg (gpg20), gnupg (gpg14), Feature Request, i18n
neal added a project to T2050: «keyserver receive failed: General error» when using HKPS: gnupg.
Sep 1 2015, 2:13 PM · gnupg, Bug Report
neal added a project to T2062: invalid left shift iobuf.c: gnupg.
Sep 1 2015, 2:13 PM · Not A Bug, Info Needed, gnupg, Bug Report
aheinecke added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

...
Or printf debugging was the wrong approach here.

Attaching gdb to the agent led to the following backtrace:

#0 0x655ea3e9 in aesni_do_setkey () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#1 0x655ead8a in do_setkey () from C:\Program Files\GnuPG\bin\libgcrypt-20.dll
#2 0x655eb2b1 in rijndael_setkey () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#3 0x655edadd in selftest_basic_128 () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#4 0x655ede09 in selftest () from C:\Program Files\GnuPG\bin\libgcrypt-20.dll
#5 0x655eabfc in do_setkey () from C:\Program Files\GnuPG\bin\libgcrypt-20.dll
#6 0x655eb2b1 in rijndael_setkey () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#7 0x655cd4ae in cipher_setkey () from C:\Program Files\GnuPG\bin\libgcrypt-20.dll
#8 0x655ce076 in _gcry_cipher_setkey () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#9 0x655c2308 in gcry_cipher_setkey () from C:\Program
Files\GnuPG\bin\libgcrypt-20.dll
#10 0x0041aea8 in agent_protect ()
#11 0x004189a9 in store_key ()
#12 0x0041950b in agent_genkey ()
#13 0x00407a5e in cmd_genkey ()

So I've built libgcrypt again with --disable-aesni-support (Which is also what
gpg4win uses). And the crash goes away.

Sep 1 2015, 9:46 AM · libgcrypt, Bug Report, Windows 32, Windows
werner added a comment to T2084: g10/keydb.c: Cache consistency problem.

Fixing this is really problematic. For this very reason I proposed to drop the
feature of using several keyrings but too many users insisting on keeping it.
IIRC, this discussion is more the 15 years old.

Sep 1 2015, 9:45 AM · Bug Report, gnupg
werner lowered the priority of T2084: g10/keydb.c: Cache consistency problem from High to Normal.
Sep 1 2015, 9:45 AM · Bug Report, gnupg

Aug 31 2015

aheinecke added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

Surprise. This issue is weird.

Agent calls: hash_passphrase in agent/protect.c:do_encryption
I've added a load of debug output there but this is where it crashes.
I've moved the get_standard_s2k_count out of that call to verify that this is
not he crashing part.

My code looks like this:

  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);
  unsigned long s2kcnt = get_standard_s2k_count();
  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);
  rc = hash_passphrase (passphrase, GCRY_MD_SHA1,
                        3, iv+2*blklen,
                        s2kcnt,
			key, keylen);
  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);

The debug output after the hash_passphrase is not reached. The line before is.

But now this is where it gets weird.

With (debug enhanced):

static int
hash_passphrase (const char *passphrase, int hashalgo,

int s2kmode,
const unsigned char *s2ksalt,
unsigned long s2kcount,
unsigned char *key, size_t keylen)

{

  /* The key derive function does not support a zero length string for
     the passphrase in the S2K modes.  Return a better suited error
     code than GPG_ERR_INV_DATA.  */
  int ret;
  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);
  if (!passphrase || !*passphrase)
    return gpg_error (GPG_ERR_NO_PASSPHRASE);
  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);
  ret = gcry_kdf_derive (passphrase, strlen (passphrase),
                         s2kmode == 3? GCRY_KDF_ITERSALTED_S2K :
                         s2kmode == 1? GCRY_KDF_SALTED_S2K :
                         s2kmode == 0? GCRY_KDF_SIMPLE_S2K : GCRY_KDF_NONE,
                         hashalgo, s2ksalt, 8, s2kcount,
                         keylen, key);
  log_debug ("%s:%s: Line: %d", __FILE__, __func__, __LINE__);
  log_debug ("ret: %i ", ret);

  return ret;

}

I can see the debug line above the return statement is executed and that it
returns 0! But i don't see the call returning to do_encryption.

The only idea explaining this behavior that i have so far is some kind of stack
corruption where has_passphrase tries to return to an invalid pointer. But i
don't see the problem atm.

Aug 31 2015, 10:46 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke updated subscribers of T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).
Aug 31 2015, 8:59 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke added a project to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)): In Progress.
Aug 31 2015, 8:59 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke added a comment to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).

This was already reported in T1819 and T2083.

Let's fix it here :-)

Aug 31 2015, 8:59 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke added a comment to T2083: "gpg --full-gen-key --expert" fails on Windows 10.

I did not test 2.1 on windows 10 but 2.0 from gpg4win.

Let's consolidate issues though. To simplify things I resolve all reports
regarding this to my report where I will report on debugging / fixing this in
issue2085.

Aug 31 2015, 8:57 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows
aheinecke added a comment to T2083: "gpg --full-gen-key --expert" fails on Windows 10.

Duplicate of T2085

Aug 31 2015, 8:57 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows
aheinecke closed T2083: "gpg --full-gen-key --expert" fails on Windows 10 as Resolved.
Aug 31 2015, 8:57 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows
aheinecke added a project to T2083: "gpg --full-gen-key --expert" fails on Windows 10: Duplicate.
Aug 31 2015, 8:57 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows
aheinecke claimed T1819: "gpg --gen-key" failed on Windows.
Aug 31 2015, 8:56 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke added a comment to T1819: "gpg --gen-key" failed on Windows.

Duplicate of T2085

Aug 31 2015, 8:56 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke added a project to T1819: "gpg --gen-key" failed on Windows: Duplicate.
Aug 31 2015, 8:56 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke added a comment to T1819: "gpg --gen-key" failed on Windows.

Nope not fixed. But let's track this in T2085.

Aug 31 2015, 8:56 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
aheinecke reopened T1819: "gpg --gen-key" failed on Windows as "Open".
Aug 31 2015, 8:56 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
neal added a project to T2067: gpg2 cannot find keys by non-ASCII User IDs unless the system locale is UTF-8: gnupg.
Aug 31 2015, 7:03 PM · gnupg, Bug Report, Debian
aheinecke added a comment to T2010: Error when converting keyring to gpg 2.1.

It's not the pinentry. If i install a working pinentry signing files works but
still the migration fails.
Windows Event logs also report that the agent crashed and the process is not
running afterwards.

issue2085 might be related.

Aug 31 2015, 6:51 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added projects to T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)): Windows, Windows 32, gnupg, Bug Report.
Aug 31 2015, 6:43 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke set Version to 2.1.7 on T2085: gpg --gen-key from gnupg-w32 2.1.7 fails on Windows > 8.1 (AESNI)).
Aug 31 2015, 6:43 PM · libgcrypt, Bug Report, Windows 32, Windows
aheinecke changed Version from 2.1.5 to 2.1.7 on T2010: Error when converting keyring to gpg 2.1.
Aug 31 2015, 6:21 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added a comment to T2010: Error when converting keyring to gpg 2.1.

Aug 31 2015, 6:21 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
aheinecke added a comment to T2010: Error when converting keyring to gpg 2.1.

Seeing the same on Windows 10 with latest gnupg-w32 package.

Attached is the gpg.log

Migration suceeds from nearly the same homedir under windows 7.

I think the problem is that pinentry-basic does not work on Windows 8.1 and
later. Although I wonder why this should break the migration as I don't get a
pinentry dialog when migrating on Windows 7. (Or on GNU/Linux platforms for that
matter)

Aug 31 2015, 6:21 PM · Duplicate, gnupg, Windows 32, Bug Report, gnupg (gpg21), Windows
neal added projects to T2084: g10/keydb.c: Cache consistency problem: gnupg, Bug Report.
Aug 31 2015, 1:57 PM · Bug Report, gnupg
aheinecke closed T1978: Dirmngr ldap CRL checks prevent dirmngr from terminating as Resolved.
Aug 31 2015, 9:03 AM · gnupg, Bug Report, S/MIME, dirmngr
aheinecke removed a project from T1978: Dirmngr ldap CRL checks prevent dirmngr from terminating: Restricted Project.
Aug 31 2015, 9:03 AM · gnupg, Bug Report, S/MIME, dirmngr
aheinecke added a comment to T1978: Dirmngr ldap CRL checks prevent dirmngr from terminating.

yes there are no remaining problems that I can see here.

Thanks -> resolved.

Aug 31 2015, 9:03 AM · gnupg, Bug Report, S/MIME, dirmngr
werner added a comment to T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".

Originally dirmngr was a system wide daemon. Thus a limit made a lot of sense
so that users could not oincrease the memory usage of dirmngr. As a user daemon
this is not too problematic anymore but (in contrast to GNU policy), having
limits is still good to avoid DoS. The packet parser also employs certain
limits, like 2K for a user ID or 16M for an attribute packet.

I assume keyservers also have some limit - or at least they should have one to
help against misuse as cheap storage provider. What about using this limit?

Aug 31 2015, 7:26 AM · gnupg, gnupg (gpg21), Debian, Bug Report
dkg added a comment to T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".

can you explain why the limit is useful? e.g. does it increase efficiency in
some metric? defend against certain classes of attack? something else? sorry
that i don't understand the tradeoff fully.

a runtime configuration would be better than a hard fail, but in either case it
seems like we're asking the user to fiddle with things that they shouldn't have
to think about or understand. is there a way that we can automatically detect
the reason for the failure and make things Just Work for normal users without
opening up the tooling to more problems?

Aug 31 2015, 12:42 AM · gnupg, gnupg (gpg21), Debian, Bug Report

Aug 30 2015

werner added a comment to T2032: Non-NLS build broken in 2.1.6.

2.17 has been released with this patch.

Aug 30 2015, 10:21 PM · gnupg, Bug Report
werner closed T2032: Non-NLS build broken in 2.1.6 as Resolved.
Aug 30 2015, 10:21 PM · gnupg, Bug Report
werner removed a project from T2032: Non-NLS build broken in 2.1.6: Restricted Project.
Aug 30 2015, 10:21 PM · gnupg, Bug Report
werner closed T2051: is_file_compressed (filename, &rc2)) doesn`t CloseHandle files in windows as Resolved.
Aug 30 2015, 10:20 PM · Not A Bug, Bug Report, gnupg
werner added a project to T2068: avoid linking libksba into gpg and gpgv: Restricted Project.
Aug 30 2015, 10:17 PM · Bug Report, gnupg
werner added a comment to T2068: avoid linking libksba into gpg and gpgv.

This has been implemented 2 weeks ago.

Aug 30 2015, 10:17 PM · Bug Report, gnupg
werner added a comment to T1978: Dirmngr ldap CRL checks prevent dirmngr from terminating.

aheinecke: Did you had a chance to test this with 2.1.7 or master?

Aug 30 2015, 10:15 PM · gnupg, Bug Report, S/MIME, dirmngr
werner added a comment to T2083: "gpg --full-gen-key --expert" fails on Windows 10.

Did you reported that at gnupg-users? Let's discuss things in the mail thread.
Andre tested it on Windows 10 so in general it works. The problem must be due
to your local configuration.

Aug 30 2015, 9:59 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows

Aug 29 2015

l2d4y3 set Version to 2.1.7 on T2083: "gpg --full-gen-key --expert" fails on Windows 10.
Aug 29 2015, 4:12 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows
l2d4y3 added projects to T2083: "gpg --full-gen-key --expert" fails on Windows 10: Windows, gnupg (gpg21), Windows 32, gnupg, Bug Report.
Aug 29 2015, 4:12 PM · Duplicate, Bug Report, gnupg, Windows 32, gnupg (gpg21), Windows

Aug 28 2015

aheinecke removed a project from T2031: GnuPG 2.1 Migration fails badly with (weird) PGP2 key in pubring: Restricted Project.
Aug 28 2015, 11:08 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke added a comment to T2031: GnuPG 2.1 Migration fails badly with (weird) PGP2 key in pubring.

Our tests show this works. Thanks!

Aug 28 2015, 11:08 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke closed T2031: GnuPG 2.1 Migration fails badly with (weird) PGP2 key in pubring as Resolved.
Aug 28 2015, 11:08 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke closed T1921: Duplicated certificates in gpgsm pubring (2.1) as Resolved.
Aug 28 2015, 11:04 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke removed a project from T1921: Duplicated certificates in gpgsm pubring (2.1): Restricted Project.
Aug 28 2015, 11:04 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke added a comment to T2077: gpgsm: Can't create certificate.

To clarify werners comment. The revert is part of the 2.0 branch. I've
confoirmed the fix works so -> resolved) But awaiting a package / downstream
deployment.
The default for 2.0 won't be changed away from SHA-1.

This will be part of the next gpg4win release.

(Btw. Good to see you here sandro ;-) )

Aug 28 2015, 11:00 PM · Bug Report, gnupg, Debian
aheinecke closed T2077: gpgsm: Can't create certificate as Resolved.
Aug 28 2015, 11:00 PM · Bug Report, gnupg, Debian
aheinecke added a project to T2048: KGpg Fails to Autostart on Fedora 22 with KDE Despite 'Start KGpg automatically at login' Being Selected: Not A Bug.
Aug 28 2015, 10:54 PM · Not A Bug, Fedora, Bug Report, gnupg
aheinecke added a comment to T2048: KGpg Fails to Autostart on Fedora 22 with KDE Despite 'Start KGpg automatically at login' Being Selected.

Kgpg is unmaintained upstream (meaning KDE) Afaik it does not work with gnupg 2.1

We (talking as a kdepim developer here) are currently in the process of removing
libkgpg dependencies in the hope to remove Kgpg altogether. You should use
Kleopatra and nag the Kleopatra developers (me) about features of KGpgp you will
miss in Kleopatra.

This bug has nothing to do with Gpg and should be filed on bugs.kde.org against
kgpg (but as I said it's unmaintained so you probably should not bother)

Aug 28 2015, 10:54 PM · Not A Bug, Fedora, Bug Report, gnupg
werner added a comment to T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".

The limit set by dirmngr is in general useful. Shall we make the limit
configurable at runtime?

Aug 28 2015, 10:35 AM · gnupg, gnupg (gpg21), Debian, Bug Report
werner added a comment to T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".

Oh well, the hang is indeed a libassuan bug. The assuan_inquire fucntion
stopped reading as soon as a supplied limit was reached and returned to the
caller. The caller (dirmngr), printed an error and sends back an ERR line.
Hwoever, the client kept on sending the remaining lines and thus messed uo the
protocol.

Just fixed it in libassuan (5a52404) by reading up the extra lines before
returing from assuan_inquire.

Aug 28 2015, 10:33 AM · gnupg, gnupg (gpg21), Debian, Bug Report

Aug 27 2015

werner claimed T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".
Aug 27 2015, 3:35 PM · gnupg, gnupg (gpg21), Debian, Bug Report
werner changed Version from 2.2.0 to 2.1 on T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".
Aug 27 2015, 3:35 PM · gnupg, gnupg (gpg21), Debian, Bug Report
werner added projects to T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer": gnupg (gpg21), gnupg.
Aug 27 2015, 3:35 PM · gnupg, gnupg (gpg21), Debian, Bug Report
werner set External Link to https://bugs.debian.org/770592 on T1845: sending large keys to keyserver push fails with silent hang and "assuan_inquire failed: Too much data for IPC layer".
Aug 27 2015, 3:35 PM · gnupg, gnupg (gpg21), Debian, Bug Report
werner added a comment to T2081: g10/keydb.c:maybe_create_keyring_or_box doesn't check for EACCESS.

Did you mean:
In this case we should also return 0 ?

Aug 27 2015, 12:46 PM · gnupg, Feature Request
werner added a project to T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable: scd.
Aug 27 2015, 12:43 PM · Bug Report, scd, gnupg
werner set Version to 2.0.28 on T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable.
Aug 27 2015, 12:43 PM · Bug Report, scd, gnupg
werner renamed T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable from [smartcard] gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable to gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable.
Aug 27 2015, 12:43 PM · Bug Report, scd, gnupg
neal added projects to T2081: g10/keydb.c:maybe_create_keyring_or_box doesn't check for EACCESS: Feature Request, gnupg.
Aug 27 2015, 10:18 AM · gnupg, Feature Request
dranft added projects to T2080: no status output when trying to sign data with revoked private key: gnupg (gpg14), gnupg, Bug Report.
Aug 27 2015, 10:04 AM · Won't Fix, Bug Report, gnupg, gnupg (gpg14)

Aug 25 2015

werner added a comment to T1973: Wrong line endings when decrypting to console.

The problem is likely due to a bug in libgpg-error. You may want to test the
latest master.

Aug 25 2015, 5:29 PM · Windows 32, Windows, Bug Report, gnupg
werner added a comment to T2078: GPG fails while encrypting large amounts of files.

Please send us a more detailed bug report. See
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Do not forget to tell us your OS and also send the output of "gpg --version"
You may also want to update to a decent version of gpg.

Aug 25 2015, 3:39 PM · Bug Report, Info Needed, gnupg
werner added a project to T2078: GPG fails while encrypting large amounts of files: Info Needed.
Aug 25 2015, 3:39 PM · Bug Report, Info Needed, gnupg
werner removed Due Date on T2078: GPG fails while encrypting large amounts of files.
Aug 25 2015, 3:39 PM · Bug Report, Info Needed, gnupg
rhertzog renamed T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable from [smartcard] gpg2 --card-status won't create proper stubs for subkeys which are known but non-usable to [smartcard] gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable.
Aug 25 2015, 12:01 PM · Bug Report, scd, gnupg
rhertzog added a comment to T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable.

BTW I had this problem on Debian unstable with version 2.0.28-3:
$ gpg2 --version
gpg (GnuPG) 2.0.28
libgcrypt 1.6.3
[...]

Aug 25 2015, 11:49 AM · Bug Report, scd, gnupg
rhertzog added projects to T2079: gpg2 --card-status won't create proper stubs for (sub)keys which are known but non-usable: gnupg, Bug Report.
Aug 25 2015, 11:38 AM · Bug Report, scd, gnupg
pramodahanya set Due Date to Nov 30 2015, 1:00 AM on T2078: GPG fails while encrypting large amounts of files.
Aug 25 2015, 10:49 AM · Bug Report, Info Needed, gnupg
pramodahanya added projects to T2078: GPG fails while encrypting large amounts of files: gnupg, Bug Report.
Aug 25 2015, 10:49 AM · Bug Report, Info Needed, gnupg

Aug 24 2015

neal added a project to T2038: Pinentry Failing with 'Passphrase too long (try 2 of 3)' on Fedora 22 with KDE *only* when using lengthy passphrases: Restricted Project.
Aug 24 2015, 4:18 PM · Bug Report, gnupg
neal added a comment to T2038: Pinentry Failing with 'Passphrase too long (try 2 of 3)' on Fedora 22 with KDE *only* when using lengthy passphrases.

agent/findkey.c:unprotect (for instance) imposes a password limit of 99 bytes
(pi->max_length = 100). I've raised this limit to 255 bytes in commit 348a6eb.
I'd appreciate it if you could test this and confirm that this fix is
sufficient. Note: we are not going to raise the limit about 256 bytes.

If you can't manage to fit 128-bits of entropy in 256 bytes, then you need to
fix your passphrase generation scheme.

Aug 24 2015, 4:18 PM · Bug Report, gnupg
werner added a comment to T2077: gpgsm: Can't create certificate.

This is a regression in 2.0.28. The fix is
commit 35d3ced4fda90a5410a579850ca92ea6a356b402
which reverts to use SHA-1 for a CSR.

It works fine in 2.1 but backporting the changes is not planned.

Aug 24 2015, 3:23 PM · Bug Report, gnupg, Debian
werner added a project to T2077: gpgsm: Can't create certificate: gnupg.
Aug 24 2015, 3:18 PM · Bug Report, gnupg, Debian

Aug 21 2015

aheinecke added a comment to T2066: Wrong BLOB Type/keytable.c:150.

I can't reproduce this. Looks like your X509 cert store is corrupted.
Can you list your X509 certificates on the command line without error?

Try (listing the public certifcates):
gpgsm -k
and (listing your certificates)
gpgsm -K

Have you done anything else remarkable? e.g. tried out gnupg 2.1 or imported a
new certificate before this

Aug 21 2015, 11:41 AM · Not A Bug, gnupg, Bug Report, gpg4win