Page MenuHome GnuPG
Feed Advanced Search

Apr 18 2013

werner added a comment to T1482: test "basic" dumps core on sparcv9.

Duplicate of T1384

Apr 18 2013, 11:13 AM · Duplicate, Bug Report, libgcrypt
werner added a project to T1482: test "basic" dumps core on sparcv9: Duplicate.
Apr 18 2013, 11:13 AM · Duplicate, Bug Report, libgcrypt

Apr 5 2013

step closed T1471: hash functions for proof-of-work calculations (bcrypt/scrypt) as Resolved.
Apr 5 2013, 1:40 PM · libgcrypt, Feature Request
step added a comment to T1471: hash functions for proof-of-work calculations (bcrypt/scrypt).

Marking as resolved, as this seems to work fine now as far as I can tell (I'm
certainly happy).

Apr 5 2013, 1:40 PM · libgcrypt, Feature Request
step removed a project from T1471: hash functions for proof-of-work calculations (bcrypt/scrypt): In Progress.
Apr 5 2013, 1:40 PM · libgcrypt, Feature Request
werner added a project to T1471: hash functions for proof-of-work calculations (bcrypt/scrypt): In Progress.
Apr 5 2013, 12:30 PM · libgcrypt, Feature Request
werner added a comment to T1471: hash functions for proof-of-work calculations (bcrypt/scrypt).

scrypt has now been implemented.

Apr 5 2013, 12:30 PM · libgcrypt, Feature Request

Mar 22 2013

step added a comment to T1471: hash functions for proof-of-work calculations (bcrypt/scrypt).

D167: 370_scrypt.diff

Mar 22 2013, 12:59 PM · libgcrypt, Feature Request

Mar 20 2013

werner added a comment to T1470: ECC multiplication API for ECDH(E).

Done in master.

Mar 20 2013, 4:08 PM · libgcrypt, Feature Request
werner closed T1470: ECC multiplication API for ECDH(E) as Resolved.
Mar 20 2013, 4:08 PM · libgcrypt, Feature Request
werner set Due Date to Mar 31 2013, 1:00 AM on T1482: test "basic" dumps core on sparcv9.
Mar 20 2013, 11:27 AM · Duplicate, Bug Report, libgcrypt
werner added a comment to T1482: test "basic" dumps core on sparcv9.

Ah yes, that Serpent case again. We have a fix for that but a brief inspection
made me believe that it will only happen if the serpent.c code is used outside
of the Libgcrypt. It is an alignment problem. Please give me a few days to
prepare an updated patch.

Mar 20 2013, 11:26 AM · Duplicate, Bug Report, libgcrypt
dagobert added a comment to T1482: test "basic" dumps core on sparcv9.

I just verified that the issue only appears on 64 bit sparc, all others like 32
bit i386, 32 bit sparc and 64 bit amd64 work fine, so it is most likely a byte-
order issue.

Mar 20 2013, 10:56 AM · Duplicate, Bug Report, libgcrypt
dagobert added projects to T1482: test "basic" dumps core on sparcv9: libgcrypt, Bug Report.
Mar 20 2013, 10:33 AM · Duplicate, Bug Report, libgcrypt
dagobert set Version to 1.5.1 on T1482: test "basic" dumps core on sparcv9.
Mar 20 2013, 10:33 AM · Duplicate, Bug Report, libgcrypt

Mar 18 2013

werner closed T1459: Build broken with automake-1.13 as Resolved.
Mar 18 2013, 6:20 PM · Bug Report, libgcrypt
werner added a comment to T1459: Build broken with automake-1.13.

Argh, I did quite some fixes for the 1.5.1 release and assumed that I applied
this one as well. Now pushed but too late for 1.5.1 :-(. However, there is no
need to use automake for a released version.

Mar 18 2013, 6:20 PM · Bug Report, libgcrypt
werner closed T1452: AES encryption at a stable Gentoo Linux broken as Resolved.
Mar 18 2013, 9:28 AM · Bug Report, libgcrypt
werner removed a project from T1452: AES encryption at a stable Gentoo Linux broken: Restricted Project.
Mar 18 2013, 9:28 AM · Bug Report, libgcrypt
werner removed a project from T1439: Windows: race condition on random_seed: Restricted Project.
Mar 18 2013, 9:23 AM · libgcrypt, Bug Report
werner closed T1439: Windows: race condition on random_seed as Resolved.
Mar 18 2013, 9:23 AM · libgcrypt, Bug Report
werner added a comment to T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections.

You are using version 1.4.5 and not 1.5.0.

Two hints: Your are using the Solaris as and ld - better try with a native GNU
toolchain. You have some global CLFAGS set which add a lot of extra and useless
include paths. Please remove them.

I close the bug because it is pretty old. Feel free to re-open it if you have
newer info and tried with 1.5.0.

Mar 18 2013, 9:21 AM · Bug Report, libgcrypt
werner closed T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections as Resolved.
Mar 18 2013, 9:21 AM · Bug Report, libgcrypt
werner changed Version from 1.5.0 to 1.4.5 on T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections.
Mar 18 2013, 9:21 AM · Bug Report, libgcrypt
werner added a comment to T1468: libgcrypt's cipher/Makefile fails to take into account gcc 4.6 -Ofast flag.

Done in commit d3132553 for 1.5. Needs to be fixed in master.

Mar 18 2013, 9:06 AM · Bug Report, libgcrypt
werner added a project to T1468: libgcrypt's cipher/Makefile fails to take into account gcc 4.6 -Ofast flag: In Progress.
Mar 18 2013, 9:06 AM · Bug Report, libgcrypt
werner closed T1217: VERY_STRONG RNG seed initialization is problematic if only few bytes needed as Resolved.
Mar 18 2013, 9:02 AM · Won't Fix, libgcrypt, Feature Request
werner added a comment to T1217: VERY_STRONG RNG seed initialization is problematic if only few bytes needed.

1.6 (current master) now has a feature to switch to a pure /dev/random based RNG.

Mar 18 2013, 9:02 AM · Won't Fix, libgcrypt, Feature Request

Feb 7 2013

step added projects to T1471: hash functions for proof-of-work calculations (bcrypt/scrypt): Feature Request, libgcrypt.
Feb 7 2013, 4:01 PM · libgcrypt, Feature Request
step added projects to T1470: ECC multiplication API for ECDH(E): Feature Request, libgcrypt.
Feb 7 2013, 3:56 PM · libgcrypt, Feature Request
step added projects to T1469: Support for ed25519: Feature Request, libgcrypt.
Feb 7 2013, 3:53 PM · libgcrypt, Feature Request

Jan 23 2013

Score_Under set External Link to http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.gz on T1468: libgcrypt's cipher/Makefile fails to take into account gcc 4.6 -Ofast flag.
Jan 23 2013, 11:34 PM · Bug Report, libgcrypt
Score_Under added projects to T1468: libgcrypt's cipher/Makefile fails to take into account gcc 4.6 -Ofast flag: libgcrypt, Bug Report.
Jan 23 2013, 11:34 PM · Bug Report, libgcrypt

Jan 11 2013

werner added a comment to T1459: Build broken with automake-1.13.

Also in other GnuPG related software. Just fixed for GnuPG 1.4.

Jan 11 2013, 3:45 PM · Bug Report, libgcrypt

Jan 8 2013

werner added a comment to T1459: Build broken with automake-1.13.

I know, it will be update before a release. Thanks for the reminder.

Jan 8 2013, 3:33 PM · Bug Report, libgcrypt

Jan 3 2013

cazfi added a comment to T1459: Build broken with automake-1.13.

D161: 363_obsolete_automake_macros.patch

Jan 3 2013, 6:19 AM · Bug Report, libgcrypt
cazfi set Version to 1.5.0 on T1459: Build broken with automake-1.13.
Jan 3 2013, 6:19 AM · Bug Report, libgcrypt
cazfi added projects to T1459: Build broken with automake-1.13: libgcrypt, Bug Report.
Jan 3 2013, 6:19 AM · Bug Report, libgcrypt

Nov 21 2012

werner added a project to T1452: AES encryption at a stable Gentoo Linux broken: Restricted Project.
Nov 21 2012, 11:38 AM · Bug Report, libgcrypt
werner added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Fixed in master and 1.5 by adding an aligned attribute to RIJNDAEL_context.
However, this is not portable becuase we do this only for gcc. To mitigate the
problem I will replace the ifdef GNUC by a macro figured out by configure.

Nov 21 2012, 10:49 AM · Bug Report, libgcrypt
werner added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Yep, you should have mentioned the aligned problem in the selftest. I don't
follow the gentoo tracker if we are already discussing here. I will soon look
at the problem. A new 1.5 release is anyway due.

Nov 21 2012, 10:18 AM · Bug Report, libgcrypt

Nov 20 2012

toralf added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Gentoo thinks about patching its package with their own solution till an
official fix :
https://bugs.gentoo.org/show_bug.cgi?id=442568#add_comment

Nov 20 2012, 6:13 PM · Bug Report, libgcrypt

Nov 15 2012

toralf added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Gentoo devs identified an issue in the source code :

Nov 15 2012, 8:42 PM · Bug Report, libgcrypt
werner added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Please build it with a stock compiler and standard options (i.e. none). Same
problem? No, then add options until you get the segv again.

Nov 15 2012, 2:59 PM · Bug Report, libgcrypt

Nov 13 2012

toralf added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

TIt is a 3.6.6 vanilla kernel of a stable Gentoo with 3.6.6 vanilla kernel and
gcc-4.6.3 (+ Gentoo patch set), all options are here :
https://bugs.gentoo.org/show_bug.cgi?id=442568#c0

and there's the complete build log attached too (gzip'ed - the mime type might
be sometimes not recognized correctly)

Nov 13 2012, 5:40 PM · Bug Report, libgcrypt
werner added a project to T1439: Windows: race condition on random_seed: Restricted Project.
Nov 13 2012, 11:01 AM · libgcrypt, Bug Report
werner removed a project from T1439: Windows: race condition on random_seed: In Progress.
Nov 13 2012, 11:01 AM · libgcrypt, Bug Report
werner added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

Please provide more information, in particular: the OS Version, the compiler and
all options used for building.

Nov 13 2012, 11:01 AM · Bug Report, libgcrypt

Nov 10 2012

toralf added a comment to T1452: AES encryption at a stable Gentoo Linux broken.

quick bisecting gave :

tfoerste@n22 ~/devel/libgcrypt $ git bisect bad
83f80d39c3feddc7e055525d47dcf3f069801e89 is the first bad commit
commit 83f80d39c3feddc7e055525d47dcf3f069801e89
Author: Werner Koch <wk@gnupg.org>
Date: Tue Feb 15 14:38:02 2011 +0100

    Change more AES-NI code into plain asm

:040000 040000 5f3aef9e672defe8feeec28e4c6aa2b810c7e0e8
01816387886d3d8e832d0a97e1e0f1a984fa9256 M cipher

Nov 10 2012, 10:27 PM · Bug Report, libgcrypt
toralf added projects to T1452: AES encryption at a stable Gentoo Linux broken: libgcrypt, Bug Report.
Nov 10 2012, 10:10 PM · Bug Report, libgcrypt

Nov 9 2012

jegrp added a comment to T1439: Windows: race condition on random_seed.

I'm not able to reproduce the problem with commit b1abc01. It was reproducible
with the preceding revision (commit a74f05c), so I can confirm that b1abc01 has
fixed it.

Nov 9 2012, 6:48 PM · libgcrypt, Bug Report

Nov 8 2012

werner closed T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang) as Resolved.
Nov 8 2012, 3:48 PM · Bug Report, libgcrypt

Nov 7 2012

werner added a comment to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang).

This problem also happens with gcc if run in -std=c99 mode. It is due to a
change in gcc 4.3. It has been fixed in for stable and master. It is thus
likely that the problem is also solved for clang.

Nov 7 2012, 6:19 PM · Bug Report, libgcrypt
werner removed projects from T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): clang, Not A Bug.
Nov 7 2012, 6:19 PM · Bug Report, libgcrypt
werner added a project to T1439: Windows: race condition on random_seed: In Progress.
Nov 7 2012, 6:15 PM · libgcrypt, Bug Report
werner removed a project from T1439: Windows: race condition on random_seed: Restricted Project.
Nov 7 2012, 6:15 PM · libgcrypt, Bug Report
werner added a comment to T1439: Windows: race condition on random_seed.

I have implemented your suggestion for 1.4. Check out commit b1abc01 of GnuPG.

Nov 7 2012, 6:14 PM · libgcrypt, Bug Report
werner added a project to T1439: Windows: race condition on random_seed: Restricted Project.
Nov 7 2012, 6:13 PM · libgcrypt, Bug Report
werner removed a project from T1439: Windows: race condition on random_seed: In Progress.
Nov 7 2012, 6:13 PM · libgcrypt, Bug Report
werner added a project to T1439: Windows: race condition on random_seed: In Progress.
Nov 7 2012, 5:21 PM · libgcrypt, Bug Report
werner added a comment to T1439: Windows: race condition on random_seed.

Yes, mandatory locks are a problem. LockFile works on a separate lockfile to
implement such an advisory locking. If we would lock the random_seed file
directly reads or writes will fail and we won't be able to lock the creation of
that file.

You suggestion for 1.4. makes sense.

Nov 7 2012, 5:21 PM · libgcrypt, Bug Report

Sep 26 2012

jegrp added a comment to T1439: Windows: race condition on random_seed.

I'm not sure what you mean by "no portable advisory locking in Windows".
There's LockFile()/UnlockFile() as used in the new dotlock code. Would it be a
problem if the locks on random_seed were mandatory locks? If so, then using the
dotlock code is certainly the shortest path to a perfect solution.

Regarding gpg 1.4, however: The reason why I opened this bug is that gpg
randomly fails to encrypt what it was told to encrypt. This is as bad as if it
would be randomly crashing. I don't mind an occasional "note: random_seed file
is empty" message nor a performance penalty from needlessly re-generating the
seed file. Modifying the error handling after read() as I tried to outline in
my previous message ought to be enough to get rid of the random fatal errors.
Do you consider such a change suitable for gpg 1.4?

Sep 26 2012, 5:52 PM · libgcrypt, Bug Report
werner set Due Date to Oct 31 2012, 1:00 AM on T1439: Windows: race condition on random_seed.
Sep 26 2012, 3:15 PM · libgcrypt, Bug Report
werner changed Version from 1.4.12 to all on T1439: Windows: race condition on random_seed.
Sep 26 2012, 3:15 PM · libgcrypt, Bug Report
werner added a project to T1439: Windows: race condition on random_seed: libgcrypt.
Sep 26 2012, 3:15 PM · libgcrypt, Bug Report

Aug 9 2012

werner added a project to T1432: rijndael implementation contains ambiguos instructions: clang.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt, Not A Bug
werner closed T1432: rijndael implementation contains ambiguos instructions as Resolved.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt, Not A Bug
werner added a project to T1431: libgcrypt depends on gnu extensions which hinders clang compilation: clang.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner closed T1431: libgcrypt depends on gnu extensions which hinders clang compilation as Resolved.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner added a comment to T1431: libgcrypt depends on gnu extensions which hinders clang compilation.

clang falsely pretends to be gcc by defining GNUC. However, it
does not has the features of gcc. Please fix clang.

Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner removed a project from T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): patch.
Aug 9 2012, 3:54 PM · Bug Report, libgcrypt
werner added a project to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): clang.
Aug 9 2012, 3:54 PM · Bug Report, libgcrypt
werner added a project to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): Not A Bug.
Aug 9 2012, 3:52 PM · Bug Report, libgcrypt
werner added a comment to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang).

Inline is an extension to C90 implemented by almost all compilers.
What we do is what the gcc manual suggest for ages:

   This combination of `inline' and `extern' has almost the effect of
   a macro.  The way to use it is to put a function definition in a
   header file with these keywords, and put another copy of the
   definition (lacking `inline' and `extern') in a library file.  The
   definition in the header file will cause most calls to the function
   to be inlined.  If any uses of the function remain, they will refer
   to the single copy in the library.

I don’t know why clang seems to be the only compiler who does not grok
this. Libgcrypt has been compiled on a wide range of compilers
without any problem.

Wait, I see. Clang pretends to be gcc and defines GNUC. Thus
mpi-internal.h includes the inline functions:

  #ifdef __GNUC__
  #include "mpi-inline.h"
  #endif

which is a valid gcc construct. As with some other bug reports; I can
only suggest to fix clang and don't have it define GNUC .

Aug 9 2012, 3:52 PM · Bug Report, libgcrypt
werner removed a project from T1435: duplicate syms in libmpi: gpgme.
Aug 9 2012, 3:26 PM · clang, gnupg, Bug Report
werner added a project to T1435: duplicate syms in libmpi: libgcrypt.
Aug 9 2012, 3:26 PM · clang, gnupg, Bug Report

Aug 1 2012

werner added a comment to T1431: libgcrypt depends on gnu extensions which hinders clang compilation.

Funny that several other compilers grok that asm stuff.

Aug 1 2012, 7:20 AM · clang, Bug Report, libgcrypt
werner added a comment to T1432: rijndael implementation contains ambiguos instructions.

That code is only used if compiled by GCC (GNUC >= 4). Now if clang
pretends to be gcc, it needs to make sure to be 100% compatible with gcc.

Aug 1 2012, 7:14 AM · clang, Bug Report, libgcrypt, Not A Bug
werner added a project to T1432: rijndael implementation contains ambiguos instructions: Not A Bug.
Aug 1 2012, 7:14 AM · clang, Bug Report, libgcrypt, Not A Bug

Jul 27 2012

DavidNielsen added projects to T1432: rijndael implementation contains ambiguos instructions: libgcrypt, Bug Report.
Jul 27 2012, 4:54 PM · clang, Bug Report, libgcrypt, Not A Bug
DavidNielsen added projects to T1431: libgcrypt depends on gnu extensions which hinders clang compilation: libgcrypt, Bug Report.
Jul 27 2012, 4:30 PM · clang, Bug Report, libgcrypt
DavidNielsen set Version to 1.4.6 on T1431: libgcrypt depends on gnu extensions which hinders clang compilation.
Jul 27 2012, 4:30 PM · clang, Bug Report, libgcrypt

Jun 13 2012

mgorny added a comment to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang).

It seems that my patch does actually break gcc... i'm not sure how to handle
this correctly anyway. It seems that the problem is actually unsolvable, and
there's no correct way to mix inline functions and external assembly definitions.

Jun 13 2012, 10:22 PM · Bug Report, libgcrypt
mgorny added a comment to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang).

D154: 346_0001-Fix-use-of-inline-to-avoid-multiple-declarations.patch

Jun 13 2012, 9:40 AM · Bug Report, libgcrypt
mgorny added projects to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): libgcrypt, Bug Report, patch.
Jun 13 2012, 9:40 AM · Bug Report, libgcrypt

Dec 16 2011

werner added a project to T1384: Bad alignment in serpent.c: In Progress.
Dec 16 2011, 10:03 PM · Bug Report, libgcrypt
werner added a comment to T1384: Bad alignment in serpent.c.

tests/basic.c does now test with unaligned parameters.

Dec 16 2011, 10:03 PM · Bug Report, libgcrypt
werner added a comment to T1384: Bad alignment in serpent.c.

See http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/368{5,6}

Dec 16 2011, 10:14 AM · Bug Report, libgcrypt

Dec 15 2011

werner added projects to T1384: Bad alignment in serpent.c: libgcrypt, Bug Report.
Dec 15 2011, 3:31 PM · Bug Report, libgcrypt

Oct 4 2011

4tmuelle added a comment to T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections.

Oct 4 2011, 3:22 PM · Bug Report, libgcrypt
4tmuelle added a comment to T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections.

Why do you include openssl and other stuff with -I ?

I don't do that on purpose. I guess it's the build system, that does that.

Oct 4 2011, 3:22 PM · Bug Report, libgcrypt

Sep 15 2011

werner closed T1360: Stack corruption in _gcry_rndw32_gather_random_fast (w64) as Resolved.
Sep 15 2011, 9:22 AM · Windows 64, Bug Report, libgcrypt, Windows, Not A Bug
werner added a comment to T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections.

Why do you include openssl and other stuff with -I ? Please show the config.log
file.

Sep 15 2011, 9:22 AM · Bug Report, libgcrypt
werner added a comment to T1353: Update libgcrypt 1.4.5 -> 1.5.0 : signing no longer works, pkglue.c:41: mpi_from_sexp.

2.0.18 has been released and fixes this problem

Sep 15 2011, 9:18 AM · Bug Report, libgcrypt
werner closed T1353: Update libgcrypt 1.4.5 -> 1.5.0 : signing no longer works, pkglue.c:41: mpi_from_sexp as Resolved.
Sep 15 2011, 9:18 AM · Bug Report, libgcrypt

Aug 3 2011

werner added a comment to T1360: Stack corruption in _gcry_rndw32_gather_random_fast (w64).

Libgcrypt does not support 64 bit Windows yet. In particular do not use it even
if it would build and run fine. MSVC is not a supported build platform anyway.

Aug 3 2011, 6:36 AM · Windows 64, Bug Report, libgcrypt, Windows, Not A Bug
werner added a project to T1360: Stack corruption in _gcry_rndw32_gather_random_fast (w64): Not A Bug.
Aug 3 2011, 6:36 AM · Windows 64, Bug Report, libgcrypt, Windows, Not A Bug
MGtB set Version to 1.5.0 on T1360: Stack corruption in _gcry_rndw32_gather_random_fast (w64).
Aug 3 2011, 1:11 AM · Windows 64, Bug Report, libgcrypt, Windows, Not A Bug
MGtB added projects to T1360: Stack corruption in _gcry_rndw32_gather_random_fast (w64): Windows, libgcrypt, Bug Report, Windows 64.
Aug 3 2011, 1:11 AM · Windows 64, Bug Report, libgcrypt, Windows, Not A Bug

Jul 12 2011

4tmuelle added projects to T1356: Can't build on Solaris due to linking errors: ld: fatal: relocations remain against allocatable but non-writable sections: libgcrypt, Bug Report.
Jul 12 2011, 10:56 PM · Bug Report, libgcrypt