Page MenuHome GnuPG
Feed Advanced Search

Nov 30 2020

werner added a subtask for T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: T5157: libgcrypt: ARM64 Builds on macOS fail.
Nov 30 2020, 8:47 AM · Restricted Project, MacOS, libgcrypt, Bug Report
werner added a parent task for T5157: libgcrypt: ARM64 Builds on macOS fail: T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 30 2020, 8:47 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added projects to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: MacOS, Info Needed.

IIUC, for the build of Homebrew, it is the issue of in: https://github.com/Homebrew/homebrew-core/commit/e7da1e2157b2e8373c3b39ea6398f51588ea537c

Nov 30 2020, 7:30 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Please have a look at T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation), if make check works after the installation of libgcrypt.

Nov 30 2020, 7:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

See T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error, if test with 'random' fails.

Nov 30 2020, 7:09 AM · Restricted Project, MacOS, libgcrypt, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS is never defined on ARM64 as it depends on "$mpi_cpu_arch" == "x86". Instead I think new check for GCC assembly ELF directives would be needed in configure.ac, similar to HAVE_GCC_ASM_CFI_DIRECTIVES check. Following check should work, but I have not yet tested it:

Nov 30 2020, 6:49 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 30 2020, 2:51 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

Nov 30 2020, 2:48 AM · toolchain, MacOS, libgcrypt, Bug Report

Nov 29 2020

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

Yes, I did. Identical result.

Nov 29 2020, 5:12 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Why the hell do they that? The standard compiler on a system is called cc which may translated to whatever the system installs for it. gcc is a specific implementation with certain properties. Di you try CC=clang to override this?

Nov 29 2020, 4:41 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

And the arm64 cross-compiler:

Nov 29 2020, 3:06 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry, I forgot to mention that Apple ships a gcc-wrapper for clang. It just accepts gcc command lines parameters and translates them to clang parameters.
Here is the output of gcc --version:

Nov 29 2020, 2:54 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

You say that you build using clang but the log shows that you invoke gcc.

Nov 29 2020, 1:22 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added projects to T5157: libgcrypt: ARM64 Builds on macOS fail: libgcrypt, MacOS, toolchain.
Nov 29 2020, 1:21 PM · toolchain, MacOS, libgcrypt, Bug Report
mbirth updated the task description for T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 29 2020, 1:14 PM · Restricted Project, MacOS, libgcrypt, Bug Report

Nov 28 2020

mbirth created T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 28 2020, 11:43 PM · Restricted Project, MacOS, libgcrypt, Bug Report

Nov 16 2020

gniibe renamed T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned from agent: Disrepancy of handling MPI for the interpretation of signed and unsigned to agent: Discrepancy of handling MPI for the interpretation of signed and unsigned.
Nov 16 2020, 8:09 AM · gpgagent, gnupg
gniibe renamed T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned from ecc: Disrepancy of handling MPI for the interpretation of signed and unsigned to ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.
Nov 16 2020, 8:09 AM · libgcrypt
gniibe closed T4712: Keygrip broken in master for cv25519 as Resolved.
Nov 16 2020, 8:08 AM · Restricted Project, Bug Report, libgcrypt

Nov 14 2020

pert added a comment to T3189: secmem routines should be in libgpg-error as gpgrt_*.

Do we need to expose the secmem routines, as a public interface of gpgrt?

I would find it useful. For example I'm making a utility that gets a passphrase with GPGME and gpg-agent, and would like to copy it into a buffer that lives on after closing the context.

Nov 14 2020, 4:03 PM · gpgrt, libgcrypt

Oct 23 2020

werner closed T5113: Release Libgcrypt 1.8.7 as Resolved.
Oct 23 2020, 8:42 PM · Release Info, libgcrypt
werner updated the task description for T5113: Release Libgcrypt 1.8.7.
Oct 23 2020, 7:30 PM · Release Info, libgcrypt
werner created T5113: Release Libgcrypt 1.8.7.
Oct 23 2020, 7:19 PM · Release Info, libgcrypt

Oct 7 2020

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

OK, I upgraded the patch, including style adjustments to GNU style despite feeling that not having clang-format support for GNU style leads to it driving away contributors. It also credits Andy, and I have personally e-mailed Andy before.

Oct 7 2020, 2:57 PM · legal, libgcrypt

Sep 14 2020

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

I think the code is using https://en.wikipedia.org/wiki/Estrin%27s_scheme but I have no scholarship applying this to AES-GCM. I will have to look closer.

Sep 14 2020, 9:12 PM · legal, libgcrypt

Aug 31 2020

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

I think I am doing to try to do this on top of the work of Szabolcs Nagy[1] with the goal of making it portable, and also serving as a test cast to my carry-less multiplication intrinsic RFC[2]. Hopefully I can also remove the manual register allocation that makes it still a derivitive work of Andy, however this algorithm takes advantage of the communicative properties of carry-less multiplication, which is mult(H) on page 5 of the gcm spec[3], this communicative property works differently than with addition and multiplication in a way I do not entirely understand.

Aug 31 2020, 2:11 PM · legal, libgcrypt
werner created T5040: Improve PPC code using code from CRYPTOGRAMs.
Aug 31 2020, 9:31 AM · legal, libgcrypt

Aug 15 2020

JW added a comment to T5009: OS X 10.12 and FAIL: random.

I believe the problem here is OS X 10.12's (and above) System Integrity Protection (SIP). SIP protects system integrity by doing things like sanitizing environmental variables for system programs. Sanitizing environmental variables on system programs avoids code injections.

Aug 15 2020, 1:55 AM · libgcrypt, Bug Report

Aug 14 2020

gniibe merged task T5009: OS X 10.12 and FAIL: random into T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation).
Aug 14 2020, 7:08 AM · libgcrypt, Bug Report

Aug 9 2020

werner closed T4966: Jitter entropy RNG disable on non-x86? as Resolved.

Solved in master (1.9). We won't do it in 1.8.

Aug 9 2020, 5:22 PM · libgcrypt, Bug Report

Aug 6 2020

gniibe added a comment to T5009: OS X 10.12 and FAIL: random.

I'm afraid that the dynamic linker doesn't allow hardcoding library path in an executable on macOS.
(It is only supported on some limited platforms.)

Aug 6 2020, 9:41 AM · libgcrypt, Bug Report

Aug 5 2020

gniibe added a comment to T4951: Support point compression in Libgcrypt.

For the reference of full mod_sqrt, see https://eli.thegreenplace.net/2009/03/07/computing-modular-square-roots-in-python/

Aug 5 2020, 3:33 AM · Feature Request, libgcrypt

Aug 4 2020

werner added a comment to T5009: OS X 10.12 and FAIL: random.

There are no log file but you can run the test by hand:

Aug 4 2020, 10:29 AM · libgcrypt, Bug Report

Aug 2 2020

JW created T5009: OS X 10.12 and FAIL: random.
Aug 2 2020, 8:42 PM · libgcrypt, Bug Report

Jul 30 2020

werner closed T4872: Support opaque MPI with gcry_mpi_print as Resolved.

Patch backported to 2.2

Jul 30 2020, 10:28 AM · Restricted Project, Feature Request, libgcrypt

Jul 13 2020

gniibe added a comment to T4951: Support point compression in Libgcrypt.
  • compressed representation of EC point can be used in:
    • public key
    • (exporting) private key
    • signature
    • ECDH ephemeral key
  • Accepting compressed representation,for the initial implementation, I'd like to limit our effort for curves of NIST and Brainpool, except NIST P-224, which p = 3 mod 4.
Jul 13 2020, 10:06 AM · Feature Request, libgcrypt

Jul 10 2020

werner added a comment to T4951: Support point compression in Libgcrypt.

Creating is not that useful - we prefer modern curves anyway.

Jul 10 2020, 9:21 AM · Feature Request, libgcrypt
werner added a comment to T4951: Support point compression in Libgcrypt.

I think that retrieving a parameter in compressed format is all what we need as per API.

Jul 10 2020, 9:20 AM · Feature Request, libgcrypt
gniibe added a comment to T4951: Support point compression in Libgcrypt.

(3) _gcry_ecc_os2ec in libgcrypt/cipher/ecc-misc.c should be modified to support parsing compressed representation.

Jul 10 2020, 8:19 AM · Feature Request, libgcrypt
gniibe claimed T4951: Support point compression in Libgcrypt.
Jul 10 2020, 3:41 AM · Feature Request, libgcrypt
gniibe added a comment to T4951: Support point compression in Libgcrypt.

What kind of API should we offer?
(1) offering something like q@comp name for gcry_mpi_ec_get_mpi
But...
If the intended use case will be in create_request function in gpg/sm/certreqgen.c, the 'q' is already generated in the form of SEXP.
It is up to an application (gpgsm), to convert non-compressed point representation to compressed point representation, here.

Jul 10 2020, 3:40 AM · Feature Request, libgcrypt

Jul 6 2020

werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000445.html on T4985: Release Libgcrypt 1.8.6.
Jul 6 2020, 6:46 PM · libgcrypt, Release Info
werner added a project to T4985: Release Libgcrypt 1.8.6: libgcrypt.
Jul 6 2020, 4:10 PM · libgcrypt, Release Info
werner closed T4869: constant-time mpi_invm as Resolved.
Jul 6 2020, 4:10 PM · libgcrypt
werner closed T4818: libgcrypt build failures on several platforms as Resolved.
Jul 6 2020, 4:09 PM · Solaris, libgcrypt, Bug Report
werner closed T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext as Resolved.
Jul 6 2020, 10:54 AM · libgcrypt, Bug Report
werner added a comment to T4951: Support point compression in Libgcrypt.

We will need this for 1.9

Jul 6 2020, 10:49 AM · Feature Request, libgcrypt
werner added a comment to T4966: Jitter entropy RNG disable on non-x86?.

Yes please.

Jul 6 2020, 10:45 AM · libgcrypt, Bug Report

Jun 29 2020

jukivili added a comment to T4966: Jitter entropy RNG disable on non-x86?.

Ok. This was just something that I noticed while going through configure.ac. Should I make patch for this or do you want to?

Jun 29 2020, 5:45 PM · libgcrypt, Bug Report

Jun 16 2020

gniibe added a comment to D504: ECC change for Ed448.

Changes pushed to master.

Jun 16 2020, 4:19 AM · libgcrypt

Jun 12 2020

gniibe created D504: ECC change for Ed448.
Jun 12 2020, 7:11 AM · libgcrypt

Jun 5 2020

werner added a comment to T4966: Jitter entropy RNG disable on non-x86?.

Thanks for the info. So I guess me added that restrictions to be on the safe side regarding the VS-Nfd evaluation. For 1.9 we can and should lift that.

Jun 5 2020, 12:01 PM · libgcrypt, Bug Report
smueller_chronox.de added a comment to T4966: Jitter entropy RNG disable on non-x86?.

Please see [1] appendix F - I tested it more or less on all major CPUs, small
and large, old and new:

Jun 5 2020, 10:45 AM · libgcrypt, Bug Report

Jun 4 2020

werner added a comment to T4966: Jitter entropy RNG disable on non-x86?.

AFAIK, Stephan evaluated it only for x86, let me ask him ...

Jun 4 2020, 10:18 AM · libgcrypt, Bug Report

Jun 3 2020

jukivili created T4966: Jitter entropy RNG disable on non-x86?.
Jun 3 2020, 10:18 PM · libgcrypt, Bug Report

Jun 2 2020

werner closed T4541: C implementation of AES is vulnerable to side-channel attacks as Wontfix.

As of now we doubt that the proposed patch helps and we even fear that it could make things worst. Thus, as long as there is we have no description of an attack we won't do anything about it.

Jun 2 2020, 10:29 AM · side-channel, libgcrypt, Bug Report
gniibe added a comment to T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned.

Change of gpg-agent for ECC-SOS

Jun 2 2020, 8:05 AM · gpgagent, gnupg

Jun 1 2020

gniibe created T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.
Jun 1 2020, 7:23 AM · libgcrypt

May 27 2020

gniibe updated the task description for T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned.
May 27 2020, 3:09 AM · gpgagent, gnupg
gniibe edited projects for T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned, added: gpgagent, libgcrypt; removed OpenPGP.
May 27 2020, 3:08 AM · gpgagent, gnupg

May 19 2020

werner created T4951: Support point compression in Libgcrypt.
May 19 2020, 2:25 PM · Feature Request, libgcrypt

May 5 2020

bernhard added a comment to T4935: online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date.

Taking a look at other GNU manuals, both GNU make and GNU Bison have a better phrasing,
so I suggest the Bison way (https://www.gnu.org/software/bison/manual/html_node/index.html):

This manual (7 December 2019) is for GNU Bison (version 3.5), the GNU parser generator.

May 5 2020, 12:31 PM · Not A Bug, libgcrypt
bernhard added a comment to T4935: online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date.

Ah, okay, then the phrasing is missleading, the sentence looks like libgcrypt was released on this date and not the manual.

May 5 2020, 9:01 AM · Not A Bug, libgcrypt

May 4 2020

werner closed T4935: online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date as Resolved.

Nope, that is correct, the last update of the manual was

May 4 2020, 7:14 PM · Not A Bug, libgcrypt
bernhard renamed T4935: online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date from online libgcrypt manual has false UPDATED date to online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date.
May 4 2020, 5:34 PM · Not A Bug, libgcrypt
bernhard created T4935: online libgcrypt manual 1.8.5 2020-05-04 has false UPDATED date.
May 4 2020, 5:33 PM · Not A Bug, libgcrypt

Apr 28 2020

gniibe added a comment to T4869: constant-time mpi_invm.

I tested with this patch (which changes use of constant-time routine when it's secure memory):

Apr 28 2020, 5:57 AM · libgcrypt

Apr 24 2020

werner created T4926: Add API to map a curve name to its canonical OID..
Apr 24 2020, 2:15 PM · Feature Request, libgcrypt

Apr 14 2020

gniibe updated the task description for T4914: libgcrypt ECC regression for the use case in GNUNET.
Apr 14 2020, 8:03 AM · Restricted Project, libgcrypt
gniibe changed the status of T4914: libgcrypt ECC regression for the use case in GNUNET from Open to Testing.

Fixed in rC0ff36e04f7cd: ecc: Remove hard-coded value for ECC_DIALECT_ED25519..

Apr 14 2020, 8:02 AM · Restricted Project, libgcrypt
gniibe added a comment to T4914: libgcrypt ECC regression for the use case in GNUNET.

In the function nist_generate_key (cipher/ecc.c), ec->nbits is number of bits of P.
... while mpi/ec.c sets 256.

Apr 14 2020, 7:54 AM · Restricted Project, libgcrypt
gniibe added a project to T4914: libgcrypt ECC regression for the use case in GNUNET: libgcrypt.

It's a kind of "bug compatibility" but it's a regression anyway.

Apr 14 2020, 7:45 AM · Restricted Project, libgcrypt

Apr 8 2020

johnmar added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

Hi @slandden.
Do you have any updates?

Apr 8 2020, 6:02 PM · Feature Request, libgcrypt

Apr 7 2020

gniibe added a project to T4906: error: call to 'vec_vsx_ld' is ambiguous: Restricted Project.
Apr 7 2020, 2:57 AM · Restricted Project, libgcrypt, Bug Report

Apr 6 2020

jukivili added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.
In T4906#133954, @JW wrote:

@jukivili,

I'd be interested in seeing the results of testing the patch. Can you provide a link to the results?

Apr 6 2020, 4:45 PM · Restricted Project, libgcrypt, Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

I'd be interested in seeing the results of testing the patch. Can you provide a link to the results?

Apr 6 2020, 10:21 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

@jukivili : Thank you. Please apply & push it.

Apr 6 2020, 4:28 AM · Restricted Project, libgcrypt, Bug Report

Apr 4 2020

jukivili added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

Attached patch should solve the issue for gcc 7.5 and clang 8.

Apr 4 2020, 1:30 PM · Restricted Project, libgcrypt, Bug Report

Apr 3 2020

JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

You can test with newer compiler.

Apr 3 2020, 5:45 AM · Restricted Project, libgcrypt, Bug Report
gniibe reopened T4906: error: call to 'vec_vsx_ld' is ambiguous as "Testing".

OK. I reopen this ticket to collect information.

Apr 3 2020, 5:25 AM · Restricted Project, libgcrypt, Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

It looks like the recipe to build the source file is missing the necessary arch options. I.e., -mcpu=power7 -mvsx ...

Apr 3 2020, 4:51 AM · Restricted Project, libgcrypt, Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

I can't reproduce the error (no problem for build). My (cross-)compiler is:

Apr 3 2020, 4:43 AM · Restricted Project, libgcrypt, Bug Report
gniibe closed T4906: error: call to 'vec_vsx_ld' is ambiguous as Invalid.

I think that it is compiler issue for AltiVec (now, VSX) support.
The usage is not ambiguous. It _is_ ambiguous in the header file.

Apr 3 2020, 4:25 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

Thansk for your report.

Apr 3 2020, 3:55 AM · Restricted Project, libgcrypt, Bug Report

Apr 1 2020

werner triaged T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib as Normal priority.
Apr 1 2020, 8:53 PM · MacOS, libgcrypt, Bug Report
werner closed T4905: t-secmem: line 176: gcry_control ((GCRYCTL_INIT_SECMEM, pool_size, 0)) failed: General error as Invalid.
Apr 1 2020, 8:52 PM · libgcrypt, Bug Report
werner added a comment to T4905: t-secmem: line 176: gcry_control ((GCRYCTL_INIT_SECMEM, pool_size, 0)) failed: General error.

Please write proper bug reports and do not just post snippets from some arbitrary build process. In addition master is non-released software and thus it is in general better to ask at gcrypt-devel@gnupg.org for help.

Apr 1 2020, 8:48 PM · libgcrypt, Bug Report
JW updated the task description for T4906: error: call to 'vec_vsx_ld' is ambiguous.
Apr 1 2020, 4:39 PM · Restricted Project, libgcrypt, Bug Report
JW created T4906: error: call to 'vec_vsx_ld' is ambiguous in the S1 Public space.
Apr 1 2020, 4:38 PM · Restricted Project, libgcrypt, Bug Report
JW created T4905: t-secmem: line 176: gcry_control ((GCRYCTL_INIT_SECMEM, pool_size, 0)) failed: General error in the S1 Public space.
Apr 1 2020, 4:34 PM · libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:23 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:22 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:21 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:19 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:19 AM · MacOS, libgcrypt, Bug Report
JW created T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:18 AM · MacOS, libgcrypt, Bug Report

Mar 27 2020

werner triaged T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation as Normal priority.

I recall that I talked with Stephan about it but things got lost.

Mar 27 2020, 7:12 PM · FIPS, libgcrypt, Feature Request
pmgdeb created T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation.
Mar 27 2020, 6:04 PM · FIPS, libgcrypt, Feature Request

Mar 19 2020

gniibe added a subtask for T4869: constant-time mpi_invm: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:22 AM · libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4869: constant-time mpi_invm.
Mar 19 2020, 5:22 AM · Release Info, libgcrypt