Page MenuHome GnuPG
Feed All Stories

Mar 17 2015

aheinecke added a comment to T1926: Gpgtar produces corrupt binaries.

And the testscript I used to test this.

Mar 17 2015, 11:11 AM · Bug Report, gnupg, gpgtar
aheinecke added a comment to T1926: Gpgtar produces corrupt binaries.

D289: 587_0001-gpgtar-Fix-extracting-files-with-size-512.patch

Mar 17 2015, 11:10 AM · Bug Report, gnupg, gpgtar
aheinecke reassigned T1926: Gpgtar produces corrupt binaries from aheinecke to werner.
Mar 17 2015, 11:10 AM · Bug Report, gnupg, gpgtar
aheinecke added a comment to T1926: Gpgtar produces corrupt binaries.

In gpgtar-extract.c extract_regular

  for (n=0; n < hdr->nrecords;)
    {
      err = read_record (stream, record);
      if (err)
        goto leave;
      n++;
      nbytes = (n < hdr->nrecords)? RECORDSIZE : (hdr->size % RECORDSIZE);

^ this does not work for the last header if hdr->size size is a multiple of 512.
In that case the last record will not be written.

Please check my attached patch which fixes the problem.

Mar 17 2015, 11:10 AM · Bug Report, gnupg, gpgtar
aheinecke added a comment to T1926: Gpgtar produces corrupt binaries.

To further minimize the test case:

dd if=/dev/urandom of=testfile count=1024 bs=1024
./gpgtar --encrypt --skip-crypto -- testfile > test.tar
./gpgtar --decrypt --skip-crypto -- test.tar
diff ./test.tar_1_/testfile ./testfile

Binary files ./test.tar_1_/testfile and ./testfile differ

last 512 bytes of testfile are missing after extracting it with gpgtar.

Mar 17 2015, 10:08 AM · Bug Report, gnupg, gpgtar
aheinecke changed Version from 2.0.27 to master on T1926: Gpgtar produces corrupt binaries.
Mar 17 2015, 9:51 AM · Bug Report, gnupg, gpgtar
aheinecke renamed T1926: Gpgtar produces corrupt binaries from Gpgtar / Kleopatra on Windows produces corrupt binaries to Gpgtar produces corrupt binaries.
Mar 17 2015, 9:51 AM · Bug Report, gnupg, gpgtar
aheinecke removed a project from T1926: Gpgtar produces corrupt binaries: gpg4win.
Mar 17 2015, 9:51 AM · Bug Report, gnupg, gpgtar
aheinecke added a comment to T1926: Gpgtar produces corrupt binaries.

Further tracked this problem down to be a gpgtar extraction issue.

Calling gpgtar on the decrypted archive with the same command kleopatra uses:

C:\Users\aheinecke\Desktop>type gpg-archive.tar |"c:\Program
Files\GNU\GnuPG\gpgtar.exe" --openpgp --skip-crypto --set-filename
C:/Users/aheinecke/Desktop/gpg-archive.tar.gpg --decrypt -- -

Produces the corrupted binary. Copying this archive to a GNU/Linux system and
extracting the tarball with GNU Tar produces a valid binary.

Next test on GNU/Linux with:

./gpgtar --version

gpgtar (GnuPG) 2.1.3-beta4

./gpgtar --openpgp --skip-crypto \

--set-filename /home/aheinecke/arbeit/gpg4win/gpg-archive.tar.gpg \
--decrypt -- /home/aheinecke/arbeit/gpg4win/gpg-archive.tar

sha1sum gpg-archive.tar_1_/gpg2.exe

2d387c8fb53d105c31e4cc2ec186e70a365b0c65 gpg-archive.tar_1_/gpg2.exe

tar -fx /home/aheinecke/arbeit/gpg4win/gpg-archive.tar
sha1sum gpg2.exe

54c8c2ec1083943e556255f76ff8f58e623c5b27 gpg2.exe

The second one is correct.

Mar 17 2015, 9:51 AM · Bug Report, gnupg, gpgtar
aheinecke set Version to 2.0.27 on T1926: Gpgtar produces corrupt binaries.
Mar 17 2015, 9:26 AM · Bug Report, gnupg, gpgtar
aheinecke updated subscribers of T1926: Gpgtar produces corrupt binaries.
Mar 17 2015, 9:26 AM · Bug Report, gnupg, gpgtar
aheinecke added projects to T1926: Gpgtar produces corrupt binaries: gpg4win, gpgtar, gnupg, Bug Report.
Mar 17 2015, 9:26 AM · Bug Report, gnupg, gpgtar
davidw added a comment to T1924: Fix hkps: hostname verification and SNI.

Patch and commentary uploaded to T1792, where it really belongs.

Mar 17 2015, 5:22 AM · Bug Report, dirmngr
davidw added a comment to T1792: hkps: Hostname verification uses the wrong hostname.

The attached patch fixes hkps: hostname verification and makes
hkps: use SNI correctly.

The patch is against GnuPG 2.1.2. It has been tested successfully against
hkps://hkps.pool.sks-keyservers.net on FreeBSD 10.1 using GnuTLS 3.2.21 and the
2.1 setup instructions at https://sks-keyservers.net/overview-of-pools.php#pool_hkps

Mar 17 2015, 5:21 AM · gnupg, Bug Report, Debian, dirmngr
davidw added a comment to T1792: hkps: Hostname verification uses the wrong hostname.

D275: 586_poolname_and_SNI.patch

Mar 17 2015, 5:21 AM · gnupg, Bug Report, Debian, dirmngr

Mar 16 2015

andy_s added a comment to T1853: ecdh/ecdsa private key export, MPI encoding oddity.

Mar 16 2015, 8:48 PM · Bug Report, gnupg, gnupg (gpg21)
andy_s added a comment to T1853: ecdh/ecdsa private key export, MPI encoding oddity.

The problem was with protected private keys - I've got my own tool for
decrypting them, and that's how I found the problem in the first place.

I've attached two keypairs which exhibit the issue, both in keyring and in
keybox+key formats (password is "password") - both use NIST P-256, and the
encryption key on Test2 (4e86073a308aa22e) has the extra leading zero byte on
its 'd' value.

Mar 16 2015, 8:48 PM · Bug Report, gnupg, gnupg (gpg21)
werner added a comment to T1853: ecdh/ecdsa private key export, MPI encoding oddity.

[Sorry, I didn't found your mail anymore.]

I fixed two bug related to the encoding of MPI created by ECC operations.
ab17f7b gpg: Create all MPIs with RFC-4880 correct length headers.
8bc1deb gpg: Fix broken write of opaque MPI length header.

However your problem was with private keys. Protected private keys or
non-protected? Can you add an example file.

Mar 16 2015, 8:23 PM · Bug Report, gnupg, gnupg (gpg21)
werner closed T1479: curl-shim TCP half-close causes interop issues as Resolved.
Mar 16 2015, 3:31 PM · Duplicate, Bug Report, gnupg
werner added a project to T1479: curl-shim TCP half-close causes interop issues: Duplicate.
Mar 16 2015, 3:31 PM · Duplicate, Bug Report, gnupg
werner added a comment to T1479: curl-shim TCP half-close causes interop issues.

Duplicate of T739

Mar 16 2015, 3:31 PM · Duplicate, Bug Report, gnupg
werner added a comment to T1479: curl-shim TCP half-close causes interop issues.

Was fixed with commit fe85638284880805b80778fe87ae551d3de0ca32 for 2.0 which is
a forwardport for the fix in 1.4 (see T739).

Mar 16 2015, 3:31 PM · Duplicate, Bug Report, gnupg
werner added projects to T1546: Windows command line prepends homedir to --keyring= path specification: Windows, Windows 32.
Mar 16 2015, 3:27 PM · Windows 32, Windows, Bug Report, gnupg
werner placed T1546: Windows command line prepends homedir to --keyring= path specification up for grabs.
Mar 16 2015, 3:27 PM · Windows 32, Windows, Bug Report, gnupg
werner closed T1447: TLS hostname selection uses insecure SRV data as Resolved.
Mar 16 2015, 3:24 PM · Bug Report, gnupg
werner added a comment to T1447: TLS hostname selection uses insecure SRV data.

Was fixed with commit 6b1f71055ebab36989e2089cfde319d2ba40ada7 for 2.0.
Was fixed with commit 5c557a51cdf37d9f50b3d5d7e11d17e6ea6bb2b8 for 1.4.

Mar 16 2015, 3:24 PM · Bug Report, gnupg
werner closed T1446: hkps SRV lookup discards port from SRV as Resolved.
Mar 16 2015, 3:22 PM · Bug Report, gnupg
werner removed a project from T1446: hkps SRV lookup discards port from SRV: In Progress.
Mar 16 2015, 3:22 PM · Bug Report, gnupg
werner added a comment to T1446: hkps SRV lookup discards port from SRV.

Fixed with commit ba9e974f1fd85b3dbbfb5e26d7a14f71d07c7cf2 for 2.0
Fixed with commit f2f12f41efe5a476833295dc6c44fcd887d0abe6 for 1.4

Mar 16 2015, 3:22 PM · Bug Report, gnupg
werner reopened T1447: TLS hostname selection uses insecure SRV data as "Open".
Mar 16 2015, 3:22 PM · Bug Report, gnupg
werner closed T1447: TLS hostname selection uses insecure SRV data as Resolved.
Mar 16 2015, 3:21 PM · Bug Report, gnupg
werner closed T1626: keyserver and curl-shim as Resolved.
Mar 16 2015, 3:15 PM · Info Needed, Bug Report, gnupg
werner removed a project from T1684: Messages with compression algorithm "0"/"Uncompressed" fail to decrypt: Restricted Project.
Mar 16 2015, 3:14 PM · Bug Report, gnupg
werner closed T1684: Messages with compression algorithm "0"/"Uncompressed" fail to decrypt as Resolved.
Mar 16 2015, 3:14 PM · Bug Report, gnupg
werner lowered the priority of T1747: Some command line options can not be abbreviated from Normal to Wishlist.
Mar 16 2015, 3:14 PM · Feature Request, gnupg
werner removed a project from T1747: Some command line options can not be abbreviated: Bug Report.
Mar 16 2015, 3:14 PM · Feature Request, gnupg
werner added a project to T1747: Some command line options can not be abbreviated: Feature Request.
Mar 16 2015, 3:14 PM · Feature Request, gnupg
werner closed T1781: "gpg --list-keys" fails when $GNUPGHOME is not writable as Resolved.
Mar 16 2015, 3:13 PM · Not A Bug, Debian, Bug Report, gnupg
werner added projects to T1819: "gpg --gen-key" failed on Windows: Windows, gnupg (gpg21), Windows 32.
Mar 16 2015, 3:11 PM · Duplicate, Windows 32, gnupg (gpg21), Windows, Bug Report, gnupg
werner closed T1912: iobuf.c: potential buffer overflows as Resolved.
Mar 16 2015, 3:10 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1914: http.c: potential buffer overflow: Not A Bug.
Mar 16 2015, 3:09 PM · Not A Bug, Bug Report, gnupg
werner removed a project from T1914: http.c: potential buffer overflow: Mistaken.
Mar 16 2015, 3:09 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1914: http.c: potential buffer overflow: Mistaken.
Mar 16 2015, 3:09 PM · Not A Bug, Bug Report, gnupg
werner lowered the priority of T1914: http.c: potential buffer overflow from High to Normal.
Mar 16 2015, 3:09 PM · Not A Bug, Bug Report, gnupg
werner closed T1914: http.c: potential buffer overflow as Resolved.
Mar 16 2015, 3:09 PM · Not A Bug, Bug Report, gnupg
werner lowered the priority of T1644: Do not expect KeyIDs to be unique from Unbreak Now! to Normal.
Mar 16 2015, 3:06 PM · gnupg (gpg22), S/MIME, Bug Report

Mar 15 2015

stebe added projects to T1925: Broken link pointing to http://egd.sourceforge.org/ instead of .sourceforge.net: Feature Request, gpgweb.
Mar 15 2015, 5:50 PM · gpgweb, Feature Request
davidw added a comment to T1924: Fix hkps: hostname verification and SNI.

D288: 584_poolname_and_SNI.patch

Mar 15 2015, 8:19 AM · Bug Report, dirmngr
davidw added projects to T1924: Fix hkps: hostname verification and SNI: dirmngr, Bug Report.
Mar 15 2015, 8:19 AM · Bug Report, dirmngr
davidw set Version to 2.1.2 on T1924: Fix hkps: hostname verification and SNI.
Mar 15 2015, 8:19 AM · Bug Report, dirmngr

Mar 13 2015

dkg added a comment to T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only.

This shows up elsewhere too:

http://forum.yubico.com/viewtopic.php?f=26&t=1171

says:

For some inexplicable reason, GnuPG cannot extract the public key from a
smartcard except during generation. That means that to use the key from
another computer, you either have to copy the public key from the original
computer's GnuPG keyring, or you need to set the URL attribute to a file
which contains the PGP public key block. Otherwise, the token is effectively
locked to a single computer, and unuseable if you happen to trash your
keyring unless you regenerate a key.

It would be nice to streamline this case.

Mar 13 2015, 10:50 PM · gnupg, Feature Request

Mar 11 2015

werner added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

FWIW: libgpg-error.so.0: no version information available"
is a harmless diagnostic issued for example by Debian to help detecting broken
ABIs. It is a non-issue here. We can't do anthing about it. With some
libgpg-error we introduced symbol versioning to assist the loader and to hide
internal symbols from other ELF objects.

Mar 11 2015, 6:03 PM · Bug Report, libgcrypt
jukivili added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Unaligned memory accesses are enabled on only architectures that can handle
those. The buf_xor function that you copy-pasted partially to stackoverflow
actually has alignment checks:

#if defined(i386) || defined(x86_64) || \

defined(__powerpc__) || defined(__powerpc64__) || \
(defined(__arm__) && defined(__ARM_FEATURE_UNALIGNED)) || \
defined(__aarch64__)

/* These architectures are able of unaligned memory accesses and can

  handle those fast.
*/
  1. define BUFHELP_FAST_UNALIGNED_ACCESS 1 #endif ... /* Optimized function for buffer xoring */ static inline void buf_xor(void *_dst, const void *_src1, const void *_src2, size_t len) { byte *dst = _dst; const byte *src1 = _src1; const byte *src2 = _src2; uintptr_t *ldst; const uintptr_t *lsrc1, *lsrc2; #ifndef BUFHELP_FAST_UNALIGNED_ACCESS const unsigned int longmask = sizeof(uintptr_t) - 1; /* Skip fast processing if buffers are unaligned. */ if (((uintptr_t)dst | (uintptr_t)src1 | (uintptr_t)src2) & longmask) goto do_bytes; #endif ldst = (uintptr_t *)(void *)dst; lsrc1 = (const uintptr_t *)(const void *)src1; lsrc2 = (const uintptr_t *)(const void *)src2; for (; len >= sizeof(uintptr_t); len -= sizeof(uintptr_t)) *ldst++ = *lsrc1++ ^ *lsrc2++; dst = (byte *)ldst; src1 = (const byte *)lsrc1; src2 = (const byte *)lsrc2; #ifndef BUFHELP_FAST_UNALIGNED_ACCESS do_bytes: #endif /* Handle tail. */ for (; len; len--) *dst++ = *src1++ ^ *src2++; }

So, yes, we use unaligned memory accesses but only when it is known that they work.

Now, solution (with same code generation, without undefined behaviour) to this
issue is to tell the compiler that we really want to do unaligned accesses. For
that we need to change the accesses to happen through type that has proper
one-byte alignment, but generates the same code (unaligned word-size memory
accesses) on the few architectures that enable 'BUFHELP_FAST_UNALIGNED_ACCESS':

#ifdef BUFHELP_FAST_UNALIGNED_ACCESS
/* Define type with one-byte alignment on architectures with fast unaligned

  memory accesses.
*/

typedef struct bufhelp_int_s
{

uintptr_t a;

} attribute((packed, aligned(1))) bufhelp_int_t;
#else
/* Define type with default alignment for other architectures (unaligned

  accessed handled in per byte loops).
*/

typedef struct bufhelp_int_s
{

uintptr_t a;

} bufhelp_int_t;
#endif

Ofcourse, BUFHELP_FAST_UNALIGNED_ACCESS now need to be limited to compiler that
support GCC style attributes.

Mar 11 2015, 6:00 PM · Bug Report, libgcrypt
werner closed T1922: gpg 2.1 ignoring GPG_AGENT_INFO breaks gnome-keyring compatibility as Resolved.
Mar 11 2015, 5:57 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1922: gpg 2.1 ignoring GPG_AGENT_INFO breaks gnome-keyring compatibility: Not A Bug.
Mar 11 2015, 5:57 PM · Not A Bug, Bug Report, gnupg
werner added a comment to T1922: gpg 2.1 ignoring GPG_AGENT_INFO breaks gnome-keyring compatibility.

GPG_AGENT_INFO is a private property of GnuPG and no other software may use it.
In fact gnome-keyring does worse things to the IPC between gpg and gpg-agent.
There is a even detection code in gpg to print a warning when gkr has hijacked
the IPC. cf. the long discussions at many MLS.

BTW, A socket has always been used.

Mar 11 2015, 5:57 PM · Not A Bug, Bug Report, gnupg
werner added a comment to T1923: gpg-agent does not stop on logout.

That is a matter of your OS and not of GnuPG.

Mar 11 2015, 5:54 PM · Bug Report, Not A Bug, gnupg
werner closed T1923: gpg-agent does not stop on logout as Resolved.
Mar 11 2015, 5:54 PM · Bug Report, Not A Bug, gnupg
werner added a project to T1923: gpg-agent does not stop on logout: Not A Bug.
Mar 11 2015, 5:54 PM · Bug Report, Not A Bug, gnupg
jukivili claimed T1881: Undefined behavior when running `make check` under Clang sanitizers.
Mar 11 2015, 5:35 PM · Bug Report, libgcrypt
Jule set Version to 2.1.2 on T1923: gpg-agent does not stop on logout.
Mar 11 2015, 3:27 PM · Bug Report, Not A Bug, gnupg
Jule added projects to T1923: gpg-agent does not stop on logout: gnupg, Bug Report.
Mar 11 2015, 3:27 PM · Bug Report, Not A Bug, gnupg
Jule added projects to T1922: gpg 2.1 ignoring GPG_AGENT_INFO breaks gnome-keyring compatibility: gnupg, Bug Report.
Mar 11 2015, 3:16 PM · Not A Bug, Bug Report, gnupg
Jule set Version to 2.1.2 on T1922: gpg 2.1 ignoring GPG_AGENT_INFO breaks gnome-keyring compatibility.
Mar 11 2015, 3:16 PM · Not A Bug, Bug Report, gnupg

Mar 10 2015

bernhard added a comment to T1921: Duplicated certificates in gpgsm pubring (2.1).

Except the for doubled listing, is there any other potential drawback?

Mar 10 2015, 9:08 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke set Version to 2.1.2 on T1921: Duplicated certificates in gpgsm pubring (2.1).
Mar 10 2015, 6:13 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke added a comment to T1921: Duplicated certificates in gpgsm pubring (2.1).

Mar 10 2015, 6:13 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke updated subscribers of T1921: Duplicated certificates in gpgsm pubring (2.1).
Mar 10 2015, 6:13 PM · Bug Report, gnupg, dirmngr, S/MIME
aheinecke added projects to T1921: Duplicated certificates in gpgsm pubring (2.1): S/MIME, dirmngr, gnupg, Bug Report.
Mar 10 2015, 6:13 PM · Bug Report, gnupg, dirmngr, S/MIME
werner added a comment to T1863: libgcrypt offers/uses --with-pth-prefix.

That is used for an experimental tool of Libgcrypt (src/gcryptrnd). It is not
clear whether this will be ported to npth or removed.

Mar 10 2015, 5:06 PM · libgcrypt
werner added a comment to T1917: Provide a way to determine available ECC Curves.

Done with commit 14af2be

$ gpg --with-colons --list-config curve
cfg:curve:ed25519;nistp256;nistp384;nistp521;brainpoolP256r1;brainpoolP384r1;brainpoolP512r1;secp256k1

Mar 10 2015, 3:45 PM · gnupg, Feature Request
werner closed T1917: Provide a way to determine available ECC Curves as Resolved.
Mar 10 2015, 3:45 PM · gnupg, Feature Request
werner added a comment to T1920: build failure on cygwin with speedo.

Please build libgcrypt directly and read README(cross-compiling).
I assume you are using libgpg-error 1.18, right?

Mar 10 2015, 11:00 AM · Info Needed, Bug Report, gpgrt
werner added a comment to T1919: Libgcrypt in Gpg4Win has AES-NI support disabled.

Since then we did a lot of work on Libgcrypt so that the AES-NI code is
different from May 2012. It is possible that we accidently clobbered a register
which might have been the reason for the VirtualBox failure.

I can't remember the test case, but any use of AES should have hit it. Just use
gpg where AES is the default anyway. I suggest to revert that patch an see what
happens.

Mar 10 2015, 10:56 AM · libgcrypt, Feature Request, gpg4win
werner added a comment to T1894: mpi-bit: numerous potential null pointer dereferences.

BTW: Anyone using -DNDEBUG should be punished by having to read BIND 4 code for
the next 3 months.

Mar 10 2015, 10:10 AM · Mistaken, libgcrypt
werner added a comment to T1894: mpi-bit: numerous potential null pointer dereferences.

No c+p of warnings please! Use gnupg-devel for such things.

Mar 10 2015, 10:08 AM · Mistaken, libgcrypt
werner added a project to T1894: mpi-bit: numerous potential null pointer dereferences: Mistaken.
Mar 10 2015, 10:08 AM · Mistaken, libgcrypt
werner added a comment to T1899: primegen.c: uses is_locked, which appears to suffer a race.

Sure it used and thus read! You only need to look at the code for 5 seconds!
And no, it is not a lock. Read the comment at the var definition.

Mar 10 2015, 10:07 AM · Not A Bug, libgcrypt
werner added a project to T1899: primegen.c: uses is_locked, which appears to suffer a race: Not A Bug.
Mar 10 2015, 10:07 AM · Not A Bug, libgcrypt
werner added a project to T1912: iobuf.c: potential buffer overflows: Not A Bug.
Mar 10 2015, 10:03 AM · Not A Bug, Bug Report, gnupg
werner added a comment to T1912: iobuf.c: potential buffer overflows.

Please stop using this severely broken analyzer. It does not overflow anything.
Checkout the allocation of the bufgfger 3 lines earlier!

Mar 10 2015, 10:03 AM · Not A Bug, Bug Report, gnupg
werner added a comment to T1900: des.c: the right operand of '^' is a garbage value.

clang seems to be weak in a lot of areas ;-)

Mar 10 2015, 10:01 AM · Mistaken, libgcrypt
werner added a project to T1900: des.c: the right operand of '^' is a garbage value: Mistaken.
Mar 10 2015, 10:01 AM · Mistaken, libgcrypt
werner closed T1869: Case value not in enumerated type as Resolved.
Mar 10 2015, 10:00 AM · Not A Bug, libgcrypt, Feature Request
werner added a comment to T1869: Case value not in enumerated type.

Yes it is not for a reason - checkout the comments to see why.

Mar 10 2015, 10:00 AM · Not A Bug, libgcrypt, Feature Request
werner added a project to T1869: Case value not in enumerated type: Not A Bug.
Mar 10 2015, 10:00 AM · Not A Bug, libgcrypt, Feature Request
werner added a project to T1901: seed.c: the right operand of '^' is a garbage value: Won't Fix.
Mar 10 2015, 9:59 AM · Won't Fix, libgcrypt
werner added a comment to T1901: seed.c: the right operand of '^' is a garbage value.

Given all the other faulty warnings I have seen meanwhile I have severe doubts
on the quality of that tool! Please distcuss on gnupg-devel.

Mar 10 2015, 9:59 AM · Won't Fix, libgcrypt
werner closed T1871: Adding 'int' to a string does not append to the string as Resolved.
Mar 10 2015, 9:57 AM · Not A Bug, libgcrypt, Feature Request
werner added a project to T1871: Adding 'int' to a string does not append to the string: Not A Bug.
Mar 10 2015, 9:57 AM · Not A Bug, libgcrypt, Feature Request
werner added a comment to T1871: Adding 'int' to a string does not append to the string.

Sure it does not. This is C! What a plain silly warning.

Mar 10 2015, 9:57 AM · Not A Bug, libgcrypt, Feature Request
werner added a comment to T1882: warning: comparison of array 'hd->buf' equal to a null pointer is always false.

No c+p of warnings please! Use gnupg-devel for such things.

Mar 10 2015, 9:56 AM · Mistaken, libgcrypt, Feature Request
werner added a project to T1882: warning: comparison of array 'hd->buf' equal to a null pointer is always false: Mistaken.
Mar 10 2015, 9:56 AM · Mistaken, libgcrypt, Feature Request
werner closed T1882: warning: comparison of array 'hd->buf' equal to a null pointer is always false as Resolved.
Mar 10 2015, 9:56 AM · Mistaken, libgcrypt, Feature Request
werner closed T1866: `make check` uses wrong libgcrypt library as Resolved.
Mar 10 2015, 9:55 AM · Mistaken, Bug Report, libgcrypt
werner added a project to T1866: `make check` uses wrong libgcrypt library: Mistaken.
Mar 10 2015, 9:55 AM · Mistaken, Bug Report, libgcrypt
werner added a comment to T1866: `make check` uses wrong libgcrypt library.

No c+p of warnings please! Use gnupg-devel for such things.

Mar 10 2015, 9:55 AM · Mistaken, Bug Report, libgcrypt
werner added a project to T1868: Potential use of uninitialized variable: Mistaken.
Mar 10 2015, 9:54 AM · Mistaken, Bug Report, libgcrypt
werner closed T1868: Potential use of uninitialized variable as Resolved.
Mar 10 2015, 9:54 AM · Mistaken, Bug Report, libgcrypt
werner added a comment to T1868: Potential use of uninitialized variable.

No c+p of warnings please! Use gnupg-devel for such things.

Mar 10 2015, 9:54 AM · Mistaken, Bug Report, libgcrypt