Page MenuHome GnuPG
Feed Advanced Search

Aug 7 2017

svenihoney added a revision to T3336: Support OID 1.2.840.10045.4.3.3 (SHA384WithECDSA): D443: Add SHA384WithECDSA OID to ciphers.
Aug 7 2017, 4:29 PM · libgcrypt, Feature Request
svenihoney created T3336: Support OID 1.2.840.10045.4.3.3 (SHA384WithECDSA).
Aug 7 2017, 4:16 PM · libgcrypt, Feature Request

Aug 4 2017

werner closed T3314: libgcrypt-1.8.0 failed on solaris 10 as Invalid.

Please ask any Unix sysadmin for help. Paid support is available from the companies listed here: https://gnupg.org/service.html and there are lot of others.

Aug 4 2017, 11:03 AM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Hi Werner,

Aug 4 2017, 3:45 AM · libgcrypt, Bug Report

Aug 3 2017

marcus reopened T3202: add support for illumos to our version of libtool as "Open".
Aug 3 2017, 6:33 PM · Info Needed, gpgrt, Bug Report
andy_js added a comment to T3202: add support for illumos to our version of libtool.

The platform is illumos, a fork of OpenSolaris.

Aug 3 2017, 6:04 PM · Info Needed, gpgrt, Bug Report
marcus closed T3202: add support for illumos to our version of libtool as Wontfix.

No response.

Aug 3 2017, 5:30 PM · Info Needed, gpgrt, Bug Report

Aug 2 2017

rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Thanks for the update, any fix for above issues not able make and make install

Aug 2 2017, 6:44 PM · libgcrypt, Bug Report
werner added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

I don't know. We only provide binary packages for Windows.

Aug 2 2017, 5:47 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

could you tell me how to download direct binary pkg which we can directly install for solaris 10

Aug 2 2017, 5:16 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

below also failed to make .

Aug 2 2017, 4:40 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

HI Werner,

Aug 2 2017, 4:31 PM · libgcrypt, Bug Report

Aug 1 2017

chrullrich added a comment to T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0.

No, it's not. It still misses "-O" entirely.

Aug 1 2017, 2:26 PM · clang, libgcrypt, Bug Report
cpm closed T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0 as Resolved.

It's solved!

Aug 1 2017, 2:24 PM · clang, libgcrypt, Bug Report

Jul 31 2017

rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

getting same error with 1.7 version also.

Jul 31 2017, 6:37 AM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Could you please help me on this, any fix do you have for this kind of issue.

Jul 31 2017, 3:06 AM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

not able to apply given patch in my unix box, please find the below output.

Jul 31 2017, 3:00 AM · libgcrypt, Bug Report

Jul 30 2017

rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Could you please provide me the dyñamic library path to set my profile Solaris 10 command

Jul 30 2017, 3:04 AM · libgcrypt, Bug Report

Jul 29 2017

werner added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

On Sat, 29 Jul 2017 15:12, noreply@dev.gnupg.org said:

Jul 29 2017, 9:25 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

could you please guide me order to install below libraries and I will update you once I apply that patch .

Jul 29 2017, 3:54 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

Also could you please guide me the order to install these libraries to solaris box.
I am installing as below order:
npth-1.5
libgpg-error-1.27.tar
libgcrypt-1.8.0.tar
libassuan-2.4.3.tar
libksba-1.3.5.tar
gnupg-2.1.21.tar

Jul 29 2017, 3:12 PM · libgcrypt, Bug Report
jukivili added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

You can apply this patch by first navigating to libgcrypt-1.8 path and then giving following command (you need 'patch' tool to be installed):

Jul 29 2017, 2:10 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

please guide me how to add this patch in solaris 10 os version

Jul 29 2017, 1:54 PM · libgcrypt, Bug Report
jukivili added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

In libgcrypt, _gcry_md_extract has different return type in gcrypt-int.h than in md.c. Does attached patch solve the problem?

Jul 29 2017, 1:51 PM · libgcrypt, Bug Report
rajeshg8 added a comment to T3314: libgcrypt-1.8.0 failed on solaris 10.

URL | name ]]URL | name ]]Hi Werner,

Jul 29 2017, 1:38 PM · libgcrypt, Bug Report
werner triaged T3314: libgcrypt-1.8.0 failed on solaris 10 as High priority.

Please provide information on how you build this. That is invocation of configure and make and best attsch the created config.log.

Jul 29 2017, 11:33 AM · libgcrypt, Bug Report

Jul 24 2017

chrullrich added a comment to T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0.

The fixed sed expression still does not work correctly; it misses the plain "-O" form of the option. As per gcc docs, -O is the same as -O1, and clang accepts it (and the build falls over with it) even though it does not document it at all.

Jul 24 2017, 10:41 AM · clang, libgcrypt, Bug Report
werner triaged T3293: libgcrypt: warning: unknown pragma "#pragma GCC optimize" ignored => compile failure with LLVM 5.0 as Low priority.

The warning is just a warning, so no problem. The pragma even indicates the compiler for which it is intended.

Jul 24 2017, 9:41 AM · clang, libgcrypt, Bug Report

Jul 20 2017

marcus added a parent task for T2349: Composing a private key from raw key material: T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only.
Jul 20 2017, 9:15 PM · libgcrypt, Feature Request
marcus closed T2207: recipe for target 'mpih-add1-asm.lo' failed as Invalid.

According to this, setting LD is not sufficient to make gcc use a different linker.

Jul 20 2017, 6:05 PM · Bug Report, libgcrypt

Jul 18 2017

werner added a project to T3202: add support for illumos to our version of libtool: Info Needed.
Jul 18 2017, 2:25 PM · Info Needed, gpgrt, Bug Report

Jul 17 2017

marcus merged T2970: libgcrypt fails to build without NEON instruction set on arm64 into T2975: building libgcrypt fails on ARM64/FreeBSD 11x STABLE.
Jul 17 2017, 5:41 PM · Bug Report, libgcrypt
marcus merged task T2970: libgcrypt fails to build without NEON instruction set on arm64 into T2975: building libgcrypt fails on ARM64/FreeBSD 11x STABLE.
Jul 17 2017, 5:41 PM · Bug Report, Won't Fix, libgcrypt
marcus closed T1901: seed.c: the right operand of '^' is a garbage value as Wontfix.
Jul 17 2017, 5:33 PM · Won't Fix, libgcrypt
marcus closed T1900: des.c: the right operand of '^' is a garbage value as Wontfix.
Jul 17 2017, 5:32 PM · Mistaken, libgcrypt
marcus closed T1899: primegen.c: uses is_locked, which appears to suffer a race as Wontfix.
Jul 17 2017, 5:31 PM · Not A Bug, libgcrypt
marcus closed T1894: mpi-bit: numerous potential null pointer dereferences as Wontfix.
Jul 17 2017, 5:31 PM · Mistaken, libgcrypt

Jul 14 2017

gniibe added a comment to T3269: (Constant-time) modular reduction.

https://patents.stackexchange.com/questions/5766/is-an-expired-patent-in-the-public-domain

Jul 14 2017, 8:40 AM · libgcrypt
gniibe added a comment to T3269: (Constant-time) modular reduction.

I found US patent which is expired due to fee: https://patents.google.com/patent/US7080109B2/en
The technique is described in : https://koclab.cs.ucsb.edu/docs/koc/j56.pdf
This is related paper: https://koclab.cs.ucsb.edu/docs/koc/j47.pdf

Jul 14 2017, 8:26 AM · libgcrypt
gniibe added a comment to T3269: (Constant-time) modular reduction.

Intel has patent application for folding technique for Montgomery reduction: US8392494
which is described in this paper: https://www.cse.buffalo.edu/srds2009/escs2009_submission_Gopal.pdf

Jul 14 2017, 4:44 AM · libgcrypt
gniibe renamed T3269: (Constant-time) modular reduction from (Constant-time) Barret modular reduction to (Constant-time) modular reduction.
Jul 14 2017, 4:42 AM · libgcrypt

Jul 13 2017

jukivili closed T2975: building libgcrypt fails on ARM64/FreeBSD 11x STABLE as Resolved.
Jul 13 2017, 10:02 PM · Bug Report, libgcrypt
marcus added a comment to T2325: rijndael error during make.

Ah, ok, thanks for the info!

Jul 13 2017, 9:33 PM · Assembler, Bug Report, libgcrypt
jukivili added a comment to T2325: rijndael error during make.

Likely fixed by commit a4d1595a2638db63ac4c73e722c8ba95fdd85ff7 (rijndael-aesni: split assembly block to ease register pressure) in 1.7 branch (and included in 1.7.3+).

Jul 13 2017, 9:32 PM · Assembler, Bug Report, libgcrypt
marcus closed T1608: GNUPG_SYS_SYMBOL_UNDERSCORE and cross compile as Wontfix.

I am closing this, because this particular change was rejected. Eventually libtool might get updated on its own merits, so no need to track this here.

Jul 13 2017, 5:20 PM · Stalled, libgcrypt, Not A Bug, Gentoo, Bug Report
marcus closed T2325: rijndael error during make as Invalid.

Compiler bug. Probably misdetection of aesni support in old AMD processors?

Jul 13 2017, 5:06 PM · Assembler, Bug Report, libgcrypt

Jul 11 2017

gniibe added a comment to T3269: (Constant-time) modular reduction.

Intel has patent application for folding technique for Barret reduction: US20070297601
and it is granted as: US8229109

Jul 11 2017, 9:54 AM · libgcrypt
gniibe created T3269: (Constant-time) modular reduction.
Jul 11 2017, 8:56 AM · libgcrypt
gniibe claimed T3264: Possible RSA improvement.

The part of using Simultaneous Multiple Exponentiation (SME) for RSA is not patented, I think.
So, let me consider with SME.

Jul 11 2017, 3:47 AM · libgcrypt

Jul 10 2017

gniibe added a comment to T3264: Possible RSA improvement.

Another area would be faster (constant time) Barrett reduction.

Jul 10 2017, 5:16 AM · libgcrypt
gniibe added a comment to T3264: Possible RSA improvement.

In search of algorithm, I found this slide:
http://www1.spms.ntu.edu.sg/~ccrg/documents/chienning-multiexponentiation.pdf

Jul 10 2017, 2:29 AM · libgcrypt
gniibe created T3264: Possible RSA improvement.
Jul 10 2017, 2:27 AM · libgcrypt

Jul 6 2017

jukivili added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

I did some experimenting and clang SIGILL does not trigger with commonly used, but non-conforming, variable-length object with "struct hack", as below:

Jul 6 2017, 1:22 PM · clang, Ubuntu, libgcrypt, Bug Report

Jul 5 2017

werner added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

With an integer overflow.

Jul 5 2017, 3:23 PM · clang, Ubuntu, libgcrypt, Bug Report
marcus added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

This is a standard dynamic sized array:

Jul 5 2017, 3:05 PM · clang, Ubuntu, libgcrypt, Bug Report
werner added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

Sorry, this is a standard C feature and the only way to have dynamic sized arrays. CLANG simply does not get this pattern right. Grep for pgut001's very comments on such ill behaving compilers (including gcc).

Jul 5 2017, 2:59 PM · clang, Ubuntu, libgcrypt, Bug Report
marcus added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

At a meta level, I really think that writing more conservative code that enables compilers to do a better job checking for safety is a good idea. The tricks we do with structs are premature optimization from a time when compilers were dumb as a doornail.

Jul 5 2017, 2:56 PM · clang, Ubuntu, libgcrypt, Bug Report
marcus added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

Maybe casting to a void* helps to disable the check in the compiler.

Jul 5 2017, 2:52 PM · clang, Ubuntu, libgcrypt, Bug Report
gniibe added a comment to T3247: SIGILL in prepare_macpads() at md.c:681.

I can replicate the issue on my system.
It is not the line 681, actually.

Jul 5 2017, 4:07 AM · clang, Ubuntu, libgcrypt, Bug Report

Jul 4 2017

gniibe claimed T3247: SIGILL in prepare_macpads() at md.c:681.

I think that the problem is in your usage with your tool. Please have a look at md_open function in cipher/md.c.
This bug is not the one in libgcrypt, but in the compiler.

Jul 4 2017, 6:27 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3246: md5.c:119:3: runtime error: unsigned integer overflow: 2612846078 + 3614090360 cannot be represented in type 'unsigned int' as Invalid.

Same argument can apply to MD5. See T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int' of SHA2.

Jul 4 2017, 5:10 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3250: random-csprng.c:1070:16: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long') as Invalid.

See T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').

Jul 4 2017, 5:08 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long') as Invalid.

See T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long' for unsigned integer overflow.

Jul 4 2017, 5:06 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long' as Invalid.

It is intentionally used.
And in the C programming language, it is defined that unsigned integer never overflows (it is computed as modulo 2).

Jul 4 2017, 4:58 AM · clang, Ubuntu, libgcrypt, Bug Report
gniibe closed T3251: sha512.c:342:25: runtime error: unsigned integer overflow: 17296268247117069635 + 2271443192277056827 cannot be represented in type 'unsigned long' as Invalid.

See T3249: sha256.c:265:3: runtime error: unsigned integer overflow: 4084723048 + 1633837952 cannot be represented in type 'unsigned int'.

Jul 4 2017, 4:54 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3251: sha512.c:342:25: runtime error: unsigned integer overflow: 17296268247117069635 + 2271443192277056827 cannot be represented in type 'unsigned long'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3250: random-csprng.c:1070:16: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3248: mpiutil.c:501:37: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3247: SIGILL in prepare_macpads() at md.c:681.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3246: md5.c:119:3: runtime error: unsigned integer overflow: 2612846078 + 3614090360 cannot be represented in type 'unsigned int'.
Jul 4 2017, 3:11 AM · clang, Ubuntu, libgcrypt, Bug Report
geeknik created T3245: cipher-gcm-intel-pclmul.c:418:17: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long').
Jul 4 2017, 3:10 AM · clang, Ubuntu, libgcrypt, Bug Report

Jun 27 2017

justus triaged T3223: gcry_mpi_ec_mul with Montgomery curves produces segfault as Wishlist priority.
Jun 27 2017, 10:55 AM · libgcrypt, Bug Report

Jun 26 2017

vivira created T3223: gcry_mpi_ec_mul with Montgomery curves produces segfault.
Jun 26 2017, 11:59 PM · libgcrypt, Bug Report
justus triaged T3220: Missing curve documentation as Wishlist priority.
Jun 26 2017, 3:12 PM · patch, libgcrypt, Bug Report

Jun 23 2017

vivira created T3220: Missing curve documentation.
Jun 23 2017, 11:47 PM · patch, libgcrypt, Bug Report
werner closed T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error as Resolved.

No way to test on El Capitain anymore. It works on Sierra.

Jun 23 2017, 4:28 PM · Stalled, MacOS, Bug Report, libgcrypt
werner closed T1810: Overhaul rndunix.c and rndw32.c as Resolved.

With the new rndjent as used with libgcrypt 1.8 under Windows rhis can be claimed as finished.

Jun 23 2017, 4:13 PM · Bug Report, libgcrypt

Jun 22 2017

marcus closed T1863: libgcrypt offers/uses --with-pth-prefix as Resolved.

@werner Is it clearer now if gcryptrnd will be removed or ported?

Jun 22 2017, 9:09 PM · libgcrypt
marcus closed T1741: comparison between signed and unsigned integer as Wontfix.

If we will ever do this, then only in conjunction with appropriate continuous integration tools that report on new warnings and progress. Closing here.

Jun 22 2017, 5:09 PM · Won't Fix, libgcrypt
marcus closed T1154: While encrypting file getting error as Invalid.
Jun 22 2017, 4:18 PM · libgcrypt

Jun 13 2017

werner added a comment to T3202: add support for illumos to our version of libtool.

and the platform is ...

Jun 13 2017, 8:37 AM · Info Needed, gpgrt, Bug Report

Jun 12 2017

justus triaged T3202: add support for illumos to our version of libtool as Wishlist priority.
Jun 12 2017, 11:41 AM · Info Needed, gpgrt, Bug Report

Jun 9 2017

andy_js added a comment to T3202: add support for illumos to our version of libtool.

The version of libtool that you ship does not have the necessary patches required to support my platform. Normally this isn't a problem because autogen.sh (or autoreconf) will update it.

Jun 9 2017, 3:58 PM · Info Needed, gpgrt, Bug Report
werner added a project to T3202: add support for illumos to our version of libtool: Not A Bug.

You may not run your own version of libtool or libtoolize. Only the maintainer updates the autotools related files including libtool. This is to avoid bugs stemming from different or broken versions of autotools. This makes it much easier to reproduce bugs.

Jun 9 2017, 3:42 PM · Info Needed, gpgrt, Bug Report
andy_js created T3202: add support for illumos to our version of libtool.
Jun 9 2017, 12:10 PM · Info Needed, gpgrt, Bug Report

Jun 8 2017

gniibe abandoned D431: secmem fix.
Jun 8 2017, 6:39 AM · libgcrypt

Jun 2 2017

gniibe added a comment to D431: secmem fix.

Applied in rCe0958debe1a7: secmem: Fix SEGV and stat calculation..

Jun 2 2017, 3:40 AM · libgcrypt
gniibe added a comment to D431: secmem fix.

Here is a test case:


It doesn't dump core on my x86 GNU/Linux, but we can see invalid stats.
Running under valgrind, it dumps core.

Jun 2 2017, 3:31 AM · libgcrypt

Jun 1 2017

werner triaged T3189: secmem routines should be in libgpg-error as gpgrt_* as Normal priority.
Jun 1 2017, 9:31 PM · gpgrt, libgcrypt
gniibe created D431: secmem fix.
Jun 1 2017, 2:13 PM · libgcrypt

May 31 2017

gniibe created T3189: secmem routines should be in libgpg-error as gpgrt_*.
May 31 2017, 1:10 PM · gpgrt, libgcrypt

May 17 2017

srgblnchtrn added a watcher for libgcrypt: srgblnchtrn.
May 17 2017, 9:20 AM

May 4 2017

leanne63 closed T3127: libgcrypt-1.7.6 'random' fails test on MacOS Sierra: Incompatible library version as Resolved.
May 4 2017, 12:59 AM · libgcrypt
leanne63 added a comment to T3127: libgcrypt-1.7.6 'random' fails test on MacOS Sierra: Incompatible library version.

I had an older version of libgcrypt (1.6.5) in my /usr/local/bin. I removed that version, ran the make check again, and this time got a fail again for random: image not found. I continued the installation, and libgcrypt-1.7.6 successfully (it appears, anyway!) installed.

May 4 2017, 12:59 AM · libgcrypt

May 2 2017

leanne63 created T3127: libgcrypt-1.7.6 'random' fails test on MacOS Sierra: Incompatible library version in the S1 Public space.
May 2 2017, 11:56 PM · libgcrypt

Apr 28 2017

gniibe closed T3120: Spelling fix for libgcrypt as Resolved.

Patch applied and pushed.

Apr 28 2017, 2:42 AM · libgcrypt
gniibe created T3120: Spelling fix for libgcrypt.
Apr 28 2017, 2:35 AM · libgcrypt

Apr 11 2017

jukivili added a watcher for libgcrypt: jukivili.
Apr 11 2017, 8:00 AM
jukivili added a member for libgcrypt: jukivili.
Apr 11 2017, 8:00 AM

Apr 3 2017

gniibe added a member for libgcrypt: gniibe.
Apr 3 2017, 11:20 AM