Page MenuHome GnuPG
Feed Advanced Search

Mar 24 2021

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

Feb 17 2021

werner closed T5306: doc: Fix swapped constants as Resolved.

Thanks. A few hours too late for 1.9.2.

Feb 17 2021, 5:55 PM · libgcrypt
Jakuje added a project to T5306: doc: Fix swapped constants: libgcrypt.
Feb 17 2021, 1:13 PM · libgcrypt
werner closed T5276: Release Libgcrypt 1.9.2, a subtask of T5277: libgcrypt 1.9.1 fails to build with --disable-asm, as Resolved.
Feb 17 2021, 9:47 AM · MacOS, libgcrypt, Bug Report
werner closed T5276: Release Libgcrypt 1.9.2 as Resolved.
Feb 17 2021, 9:47 AM · Release Info, libgcrypt
werner updated the task description for T5276: Release Libgcrypt 1.9.2.
Feb 17 2021, 9:44 AM · Release Info, libgcrypt
werner created T5305: Release Libgcrypt 1.9.3.
Feb 17 2021, 9:25 AM · Release Info, libgcrypt
werner closed T5263: cipher/sha512.c: build failure without arm neon asm as Resolved.
Feb 17 2021, 8:53 AM · libgcrypt, Bug Report
werner removed a project from T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST): backport.
Feb 17 2021, 8:53 AM · libgcrypt
werner closed T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST) as Resolved.

Backport was done with commit rC1d312bc65846 (for unknown reasons it did not show up in the list of bugs related to this bug; I added it by hand). Fix will go into 1.8.8.

Feb 17 2021, 8:52 AM · libgcrypt
werner closed T5270: gpg-agent crashes during signing: free(): invalid pointer as Resolved.
Feb 17 2021, 8:47 AM · libgcrypt, gpgagent, Bug Report
werner moved T5276: Release Libgcrypt 1.9.2 from Backlog to For 1.9 on the libgcrypt board.
Feb 17 2021, 8:46 AM · Release Info, libgcrypt
werner closed T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware as Resolved.

The mix up of external patches and commits makes it not easy to see what has been fixed. AFAICS rC3d095206c30d fixes the last bug mentioned by @ballapete on Jan 26.

Feb 17 2021, 8:35 AM · libgcrypt, Bug Report
werner closed T5267: Ed25519 backward compatible private key support for preceding ZERO(s) as Resolved.
Feb 17 2021, 8:27 AM · libgcrypt
werner closed T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0 as Resolved.
Feb 17 2021, 8:26 AM · Bug Report, Cross-Compiler, libgcrypt
werner closed T5269: failure of modular inverse as Resolved.
Feb 17 2021, 8:26 AM · libgcrypt

Feb 14 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

Backward compatibility fixed using the MacPorts legacysupport PortGroup:
https://github.com/macports/macports-ports/commit/74b50424649a7c657521140fcd7f92ba79a3cec5

Feb 14 2021, 2:09 AM · libgcrypt, MacOS

Feb 13 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

This approach is too simplistic. See Ryan Schmidt's and Joshua Root's comments in https://trac.macports.org/ticket/62278

Feb 13 2021, 12:35 PM · libgcrypt, MacOS

Feb 12 2021

werner changed the status of T5277: libgcrypt 1.9.1 fails to build with --disable-asm from Open to Testing.

A beta release is available as https://gnupg.org/ftp/gcrypt/alpha/libgcrypt/libgcrypt-1.9.2-beta16.tar.bz2 (https://gnupg.org/ftp/gcrypt/alpha/libgcrypt/libgcrypt-1.9.2-beta16.tar.bz2.sig).

Feb 12 2021, 12:37 PM · MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1 as Resolved.
Feb 12 2021, 12:34 PM · Release Info, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, as Resolved.
Feb 12 2021, 12:34 PM · toolchain, MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0, as Resolved.
Feb 12 2021, 12:34 PM · Bug Report, Cross-Compiler, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac, as Resolved.
Feb 12 2021, 12:34 PM · Restricted Project, MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, clang, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5254: libgcrypt 1.9.0 fails make check (selftest), as Resolved.
Feb 12 2021, 12:34 PM · patch, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5263: cipher/sha512.c: build failure without arm neon asm, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5268: macOS getentropy, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, MacOS
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5269: failure of modular inverse, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5267: Ed25519 backward compatible private key support for preceding ZERO(s), as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial, as Resolved.
Feb 12 2021, 12:34 PM · Ubuntu, Bug Report, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5275: Exploitable overflow in Libgcrypt 1.9.0, as Resolved.
Feb 12 2021, 12:34 PM · CVE, libgcrypt

Feb 9 2021

werner triaged T5286: Calculate Z hash for sm2 as Low priority.

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 9 2021, 7:58 AM · Not A Bug, Info Needed, libgcrypt, Feature Request

Feb 6 2021

jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Resolved.

Problem with clang and these files was resolved by replacement of assembler macros with C preprocessor macros.

Feb 6 2021, 12:47 PM · asm, clang, libgcrypt
jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 6 2021, 12:47 PM · asm, libgcrypt, clang, Bug Report

Feb 5 2021

bevan added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Looks like this has been addressed in af23ab5c5482d625ff52e60606cf044e2b0106c8. A quick test building the current version in master with --disable-asm worked for me.

Feb 5 2021, 1:29 PM · MacOS, libgcrypt, Bug Report
shaoyj added a comment to T5286: Calculate Z hash for sm2.

https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
Section 5.1.4.4

Feb 5 2021, 8:03 AM · Not A Bug, Info Needed, libgcrypt, Feature Request
shaoyj created T5286: Calculate Z hash for sm2.
Feb 5 2021, 7:27 AM · Not A Bug, Info Needed, libgcrypt, Feature Request

Feb 3 2021

werner closed T5275: Exploitable overflow in Libgcrypt 1.9.0 as Resolved.
Feb 3 2021, 8:07 AM · CVE, libgcrypt

Feb 2 2021

gniibe added a comment to T5268: macOS getentropy.

So, the change against libgcrypt 1.9.1 will be:

Feb 2 2021, 7:27 AM · libgcrypt, MacOS
gniibe added a comment to T5268: macOS getentropy.

I got hit of search by "$ld$weak$os10.11$_getentropy".
So, I guess that it's 10.11 which has _getentropy as weak symbol, and 10.12 or later has implementation.

Feb 2 2021, 7:09 AM · libgcrypt, MacOS
ballapete added a comment to T5268: macOS getentropy.

There is some (partly) good news: The function getentropy() is available in the packet manager MacPorts. It has a legacy support:

Feb 2 2021, 12:52 AM · libgcrypt, MacOS

Feb 1 2021

Marius_Schamschula added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Unfortunately, building without "--disable-asm" does not work if building a universal package under MacPorts (e.g. 32bit and 64bit x86 or 64bit x86 and arm64).

Feb 1 2021, 10:34 PM · MacOS, libgcrypt, Bug Report
ballapete added a comment to T5268: macOS getentropy.

To do that, I'd like to know, when the symbol getentropy was added.

Feb 1 2021, 9:40 PM · libgcrypt, MacOS
werner added a project to T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST): backport.

I think that a backport to 1.8. also makes sense

Feb 1 2021, 11:17 AM · libgcrypt
gniibe added a comment to T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST).

Here is a patch adding those checks:

diff --git a/cipher/ecc-ecdsa.c b/cipher/ecc-ecdsa.c
index d540578e..30103f14 100644
--- a/cipher/ecc-ecdsa.c
+++ b/cipher/ecc-ecdsa.c
@@ -172,6 +172,9 @@ _gcry_ecc_ecdsa_verify (gcry_mpi_t input, mpi_ec_t ec,
   mpi_point_struct Q, Q1, Q2;
   unsigned int nbits;
Feb 1 2021, 8:14 AM · libgcrypt
gniibe created T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST).
Feb 1 2021, 8:13 AM · libgcrypt
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

no, that doesn't change anything.

Feb 1 2021, 8:00 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added a parent task for T5276: Release Libgcrypt 1.9.2: T5277: libgcrypt 1.9.1 fails to build with --disable-asm.
Feb 1 2021, 2:14 AM · Release Info, libgcrypt
gniibe added a subtask for T5277: libgcrypt 1.9.1 fails to build with --disable-asm: T5276: Release Libgcrypt 1.9.2.
Feb 1 2021, 2:14 AM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5268: macOS getentropy.

Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?

Feb 1 2021, 1:53 AM · libgcrypt, MacOS

Jan 31 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does it build if configure with parameter 'ac_cv_sys_symbol_underscore=yes'? <path-to-libgcrypt-source>/configure ac_cv_sys_symbol_underscore=yes --host=aarch64-apple-darwin ...

Jan 31 2021, 7:32 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 30 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Compiling now works, but I get the following linker errors:

Jan 30 2021, 5:15 PM · toolchain, MacOS, libgcrypt, Bug Report
thesamesam added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

@jukivili Thanks for the reply! We've reverted that commit downstream in Gentoo as a temporary workaround, as due to some complications, our release systems needed to build without asm (for now) to ensure portability. Rest assured, this is not the default, and is discouraged for regular users.

Jan 30 2021, 12:17 PM · MacOS, libgcrypt, Bug Report

Jan 29 2021

outer closed T5254: libgcrypt 1.9.0 fails make check (selftest) as Resolved.
Jan 29 2021, 6:48 PM · patch, libgcrypt, Bug Report
outer added a comment to T5254: libgcrypt 1.9.0 fails make check (selftest).

Latext 1.9.1 builds without any unreported workarounds. Done. Close.

Jan 29 2021, 6:44 PM · patch, libgcrypt, Bug Report
bevan added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Building without "--disable-asm" works without any issues.

Jan 29 2021, 5:25 PM · MacOS, libgcrypt, Bug Report
jukivili added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Thanks for your report.

Jan 29 2021, 5:22 PM · MacOS, libgcrypt, Bug Report
whissi added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

FYI, this is not just an MacOS issue. We see that also on Gentoo Linux:

Jan 29 2021, 5:09 PM · MacOS, libgcrypt, Bug Report
werner triaged T5277: libgcrypt 1.9.1 fails to build with --disable-asm as Normal priority.
Jan 29 2021, 4:43 PM · MacOS, libgcrypt, Bug Report
werner changed External Link from https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html to https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html on T5275: Exploitable overflow in Libgcrypt 1.9.0.
Jan 29 2021, 12:34 PM · CVE, libgcrypt
werner removed Due Date on T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 12:27 PM · Release Info, libgcrypt
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html on T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 12:27 PM · Release Info, libgcrypt
ballapete added a comment to T5268: macOS getentropy.

Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?

Jan 29 2021, 11:37 AM · libgcrypt, MacOS
werner triaged T5263: cipher/sha512.c: build failure without arm neon asm as Normal priority.
Jan 29 2021, 11:30 AM · libgcrypt, Bug Report
werner closed T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial as Resolved.
Jan 29 2021, 11:27 AM · Ubuntu, Bug Report, libgcrypt
werner changed the status of T5275: Exploitable overflow in Libgcrypt 1.9.0 from Open to Testing.

Fix has been released. Keeping this in testing state for easier visibility of this task.

Jan 29 2021, 11:27 AM · CVE, libgcrypt
ballapete added a comment to T5268: macOS getentropy.

I applied the two patches on Mac OS X 10.5.8, Leopard, to random/rndlinux.c, resulting in this unified diff:

Jan 29 2021, 11:25 AM · libgcrypt, MacOS
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, from Open to Testing.
Jan 29 2021, 11:25 AM · toolchain, MacOS, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , from Open to Testing.
Jan 29 2021, 11:25 AM · asm, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5254: libgcrypt 1.9.0 fails make check (selftest), from Open to Testing.
Jan 29 2021, 11:25 AM · patch, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1 from Open to Testing.

Release done.

Jan 29 2021, 11:25 AM · Release Info, libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac, from Open to Testing.
Jan 29 2021, 11:25 AM · Restricted Project, MacOS, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt, Bug Report