Page MenuHome GnuPG
Feed Advanced Search

Jun 16 2016

onitake added a comment to T2347: Regression in cipher/ecc.c.

Well, I still get a "Missing object" error in libaacs, and I'm not sure how to
fix it. But the patch is in, so I think the bug can be closed.

It seems the problem is around the code here:
http://git.videolan.org/?p=libaacs.git;a=blob;f=src/libaacs/crypto.c;h=4db7641ec8e9af3cdf056562de39a39e3fa0c09b;hb=HEAD#l308

And the error I get when I try to scan a disc with aacs_info is as follows:
crypto.c:587: _aacs_verify: gcry_pk_verify failed. error was: Missing item in object
aacs.c:1502: invalid signature in cached hrl

If you have any hints, I'd be very grateful. Thanks!

Jun 16 2016, 12:06 AM · Bug Report, libgcrypt

Jun 15 2016

werner added a comment to T2347: Regression in cipher/ecc.c.

Can we close this bug? (1.71 has been released)

Jun 15 2016, 10:11 PM · Bug Report, libgcrypt
werner added a project to T2336: libgcrypt 1.7.0 fails to be created: Not A Bug.
Jun 15 2016, 8:15 AM · Not A Bug, Bug Report, libgcrypt
werner closed T2336: libgcrypt 1.7.0 fails to be created as Resolved.
Jun 15 2016, 8:15 AM · Not A Bug, Bug Report, libgcrypt

Jun 4 2016

jf renamed T2378: t-lock and random tests crash on SPARC 32-bit from libgcrypt-1.7.0 t-lock test crashes on SPARC 32-bit to t-lock and random tests crash on SPARC 32-bit.
Jun 4 2016, 6:43 PM · Not A Bug, gpgrt, Bug Report
jf set Version to libgcrypt-1.7.0 on T2378: t-lock and random tests crash on SPARC 32-bit.
Jun 4 2016, 6:43 PM · Not A Bug, gpgrt, Bug Report
jf added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

libgcryp-1.7.0 t-lock and random test cases consistently crash on
SPARCv7 platform. On other platforms like x86/amd64/SPARCv9 the tests
succeed.

  • 8< ---

PASS: t-mpi-point
PASS: curves
/bin/bash: line 5: 6557 Bus Error (core dumped)
GCRYPT_IN_REGRESSION_TEST=1 ${dir}$tst
FAIL: t-lock
PASS: prime

[...]

PASS: fips186-dsa
PASS: aeswrap
PASS: pkcs1v2
random: running './random --in-recursion --early-rng-check' failed
FAIL: random
PASS: dsa-rfc6979

256 of 1026 tests done
512 of 1026 tests done
  • 8< ---
Jun 4 2016, 6:43 PM · Not A Bug, gpgrt, Bug Report

Jun 3 2016

jf added projects to T2378: t-lock and random tests crash on SPARC 32-bit: libgcrypt, Bug Report.
Jun 3 2016, 10:43 PM · Not A Bug, gpgrt, Bug Report

May 10 2016

gniibe added a comment to T2349: Composing a private key from raw key material.

This will be useful for GnuPG itself. For example, currently in
gnupg/agent/command-ssh.c, we have a function ssh_receive_key which compose a
private key from 'ssh-add'. With this API, it will be cleaned up.

May 10 2016, 2:29 PM · libgcrypt, Feature Request
gniibe added projects to T2349: Composing a private key from raw key material: Feature Request, libgcrypt.
May 10 2016, 2:16 PM · libgcrypt, Feature Request

May 6 2016

werner renamed T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX from Redeclaration of internal functions to use "external" typedef prevents build to Redeclaration of internal functions to use "external" typedef prevents build on AIX.
May 6 2016, 8:33 PM · Bug Report, libgcrypt
werner removed a project from T1736: FIPS 186-4 compliance patches: Restricted Project.
May 6 2016, 8:32 PM · libgcrypt, Feature Request
werner added a comment to T1736: FIPS 186-4 compliance patches.

Shoul all be done for 1.7.0.

May 6 2016, 8:32 PM · libgcrypt, Feature Request
werner closed T1736: FIPS 186-4 compliance patches as Resolved.
May 6 2016, 8:32 PM · libgcrypt, Feature Request
werner closed T2321: undefined reference to `gpgrt_annotate_leaked_object' as Resolved.
May 6 2016, 8:13 PM · Bug Report, Not A Bug, libgcrypt
werner added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

Given that a released version of libgpg-error does now exist, the problem should
be solved even for further versions taken from the repo.

May 6 2016, 8:13 PM · Bug Report, Not A Bug, libgcrypt
gniibe added a project to T2347: Regression in cipher/ecc.c: Restricted Project.
May 6 2016, 10:21 AM · Bug Report, libgcrypt
gniibe set Version to 1.7.0 on T2347: Regression in cipher/ecc.c.
May 6 2016, 10:21 AM · Bug Report, libgcrypt
gniibe added a comment to T2347: Regression in cipher/ecc.c.

Cofactor is defined by the curve. I guess that the cofactor of the curve in
libaacs is 1. Although my patch includes the code which gets cofactor from key
parameters, the ECDSA computation itself doesn't use cofactor actually.

Well, I haven't expected there is a user who uses (flags param), because it was
mostly for our development. There must be more bugs around that...

May 6 2016, 10:21 AM · Bug Report, libgcrypt
onitake added a comment to T2347: Regression in cipher/ecc.c.

I encountered this bug when I tried to use libgcrypt-HEAD with libaacs.
libaacs uses ECDSA, and when it calls gcry_pk_verify(), I get GPG_ERR_NO_OBJ
because the sexp was constructed without the h parameter.

May 6 2016, 9:50 AM · Bug Report, libgcrypt
gniibe added a comment to T2347: Regression in cipher/ecc.c.

Good catch.
Fixed in c7430aa752232aa690c5d8f16575a345442ad8d7.

May 6 2016, 6:25 AM · Bug Report, libgcrypt
gniibe claimed T2347: Regression in cipher/ecc.c.
May 6 2016, 6:25 AM · Bug Report, libgcrypt

May 5 2016

onitake added projects to T2347: Regression in cipher/ecc.c: libgcrypt, Bug Report.
May 5 2016, 11:00 AM · Bug Report, libgcrypt

Apr 26 2016

werner added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

A beta version is not a released version. For example SO numbers may be
different. BTW 1.22 has been released.

Apr 26 2016, 11:44 AM · Bug Report, Not A Bug, libgcrypt
werner added a project to T2325: rijndael error during make: Assembler.
Apr 26 2016, 11:38 AM · Assembler, Bug Report, libgcrypt
werner added a comment to T2336: libgcrypt 1.7.0 fails to be created.

For help on building libgcrypt, please ask on gcrypt-devel ML.

Your report is too sparse to help you. When writing to the ML you should
specify the used OS, any special configuration you have, and a detailed
description of what you did.

Apr 26 2016, 11:37 AM · Not A Bug, Bug Report, libgcrypt

Apr 25 2016

perske added projects to T2336: libgcrypt 1.7.0 fails to be created: libgcrypt, Bug Report.
Apr 25 2016, 7:14 PM · Not A Bug, Bug Report, libgcrypt

Apr 23 2016

kristianf added a comment to T2325: rijndael error during make.

The downstream issue does not persist in gcc 4.9.3 but triggers for 4.8.5

Apr 23 2016, 8:14 PM · Assembler, Bug Report, libgcrypt
kristianf added a comment to T2325: rijndael error during make.

Fwiw we're tracking this downstream as "dev-libs/libgcrypt-1.7.0: impossible
constraints on 'asm' operand" - https://bugs.gentoo.org/show_bug.cgi?id=580270

Apr 23 2016, 7:37 PM · Assembler, Bug Report, libgcrypt

Apr 22 2016

werner added a comment to T2325: rijndael error during make.

Here is the gist of the info:

i686-pc-linux-gnu
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. \

-I../src -I../src -I/usr/local/include -g -O2 \
-fvisibility=hidden -Wall -MT rijndael-aesni.lo \
-MD -MP -MF .deps/rijndael-aesni.Tpo -c rijndael-aesni.c \
-fPIC -DPIC -o .libsrijndael-aesni.o

rijndael-aesni.c: In function '_gcry_aes_aesni_ctr_enc':
rijndael-aesni.c:817:3: error: can't find a register in class \

'GENERAL_REGS' while reloading 'asm'

rijndael-aesni.c:1117:3: error: 'asm' operand has impossible constraints
rijndael-aesni.c:817:3: error: 'asm' operand has impossible constraints

Apr 22 2016, 10:51 AM · Assembler, Bug Report, libgcrypt
ann added a comment to T2325: rijndael error during make.

Apr 22 2016, 4:17 AM · Assembler, Bug Report, libgcrypt
ann added a comment to T2325: rijndael error during make.

I've attached the config.log file.

Apr 22 2016, 4:17 AM · Assembler, Bug Report, libgcrypt

Apr 21 2016

actionmystique reopened T2321: undefined reference to `gpgrt_annotate_leaked_object' as "Open".
Apr 21 2016, 7:42 AM · Bug Report, Not A Bug, libgcrypt
actionmystique added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

There's an issue somewhere: I built & installed libgpg-error 1.22 beta exactly
the same way as I did with 1.21. I'm not surprised by your answer: you guys have
already dismissed another perfectly valid issue report.

Apr 21 2016, 7:42 AM · Bug Report, Not A Bug, libgcrypt

Apr 20 2016

werner closed T2321: undefined reference to `gpgrt_annotate_leaked_object' as Resolved.
Apr 20 2016, 9:08 AM · Bug Report, Not A Bug, libgcrypt
werner added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

Something went wrong wile you installed libgpg-error. The linker picks up
another version of the library. If you need help, please ask on gnupg-devel.
Glad, that it now works for you.

Apr 20 2016, 9:08 AM · Bug Report, Not A Bug, libgcrypt

Apr 19 2016

werner removed projects from T2326: libgcrypt fails to build on FreeBSD 9.3: Restricted Project, backport.
Apr 19 2016, 8:13 PM · Bug Report, libgcrypt
werner added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

pushed to the 1.7 branch.

Apr 19 2016, 8:13 PM · Bug Report, libgcrypt
werner closed T2326: libgcrypt fails to build on FreeBSD 9.3 as Resolved.
Apr 19 2016, 8:13 PM · Bug Report, libgcrypt
werner added a project to T2326: libgcrypt fails to build on FreeBSD 9.3: backport.
Apr 19 2016, 8:08 PM · Bug Report, libgcrypt
werner added a project to T2326: libgcrypt fails to build on FreeBSD 9.3: Restricted Project.
Apr 19 2016, 8:08 PM · Bug Report, libgcrypt
werner added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

Thanks for the info and the patch.
I have pushed commit 4545372 to master and it will eventually go into 1.7.1.

Apr 19 2016, 8:08 PM · Bug Report, libgcrypt
werner updated subscribers of T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 19 2016, 8:08 PM · Bug Report, libgcrypt
cpm added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

Hi Werner,

FreeBSD 9.x uses gcc version 4.2.1 20070831 patched [FreeBSD]

Apr 19 2016, 11:03 AM · Bug Report, libgcrypt
werner claimed T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 19 2016, 10:43 AM · Bug Report, libgcrypt
werner updated subscribers of T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 19 2016, 10:43 AM · Bug Report, libgcrypt
werner assigned T2326: libgcrypt fails to build on FreeBSD 9.3 to twoaday.
Apr 19 2016, 10:43 AM · Bug Report, libgcrypt
werner added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

Thanks for the patch.
Which compiler version are you using?

Apr 19 2016, 10:42 AM · Bug Report, libgcrypt
werner added a comment to T2325: rijndael error during make.

Please provide more information. A kernel version is not sufficient. What
distro are you using, which compiler, etc. Sending the file config.log or a
transscript of the configure run would be helpful.

Apr 19 2016, 10:36 AM · Assembler, Bug Report, libgcrypt
werner lowered the priority of T2325: rijndael error during make from High to Normal.
Apr 19 2016, 10:36 AM · Assembler, Bug Report, libgcrypt

Apr 18 2016

cpm removed Due Date on T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 18 2016, 8:23 PM · Bug Report, libgcrypt
cpm added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

D365: 816_patch-cipher_crc-intel-pclmul.c

Apr 18 2016, 8:16 PM · Bug Report, libgcrypt
cpm added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

The following patch solves the problem.

Apr 18 2016, 8:16 PM · Bug Report, libgcrypt
cpm added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

Apr 18 2016, 8:01 PM · Bug Report, libgcrypt
cpm added projects to T2326: libgcrypt fails to build on FreeBSD 9.3: libgcrypt, Bug Report.
Apr 18 2016, 7:59 PM · Bug Report, libgcrypt
cpm set Due Date to Apr 18 2016, 2:00 AM on T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 18 2016, 7:59 PM · Bug Report, libgcrypt
cpm set Version to 1.7.0 on T2326: libgcrypt fails to build on FreeBSD 9.3.
Apr 18 2016, 7:59 PM · Bug Report, libgcrypt
cpm added a comment to T2326: libgcrypt fails to build on FreeBSD 9.3.

Apr 18 2016, 7:59 PM · Bug Report, libgcrypt
ann added a comment to T2325: rijndael error during make.

System is Linux 3.2.0-23-generic.

Apr 18 2016, 9:44 AM · Assembler, Bug Report, libgcrypt
ann added a comment to T2325: rijndael error during make.

Apr 18 2016, 9:41 AM · Assembler, Bug Report, libgcrypt
ann added projects to T2325: rijndael error during make: libgcrypt, Bug Report.
Apr 18 2016, 9:41 AM · Assembler, Bug Report, libgcrypt
ann set Version to 1.7.0 on T2325: rijndael error during make.
Apr 18 2016, 9:41 AM · Assembler, Bug Report, libgcrypt

Apr 16 2016

actionmystique added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

If I understand correctly, we cannot compile latest libgcrypt because:

  • the installed libgpg-error is a beta release
  • it has been installed in /usr instead of /usr/local

That's unusual.
So I rebuilt libgcrypt with libgpg-error stable 1.21 installed in /usr, and it
passed.

Apr 16 2016, 11:28 AM · Bug Report, Not A Bug, libgcrypt
actionmystique added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

It is true that I have built & installed libgpg-error from git master into
/usr:
./configure --enable-shared=yes \

			--enable-maintainer-mode \
			--prefix=/usr --sysconfdir=/etc --localstatedir=/var

But what do you mean by "properly install the library"?

Apr 16 2016, 10:54 AM · Bug Report, Not A Bug, libgcrypt
werner closed T2256: (Near) endless loop in gcry_mpi_powm as Resolved.
Apr 16 2016, 10:47 AM · Bug Report, libgcrypt
werner removed a project from T2256: (Near) endless loop in gcry_mpi_powm: Restricted Project.
Apr 16 2016, 10:47 AM · Bug Report, libgcrypt
werner closed T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler as Resolved.
Apr 16 2016, 10:47 AM · Bug Report, libgcrypt
werner removed a project from T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler: Restricted Project.
Apr 16 2016, 10:47 AM · Bug Report, libgcrypt
werner added a project to T2321: undefined reference to `gpgrt_annotate_leaked_object': Not A Bug.
Apr 16 2016, 10:44 AM · Bug Report, Not A Bug, libgcrypt
werner lowered the priority of T2321: undefined reference to `gpgrt_annotate_leaked_object' from Unbreak Now! to Normal.
Apr 16 2016, 10:44 AM · Bug Report, Not A Bug, libgcrypt
werner added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

Your system is misconfigured. You are using the gpg-error.h header
file from an unreleased version of libgpg-error but you are linking to
an older library.

  checking for gpg-error-config... /usr/bin/gpg-error-config
  checking for GPG Error - version >= 1.13... yes (1.22-beta14)

It seems you installed a libgpg-error version from git master
(.1.22-beta14) into the system directories instead of using
/usr/local. And you forgot to properly install the library.

Apr 16 2016, 10:44 AM · Bug Report, Not A Bug, libgcrypt
actionmystique added a comment to T2321: undefined reference to `gpgrt_annotate_leaked_object'.

Configured with:
./configure --enable-shared=yes \

			--enable-maintainer-mode \
			--prefix=/usr --sysconfdir=/etc --localstatedir=/var
Apr 16 2016, 9:38 AM · Bug Report, Not A Bug, libgcrypt
actionmystique set Version to 1.7.0 on T2321: undefined reference to `gpgrt_annotate_leaked_object'.
Apr 16 2016, 9:37 AM · Bug Report, Not A Bug, libgcrypt
actionmystique added projects to T2321: undefined reference to `gpgrt_annotate_leaked_object': libgcrypt, Bug Report.
Apr 16 2016, 9:37 AM · Bug Report, Not A Bug, libgcrypt

Mar 29 2016

werner added a comment to T1303: Please support GCRYSEXP_FMT_BASE64.

In sexp.c we use suitable_encoding to decide on how to print the value: Either
as token, as an escaped string or as a hex-string. This is only done when using
FMT_ADVANCED. We could come up with some heuristics on how to print in base64
instead of hex (i.e. |YWJj| instead of #616263#) but that has the drawback that
the output would not be readable by older versions of libgcrypt.

Hwoever, what can be done is to make do_vsexp_sscan work with base64 encoding -
as of now such a value is simply ignored.

Mar 29 2016, 3:07 PM · Feature Request, libgcrypt
werner added a comment to T2223: libgcrypt-1.6.4: benchmark and keygen test failed due to segfault.

Can you please enter the command "where" in dbx after the fault?

Mar 29 2016, 2:03 PM · Info Needed, Bug Report, libgcrypt
werner added a project to T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error: Too Old.
Mar 29 2016, 1:50 PM · Stalled, MacOS, Bug Report, libgcrypt
werner added a comment to T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error.

No updates in 8 months, thus closing.

Mar 29 2016, 1:50 PM · Stalled, MacOS, Bug Report, libgcrypt
werner closed T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error as Resolved.
Mar 29 2016, 1:50 PM · Stalled, MacOS, Bug Report, libgcrypt
werner added a project to T2242: Crash in libgcrypt from gnome-keyring in AES cipher in ARM assembler: Restricted Project.
Mar 29 2016, 1:48 PM · Bug Report, libgcrypt
werner closed T2292: cipher/crc-intel-pclmul.c: load of misaligned address as Resolved.
Mar 29 2016, 1:46 PM · Not A Bug, Bug Report, Assembler, libgcrypt
werner added a project to T2292: cipher/crc-intel-pclmul.c: load of misaligned address: Not A Bug.
Mar 29 2016, 1:46 PM · Not A Bug, Bug Report, Assembler, libgcrypt
werner added a comment to T2292: cipher/crc-intel-pclmul.c: load of misaligned address.

Thus clang is wrong here because it prints an "error" and not something like a
"performance hint". I close this bug.

Mar 29 2016, 1:46 PM · Not A Bug, Bug Report, Assembler, libgcrypt

Mar 25 2016

jukivili added a comment to T2292: cipher/crc-intel-pclmul.c: load of misaligned address.

Current code is perfectly fine as crc-intel-pclmul.c is i386/amd64-only source
file and that target architecture can handle unaligned loads.

Mar 25 2016, 12:15 PM · Not A Bug, Bug Report, Assembler, libgcrypt

Mar 24 2016

werner updated subscribers of T2292: cipher/crc-intel-pclmul.c: load of misaligned address.
Mar 24 2016, 5:13 PM · Not A Bug, Bug Report, Assembler, libgcrypt
werner added a project to T2292: cipher/crc-intel-pclmul.c: load of misaligned address: Assembler.
Mar 24 2016, 5:11 PM · Not A Bug, Bug Report, Assembler, libgcrypt
werner added a comment to T2292: cipher/crc-intel-pclmul.c: load of misaligned address.

The code in question is only for i386 and given that no SSE instructions are
used I wonder why you consider this a bug. The code might be faster if we would
access the short properly aligned but the question is whether this is worth an
extra copy operation.

jussi: What do you say?

Mar 24 2016, 5:11 PM · Not A Bug, Bug Report, Assembler, libgcrypt
aixtools added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

Not easy yet, need more time to dig.

Mar 24 2016, 2:00 AM · Bug Report, libgcrypt

Mar 23 2016

Lekensteyn set Version to libgcrypt-1.6.0-361-ge709d86 on T2292: cipher/crc-intel-pclmul.c: load of misaligned address.
Mar 23 2016, 6:41 PM · Not A Bug, Bug Report, Assembler, libgcrypt
Lekensteyn added projects to T2292: cipher/crc-intel-pclmul.c: load of misaligned address: libgcrypt, Bug Report.
Mar 23 2016, 6:41 PM · Not A Bug, Bug Report, Assembler, libgcrypt
aixtools added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

Mar 23 2016, 6:11 PM · Bug Report, libgcrypt
aixtools added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

ping - will check tonight.

Mar 23 2016, 6:11 PM · Bug Report, libgcrypt

Mar 22 2016

werner added a project to T1736: FIPS 186-4 compliance patches: Restricted Project.
Mar 22 2016, 5:58 PM · libgcrypt, Feature Request
werner added a comment to T1736: FIPS 186-4 compliance patches.

Meanwhile I also commited the Fedora patch.

Mar 22 2016, 5:58 PM · libgcrypt, Feature Request
werner removed a project from T1736: FIPS 186-4 compliance patches: In Progress.
Mar 22 2016, 5:58 PM · libgcrypt, Feature Request

Mar 21 2016

werner added a project to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX: Restricted Project.
Mar 21 2016, 11:13 AM · Bug Report, libgcrypt
werner added a comment to T2074: Redeclaration of internal functions to use "external" typedef prevents build on AIX.

aixtools: Had you a chance to test it?

Mar 21 2016, 11:13 AM · Bug Report, libgcrypt

Mar 18 2016

civ added a comment to T1736: FIPS 186-4 compliance patches.

Great! Thank you, Werner.

Mar 18 2016, 9:05 PM · libgcrypt, Feature Request
werner removed a project from T1815: whirlpool.c requires u64 type: In Progress.
Mar 18 2016, 7:05 PM · Bug Report, libgcrypt
werner added a comment to T1815: whirlpool.c requires u64 type.

We now require a 64 bit integer type for >= 1.7 (commit 897ccd2)

Mar 18 2016, 7:05 PM · Bug Report, libgcrypt