Page MenuHome GnuPG
Feed Advanced Search

May 20 2021

gniibe added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

The paper describes another problem: interoperability (or interpretation) of "ElGamal encryption", and its impact.

May 20 2021, 8:51 AM · side-channel, CVE, libgcrypt

May 18 2021

werner added a project to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L": MacOS.
May 18 2021, 8:23 AM · MacOS, libgcrypt, Bug Report
saurik updated the task description for T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".
May 18 2021, 4:27 AM · MacOS, libgcrypt, Bug Report
saurik added a comment to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".

Note: I believe this issue might affect multiple other GnuPG projects.

May 18 2021, 3:14 AM · MacOS, libgcrypt, Bug Report
saurik created T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".
May 18 2021, 3:10 AM · MacOS, libgcrypt, Bug Report

May 11 2021

Jakuje created T5433: libgcrypt: Do not use SHA1 by default.
May 11 2021, 1:58 PM · FIPS, libgcrypt, Bug Report

May 6 2021

werner added a project to T5423: libgcrypt 1.8 ECDH: Debian.

FWIW, I think that it is a Bad Thing to use unreleased stuff from 1.8 for Debian packages. Only released versions sshould be used or patches we explicitly made to fix a bug. At the very least Andreas should have asked upstream whether this commit should be used for Sid.

May 6 2021, 9:00 AM · Debian, libgcrypt
gniibe added a comment to T5423: libgcrypt 1.8 ECDH.

Also fixed in version 1.8: rCbd662c090bd4: ecc: Fix the previous commit.

May 6 2021, 7:16 AM · Debian, libgcrypt
gniibe added a comment to T5423: libgcrypt 1.8 ECDH.

Note that the handling e part uses standard MPI in 1.8 (while it is done by opaque MPI in 1.9).

May 6 2021, 5:31 AM · Debian, libgcrypt
gniibe triaged T5423: libgcrypt 1.8 ECDH as High priority.
May 6 2021, 5:23 AM · Debian, libgcrypt

Apr 28 2021

Jakuje added a comment to T5244: libgcrypt: Restrict MD5 use.

The patch references the following bug:

Apr 28 2021, 5:45 PM · Bug Report, FIPS, libgcrypt

Apr 26 2021

jukivili closed T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO as Resolved.
Apr 26 2021, 5:43 PM · asm, libgcrypt, clang, Bug Report

Apr 20 2021

gniibe closed T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9 as Resolved.
Apr 20 2021, 2:29 AM · !assert, Bug Report, libgcrypt
gniibe added a comment to T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.

IIUC, with libgcrypt in LIBGCRYPT-1.8-BRANCH (not yet released) and libgcrypt 1.9.3, the build process works well (the problem with SIP has been handled).

Apr 20 2021, 2:27 AM · MacOS, libgcrypt, Bug Report
gniibe closed T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt as Resolved.
Apr 20 2021, 2:12 AM · MacOS, libgcrypt

Apr 19 2021

werner closed T5305: Release Libgcrypt 1.9.3 as Resolved.
Apr 19 2021, 11:11 PM · Release Info, libgcrypt
werner updated the task description for T5305: Release Libgcrypt 1.9.3.
Apr 19 2021, 11:11 PM · Release Info, libgcrypt
werner triaged T5402: Release Libgcrypt 1.9.4 as Low priority.
Apr 19 2021, 11:02 PM · Release Info, libgcrypt
werner moved T5396: Remove USE_RANDOM_DAEMON support from libgcrypt from Backlog to For 1.10 on the libgcrypt board.
Apr 19 2021, 6:16 PM · libgcrypt
werner moved T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation from Backlog to For 1.10 on the libgcrypt board.
Apr 19 2021, 6:16 PM · FIPS, libgcrypt, Feature Request
werner moved T3269: (Constant-time) modular reduction from Backlog to For 1.10 on the libgcrypt board.
Apr 19 2021, 6:14 PM · libgcrypt
werner moved T5268: macOS getentropy from For 1.9 to Backlog on the libgcrypt board.
Apr 19 2021, 6:12 PM · libgcrypt, MacOS

Apr 15 2021

gniibe closed T5385: libgcrypt coverity static analysis reports as Resolved.

Thank you.
We also need to release memory for points.

Apr 15 2021, 9:13 AM · libgcrypt, Bug Report
werner triaged T5356: gnupg2 test failure on s390x as Normal priority.
Apr 15 2021, 9:03 AM · libgcrypt, Bug Report
werner triaged T5373: Using GCRY_THREAD_OPTION_PTHREAD_IMPL in a file compiled with Clang generates deprecation warning as Low priority.
Apr 15 2021, 9:01 AM · clang, libgcrypt, Bug Report
gniibe triaged T5396: Remove USE_RANDOM_DAEMON support from libgcrypt as Wishlist priority.
Apr 15 2021, 3:57 AM · libgcrypt

Apr 13 2021

saurik added a comment to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt.

I'm sorry I disappeared on this issue for two weeks; I just got reminded of it by seeing the e-mail with the status change. I've updated to the latest gcrypt (which is the commit with the patch, now pushed to the repository) and was able to upload this to Apple without it being flagged; thanks!

Apr 13 2021, 4:49 AM · MacOS, libgcrypt
gniibe changed the status of T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9 from Open to Testing.
Apr 13 2021, 3:16 AM · !assert, Bug Report, libgcrypt
gniibe changed the status of T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt from Open to Testing.
Apr 13 2021, 3:16 AM · MacOS, libgcrypt

Apr 12 2021

gniibe added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

Do we have CVE number assigned?

Apr 12 2021, 7:52 AM · side-channel, CVE, libgcrypt
gniibe changed the status of T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection from Open to Testing.
Apr 12 2021, 6:13 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Apr 9 2021

werner added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

This would be difficult to set up for DSA. Remotely controlled
environment, asking signing same message, using deterministic
DSA... would be not that practical.

Apr 9 2021, 7:15 PM · side-channel, CVE, libgcrypt

Apr 8 2021

gniibe added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

So, in my opinion, applying the patch for ElGamal exponent blinding is enough (for now).

Apr 8 2021, 6:22 AM · side-channel, CVE, libgcrypt
gniibe added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

For DSA, I had assumed similar attack could be effective.

Apr 8 2021, 6:22 AM · side-channel, CVE, libgcrypt

Apr 7 2021

werner triaged T5385: libgcrypt coverity static analysis reports as Low priority.

Yes, will be fixed but it has no severity because the fault is actually by the caller.

Apr 7 2021, 6:22 PM · libgcrypt, Bug Report
Jakuje created T5385: libgcrypt coverity static analysis reports.
Apr 7 2021, 5:15 PM · libgcrypt, Bug Report

Apr 1 2021

gniibe triaged T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt as Normal priority.
Apr 1 2021, 6:39 AM · MacOS, libgcrypt
gniibe added a comment to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt.

IIUC... Could you please try this patch?

diff --git a/random/rndlinux.c b/random/rndlinux.c
index a7a78906..c20c5d4c 100644
--- a/random/rndlinux.c
+++ b/random/rndlinux.c
@@ -35,10 +35,13 @@
 #if defined(__APPLE__) && defined(__MACH__)
 #include <Availability.h>
 #ifdef __MAC_10_11
+#include <TargetConditionals.h>
+#if !defined(TARGET_OS_IPHONE) || TARGET_OS_IPHONE == 0
 extern int getentropy (void *buf, size_t buflen) __attribute__ ((weak_import));
 #define HAVE_GETENTROPY
 #endif
 #endif
+#endif
 #if defined(__linux__) || !defined(HAVE_GETENTROPY)
 #ifdef HAVE_SYSCALL
 # include <sys/syscall.h>
Apr 1 2021, 6:36 AM · MacOS, libgcrypt
gniibe claimed T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt.
Apr 1 2021, 5:58 AM · MacOS, libgcrypt

Mar 31 2021

werner added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

Our tentative plan is:

Mar 31 2021, 1:34 PM · side-channel, CVE, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

I was wrong in my last comment. Escaping by another \ is needed.

Mar 31 2021, 4:09 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Mar 30 2021

werner added a project to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt: MacOS.
Mar 30 2021, 5:44 PM · MacOS, libgcrypt
werner changed the status of T5356: gnupg2 test failure on s390x from Open to Testing.
Mar 30 2021, 5:41 PM · libgcrypt, Bug Report
werner added a comment to T5356: gnupg2 test failure on s390x.

We have two or three other open issue which I would like to address before a release. FWIW, release ticket is T5305.

Mar 30 2021, 5:41 PM · libgcrypt, Bug Report
werner added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

A PATH with spaces is too Windowish (or macOS). IIRC, we had once checks that the used directories have proper names; we can expect this for build environment. Spaces in file names are horrible from a security POV it is just to easy to get things wrong (hello ssh).

Mar 30 2021, 5:15 PM · MacOS, gpgrt, Cross-Compiler, libgcrypt
Jakuje added a comment to T5356: gnupg2 test failure on s390x.

I already backported the above for Fedora so I am not in hurry now. But I believe others might hit the same issue.

Mar 30 2021, 4:52 PM · libgcrypt, Bug Report
jukivili updated subscribers of T5356: gnupg2 test failure on s390x.

@werner Can you comment about bugfix release?

Mar 30 2021, 4:50 PM · libgcrypt, Bug Report
saurik added a comment to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt.

In https://github.com/rust-random/getrandom/issues/38 they seem to have decided to use SecRandomCopyBytes on iOS, while in https://github.com/LuaJIT/LuaJIT/issues/668 they pushed https://github.com/LuaJIT/LuaJIT/commit/787736990ac3b7d5ceaba2697c7d0f58f77bb782 which I believe falls back to /dev/urandom. In both cases, they are only staring at iOS as an issue; though, it could be that using Rust at the same time as targeting an official macOS application are both rare enough to allow this to have gone two years without a rejection... making this weak_import hack not happen on iOS might be sufficient. If you do this, I recommend checking for TARGET_OS_IPHONE, not TARGET_OS_IOS, as (despite the somewhat hardware-specific sounding name) the former also encompasses tvOS and watchOS (which, if anything, will have stronger checks); I'd personally be satisfied with just some way of manually disabling getentropy by force, though (as I had been previously using ac_cv_func_getentropy=no).

Mar 30 2021, 1:08 PM · MacOS, libgcrypt
saurik added a project to T5375: getentropy usage is forbidden by Apple, but is now being forced by libgcrypt: libgcrypt.
Mar 30 2021, 12:41 PM · MacOS, libgcrypt
saurik added a comment to T5268: macOS getentropy.

So, I actually just filed an issue about this work: T5375, and then found this opposing task while following through on the various commits ;P... Apple actually forbids usage of getentropy in applications they publish to their App Store (citing ITMS-90338: Non-public API usage), and so there needs to be a way to disable this weak_import. FWIW, I'm not sure if this is only on iOS or on macOS as well (I haven't gotten around to trying to publish a macOS build with the new libgcrypt yet).

Mar 30 2021, 12:34 PM · libgcrypt, MacOS
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Note that you also need to at least add the semicolons, as BSD sed is trying to parse "gp}" as substitution flags (which, honestly, makes more forward-compatible sense than GNU sed's behavior...).

Mar 30 2021, 10:35 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Or, if we keep the code of newline (so that it will eventually support path with a space in future):

Mar 30 2021, 9:55 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Thank you. Sorry for the use of GNU sed extension. It could be just a whitespace, if it's OK not to support path having a space.
sed -n -e "/^libraries/{s/libraries: =//;s/:/ /gp}") should work.

Mar 30 2021, 9:42 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe OK, so... "worst case": I guess this worked? ;P

Mar 30 2021, 8:23 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Actually, I just realized that neither of the commands I provided work, as I failed to notice you were trying to also replace :'s with newlines (as I guess libraries from clang can return multiple paths). I'd momentarily edited my comment to just try to add back your colon replacement, before remembering you can't do that either: \n is a GNU sed extension. Hilariously, I'm always in contexts where I can assume I'm using bash (which isn't ok for configure), so I've never bothered to learn a technique that doesn't involve $'\n'... do you have a strategy for doing this replacement? :(

Mar 30 2021, 8:19 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik updated the task description for T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.
Mar 30 2021, 8:14 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Ah yeah, that was the commit I meant to reference when I said "--maybe caused by --", but then forgot to go back and fill in the commit hash ;P.

Mar 30 2021, 8:10 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

I wonder if this works in your use case:

diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4
index d910754e..aeedaf10 100644
--- a/m4/gpg-error.m4
+++ b/m4/gpg-error.m4
@@ -65,7 +65,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
   min_gpg_error_version=ifelse([$1], ,1.33,$1)
   ok=no
Mar 30 2021, 7:36 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

If it is new, it may be the change of this commit rC8e3cd4c4677c: build: Update gpg-error.m4.

Mar 30 2021, 7:22 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

(To be clear, I also know enough about autoconf to not have been like, blocked from upgrading by this: overriding ac_cv_path_GPGRT_CONFIG worked, but I can't believe that's the intended way for someone to ensure they get the correct path for gpgrt-config ;P.)

Mar 30 2021, 6:53 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe The problem is that the check seems to just find gpgrt-config from the path; like, I'm already passing --prefix and --host, but it is deciding to just arbitrarily pick up my system-wide copy of /usr/local/bin/gpgrt-config. Here's my entire configure invocation from that earlier failed build: note that the --prefix is the same as --with-gpg-error-prefix.

Mar 30 2021, 6:43 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe claimed T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 30 2021, 5:56 AM · !assert, Bug Report, libgcrypt
gniibe triaged T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection as Normal priority.

We are in transition from old gpg-error-config to new gpgrt-config. <-- This is the cause, while I tried to cover most use cases.

Mar 30 2021, 4:19 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.

The optimization introduced for curve 25519 and curve 448 en-bugged for usage of direct MPI.

Mar 30 2021, 3:37 AM · !assert, Bug Report, libgcrypt

Mar 29 2021

werner added projects to T5373: Using GCRY_THREAD_OPTION_PTHREAD_IMPL in a file compiled with Clang generates deprecation warning: libgcrypt, clang.

Yet another identify theft scam committed by clang.

Mar 29 2021, 10:22 PM · clang, libgcrypt, Bug Report
werner updated the task description for T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 29 2021, 4:01 PM · !assert, Bug Report, libgcrypt
werner updated the task description for T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 29 2021, 3:58 PM · !assert, Bug Report, libgcrypt
JW added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Sorry to dig up an old report...

Mar 29 2021, 2:23 AM · Restricted Project, MacOS, libgcrypt, Bug Report
JW added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry to dig up an old thread...

Mar 29 2021, 2:11 AM · toolchain, MacOS, libgcrypt, Bug Report

Mar 26 2021

werner assigned T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection to gniibe.
Mar 26 2021, 10:47 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik created T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.
Mar 26 2021, 7:07 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Mar 25 2021

Jakuje added a comment to T5356: gnupg2 test failure on s390x.

Thanks! Tested the above patches and now all the tests pass on the machine where I saw the failures.

Mar 25 2021, 8:11 PM · libgcrypt, Bug Report
jukivili added a comment to T5356: gnupg2 test failure on s390x.

Thanks for the report.

Mar 25 2021, 7:06 PM · libgcrypt, Bug Report
jukivili claimed T5356: gnupg2 test failure on s390x.
Mar 25 2021, 9:18 AM · libgcrypt, Bug Report

Mar 24 2021

werner shifted T5328: On the (in)security of Elgamal in OpenPGP from the Restricted Space space to the S1 Public space.
Mar 24 2021, 2:50 PM · side-channel, CVE, libgcrypt
werner changed the visibility for T5328: On the (in)security of Elgamal in OpenPGP.
Mar 24 2021, 2:50 PM · side-channel, CVE, libgcrypt
Jakuje added a comment to T5356: gnupg2 test failure on s390x.

I have a minimal reproducer:

diff --git a/tests/basic.c b/tests/basic.c
index 9a7e33cc..73ae01db 100644
--- a/tests/basic.c
+++ b/tests/basic.c
@@ -6346,11 +6346,152 @@ do_check_ocb_cipher (int inplace)
       "033ac4d13c3decc4c62d7de718ace802"
       "140452dc850989f6762e3578bbb04be3"
       "1a237c599c4649f4e586b2de"
+    },
+    { GCRY_CIPHER_AES, 12, "0F0E0D0C0B0A09080706050403020100",
+      "BBAA9988776655443322110D",
+      "000102030405060708090A0B0C0D0E0F1011121314151617"
+      "18191A1B1C1D1E1F2021222324252627",
+      /* test vector for checksumming */
+      "01000000000000000000000000000000"
+      "02000000000000000000000000000000"
+      "04000000000000000000000000000000"
+      "08000000000000000000000000000000"
+      "10000000000000000000000000000000"
+      "20000000000000000000000000000000"
+      "40000000000000000000000000000000"
+      "80000000000000000000000000000000"
+      "00010000000000000000000000000000"
+      "00020000000000000000000000000000"
+      "00040000000000000000000000000000"
+      "00080000000000000000000000000000"
+      "00100000000000000000000000000000"
+      "00200000000000000000000000000000"
+      "00400000000000000000000000000000"
+      "00800000000000000000000000000000"
+      "00000100000000000000000000000000"
+      "00000200000000000000000000000000"
+      "00000400000000000000000000000000"
+      "00000800000000000000000000000000"
+      "00001000000000000000000000000000"
+      "00002000000000000000000000000000"
+      "00004000000000000000000000000000"
+      "00008000000000000000000000000000"
+      "00000001000000000000000000000000"
+      "00000002000000000000000000000000"
+      "00000004000000000000000000000000"
+      "00000008000000000000000000000000"
+      "00000010000000000000000000000000"
+      "00000020000000000000000000000000"
+      "00000040000000000000000000000000"
+      "00000080000000000000000000000000"
+      "00000000010000000000000000000000"
+      "00000000020000000000000000000000"
+      "00000000040000000000000000000000"
+      "00000000080000000000000000000000"
+      "00000000100000000000000000000000"
+      "00000000200000000000000000000000"
+      "00000000400000000000000000000000"
+      "00000000800000000000000000000000"
+      "00000000000100000000000000000000"
+      "00000000000200000000000000000000"
+      "00000000000400000000000000000000"
+      "00000000000800000000000000000000"
+      "00000000001000000000000000000000"
+      "00000000002000000000000000000000"
+      "00000000004000000000000000000000"
+      "00000000008000000000000000000000"
+      "02000000000000000000000000000000"
+      "04000000000000000000000000000000"
+      "08000000000000000000000000000000"
+      "10000000000000000000000000000000"
+      "20000000000000000000000000000000"
+      "40000000000000000000000000000000"
+      "80000000000000000000000000000000"
+      "00010000000000000000000000000000"
+      "00020000000000000000000000000000"
+      "00040000000000000000000000000000"
+      "00080000000000000000000000000000"
+      "00100000000000000000000000000000"
+      "00200000000000000000000000000000"
+      "00400000000000000000000000000000"
+      "00800000000000000000000000000000"
+      "00000100000000000000000000000000"
+      "00000200000000000000000000000000"
+      "00000400000000000000000000000000"
+      "00000800000000000000000000000000",
+      "01105c6e36f6ac480f022c51e31ed702"
+      "90fda4b7b783194d4b4be8e4e1e2dff4"
+      "6a0804d1c5f9f808ea7933e31c063233"
+      "2bf65a22b20bb13cde3b80b3682ba965"
+      "b1207c58916f7856fa9968b410e50dee"
+      "98b35c071163d1b352b9bbccd09fde29"
+      "b850f40e71a8ae7d2e2d577f5ee39c46"
+      "7fa28130b50a123c29958e4665dda9a5"
+      "e0793997f8f19633a96392141d6e0e88"
+      "77850ed4364065d1d2f8746e2f1d5fd1"
+      "996cdde03215306503a30e41f58ef3c4"
+      "400365cfea4fa6381157c12a46598edf"
+      "18604854462ec66e3d3cf26d4723cb6a"
+      "9d801095048086a606fdb9192760889b"
+      "a8ce2e70e1b55a469137a9e2e6734565"
+      "283cb1e2c74f37e0854d03e33f8ba499"
+      "ef5d9af4edfce077c6280338f0a64286"
+      "2e6bc27ebd5a4c91b3778e22631251c8"
+      "c5bb75a10945597a9d6c274fc82d3338"
+      "b403a0a549d1375f26e71ef22bce0941"
+      "93ea87e2ed72fce0546148c351eec3be"
+      "867bb1b96070c377fff3c98e21562beb"
+      "475cfe28abcaaedf49981f6599b15140"
+      "ea6130d24407079f18ba9d4a8960b082"
+      "b39c57320e2e064f02fde88c23112146"
+      "1cac3655868aef584714826ee4f361fb"
+      "e6d692e1589cbb9dd3c74fa628df2a1f"
+      "3b0029b1d62b7e9978013ed3c793c1dd"
+      "1f184c8f7022a853cac40b74ac749aa3"
+      "f33f0d14732dfda0f2c3c20591bf1f5a"
+      "710ec0d0bca342baa5146068a78ff58c"
+      "66316312b7a98af35a0f4e92799b4047"
+      "f047ae61f25c28d232ce5c168cc745d6"
+      "6da13cb0f9e38a696635dba7a21571cf"
+      "cd64ec8cc33db7879f59a90d9edd00f6"
+      "a899e39ab36b9269a3ac04ebad9326bf"
+      "53cd9b400168a61714cd628a4056d236"
+      "bd8622c76daa54cb65f5db2fe03bafbe"
+      "0b23549ae31136f607293e8093a21934"
+      "74fd5e9c2451b4c8e0499e6ad34fafc8"
+      "ab77722a282f7f84b14ddebf7e696300"
+      "c1ef92d4a0263c6cca104530f996e272"
+      "f58992ff68d642b071a5848dc4acf2ae"
+      "28fb1f27ae0f297d5136a7a0a4a03e89"
+      "b588755b8217a1c62773790e69261269"
+      "19f45daf7b3ccf18e3fc590a9a0e172f"
+      "033ac4d13c3decc4c62d7de718ace802"
+      "140452dc850989f6762e3578bbb04be3"
+      "a8ae66427697167e85725b37b304baf0"
+      "56dbcef79fbb97cdfe1590e5f3d0bd1b"
+      "ce518f2f141960a1c80a4fe787b90b63"
+      "e7b0e0a0d8d522619130c544bb1abad0"
+      "b267c650e8916b5d7ececfeea7f0ad15"
+      "206a92581319946b138764f209109a20"
+      "0146b4cfb2ce8bd0db5c2cd5b495c56f"
+      "8f8a7934fe1f9add0674d4549080bf0d"
+      "01149ed18dbdccc5e54a3e7039546970"
+      "401ecc885902ee3dcfad504a68066f92"
+      "c779f1e1c48d37ba0e177ac652c1827b"
+      "f1f6723d533f0cdf36331e3ad1e1b1af"
+      "bc89a29c87fe3603353130d0dfbe1f29"
+      "13ad144e7c6515fb92005b6ece218b4f"
+      "baedc42d484fffee39df88041b49342a"
+      "6134cc7ca46d40d274c1ffafa98956e6"
+      "a492486989c4e328761c01798abcb09b"
+      "a42eb115334619daaeae9175f365fe9f"
+      "e5c3b254379d546005016784015f729f"
+      "4715ff6db16c5d16333e03fd"
     }
   };
   gpg_error_t err = 0;
   gcry_cipher_hd_t hde, hdd;
-  unsigned char out[1024];
+  unsigned char out[2048];
   unsigned char tag[16];
   int tidx;
Mar 24 2021, 12:48 PM · libgcrypt, Bug Report
werner added a project to T5356: gnupg2 test failure on s390x: libgcrypt.
Mar 24 2021, 12:30 PM · libgcrypt, Bug Report

Mar 12 2021

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Mar 12 2021, 5:32 PM · libgcrypt
jukivili closed T4531: PowerPC performance improvements, a subtask of T4460: libgcrypt performance TODOs, as Resolved.
Mar 12 2021, 5:31 PM · libgcrypt

Mar 11 2021

ballapete added a comment to T5268: macOS getentropy.

Tiger's /usr/include/AvailabilityMacros.h seems to provide what rndlinux.c was looking for: libgcrypt 1.9.2 just built!

Mar 11 2021, 6:59 PM · libgcrypt, MacOS
ballapete added a comment to T5268: macOS getentropy.

Alright! Here is the error report from GCC:

Mar 11 2021, 6:40 PM · libgcrypt, MacOS
werner added a project to T5328: On the (in)security of Elgamal in OpenPGP: side-channel.
Mar 11 2021, 4:22 PM · side-channel, CVE, libgcrypt
werner merged T5345: libgcrypt 1.9.2 does not build on Mac OS X 10.4.11, Tiger, because rndlinux.c wants to include Availability.h which does not exist in Tiger into T5268: macOS getentropy.
Mar 11 2021, 4:19 PM · libgcrypt, MacOS

Mar 9 2021

jukivili renamed T5040: Improve PPC code using code from CRYPTOGRAMs from Impove PPC code using code from CRYPTOGRAMs to Improve PPC code using code from CRYPTOGRAMs.
Mar 9 2021, 8:46 PM · legal, libgcrypt
jukivili closed T4630: libgcrypt: POWER GHASH Vector Acceleration as Resolved.
Mar 9 2021, 8:45 PM · Feature Request, libgcrypt
jukivili added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

Pushed to master with two commits:

Mar 9 2021, 8:44 PM · Feature Request, libgcrypt
werner added a comment to T5040: Improve PPC code using code from CRYPTOGRAMs.

Looks okay. Thanks.

Mar 9 2021, 5:06 PM · legal, libgcrypt

Mar 7 2021

jukivili added a comment to T5040: Improve PPC code using code from CRYPTOGRAMs.

I posted patch-set to mailing-list. Please check if AUTHORS/LICENSES updates are ok.
https://lists.gnupg.org/pipermail/gcrypt-devel/2021-March/005120.html

Mar 7 2021, 5:48 PM · legal, libgcrypt
werner added a comment to T5040: Improve PPC code using code from CRYPTOGRAMs.

Can you please also update AUTHORS and LICENSE files? I would also ask you to add

Mar 7 2021, 10:34 AM · legal, libgcrypt
jukivili added a comment to T5040: Improve PPC code using code from CRYPTOGRAMs.

I've cleaned up the patch from D501 and tweaked the implementation a bit for performance. Here's patches attached:

Mar 7 2021, 1:36 AM · legal, libgcrypt

Mar 6 2021

jukivili closed T5337: Missing hardware features in documentation as Resolved.

Fixed typos and applied to master. Thanks.

Mar 6 2021, 4:22 PM · Feature Request, patch, libgcrypt
jukivili claimed T5337: Missing hardware features in documentation.
Mar 6 2021, 2:52 PM · Feature Request, patch, libgcrypt

Mar 5 2021

werner triaged T5337: Missing hardware features in documentation as Normal priority.
Mar 5 2021, 2:36 PM · Feature Request, patch, libgcrypt
Jakuje added a project to T5337: Missing hardware features in documentation: libgcrypt.
Mar 5 2021, 1:44 PM · Feature Request, patch, libgcrypt

Feb 25 2021

werner created T5328: On the (in)security of Elgamal in OpenPGP in the Restricted Space space.
Feb 25 2021, 10:01 AM · side-channel, CVE, libgcrypt

Feb 23 2021

bevan closed T5277: libgcrypt 1.9.1 fails to build with --disable-asm as Resolved.

Fixed in libgcrypt 1.9.2. Thanks!

Feb 23 2021, 9:53 AM · MacOS, libgcrypt, Bug Report

Feb 22 2021

bobwxc added a comment to T5286: Calculate Z hash for sm2.

Excuse me, where is the link to this blog you mentioned?

Feb 22 2021, 6:17 AM · Not A Bug, Info Needed, libgcrypt, Feature Request
shaoyj added a comment to T5286: Calculate Z hash for sm2.

@bobwxc wrote:
And I found a blog seems written by the SM2 implementation author of libgcrybt -- Tianjia Zhang. He/She drew a red circle on a standard picture of the Z_A.

Excuse me, where is the link to this blog you mentioned?

Feb 22 2021, 3:44 AM · Not A Bug, Info Needed, libgcrypt, Feature Request

Feb 21 2021

bobwxc added a comment to T5286: Calculate Z hash for sm2.

We need more information on the why and when of this change. We don't want to maintain different versions of the same algorithm. The I-D expired more than 6 years ago and thus it should not be used as a reference.

Feb 21 2021, 3:20 PM · Not A Bug, Info Needed, libgcrypt, Feature Request