Page MenuHome GnuPG
Feed Advanced Search

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
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:21 AM · Release Info, libgcrypt
gniibe added a subtask for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:21 AM · Restricted Project, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt
gniibe added a subtask for T4288: Add getrandom support for the BSDs: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4288: Add getrandom support for the BSDs.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4288: Add getrandom support for the BSDs.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4288: Add getrandom support for the BSDs: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · libgcrypt
gniibe added a subtask for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4274: Fail selftests when checksum file is missing in FIPS mode only.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4274: Fail selftests when checksum file is missing in FIPS mode only.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe added a subtask for T1303: Please support GCRYSEXP_FMT_BASE64: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Feature Request, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T1303: Please support GCRYSEXP_FMT_BASE64.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe removed a parent task for T1303: Please support GCRYSEXP_FMT_BASE64: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Feature Request, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T1303: Please support GCRYSEXP_FMT_BASE64.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe added a subtask for T4243: Test failure in libgcrypt-1.8.4: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4243: Test failure in libgcrypt-1.8.4.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4243: Test failure in libgcrypt-1.8.4.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe removed a parent task for T4243: Test failure in libgcrypt-1.8.4: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe added a subtask for T4068: libgcrypt 1.8.3 make check errors: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:18 AM · Documentation, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4068: libgcrypt 1.8.3 make check errors.
Mar 19 2020, 5:18 AM · Release Info, libgcrypt
gniibe removed a parent task for T4068: libgcrypt 1.8.3 make check errors: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:18 AM · Documentation, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4068: libgcrypt 1.8.3 make check errors.
Mar 19 2020, 5:18 AM · Release Info, libgcrypt
gniibe added a subtask for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:14 AM · Release Info, libgcrypt
gniibe added a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:14 AM · Restricted Project, libgcrypt
gniibe removed subtasks for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0, T4702: Deadline for the GnuPG 2.3.0 release.
Mar 19 2020, 5:13 AM · Restricted Project, libgcrypt
gniibe removed a parent task for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:13 AM · Release Info, libgcrypt
gniibe changed the status of T4869: constant-time mpi_invm from Open to Testing.
Mar 19 2020, 5:10 AM · libgcrypt

Mar 17 2020

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

Related the changes, before we did the changes, we received two independent reports.

Mar 17 2020, 6:32 AM · libgcrypt

Mar 13 2020

werner added a comment to T4872: Support opaque MPI with gcry_mpi_print.

I am not sure whether this is related but when using Libgcrypt master and verifying a signature created with an ed25519 key, I get the error below with valgrind. Both with 2.2. current and 2.3. It does not happen with the current Libgcrypt 1.8.

Mar 13 2020, 5:25 PM · Restricted Project, Feature Request, libgcrypt

Mar 12 2020

werner triaged T4873: Enable AES GCM in FIPS mode as Low priority.
Mar 12 2020, 9:59 AM · FIPS, libgcrypt, Feature Request
gniibe claimed T4869: constant-time mpi_invm.
Mar 12 2020, 6:50 AM · libgcrypt

Mar 11 2020

gniibe changed the status of T4872: Support opaque MPI with gcry_mpi_print from Open to Testing.

Fixed in master.

Mar 11 2020, 8:13 AM · Restricted Project, Feature Request, libgcrypt
gniibe added a comment to T4872: Support opaque MPI with gcry_mpi_print.

A program like tests/t-mpi-point assumes gcry_mpi_print can do that.
We have a sort of regression with --debug option with t-mpi-point, the point q is not printed out correctly.

Mar 11 2020, 8:12 AM · Restricted Project, Feature Request, libgcrypt
gniibe added a project to T4872: Support opaque MPI with gcry_mpi_print: Feature Request.
Mar 11 2020, 8:10 AM · Restricted Project, Feature Request, libgcrypt
gniibe added a project to T4872: Support opaque MPI with gcry_mpi_print: libgcrypt.
Mar 11 2020, 6:12 AM · Restricted Project, Feature Request, libgcrypt

Mar 10 2020

werner added a comment to T4873: Enable AES GCM in FIPS mode.

This requires re-evaluation of Libgcrypt to match the current FIPS specs.

Mar 10 2020, 4:13 PM · FIPS, libgcrypt, Feature Request
pmgdeb created T4873: Enable AES GCM in FIPS mode.
Mar 10 2020, 11:31 AM · FIPS, libgcrypt, Feature Request

Mar 9 2020

gniibe created T4869: constant-time mpi_invm.
Mar 9 2020, 8:56 AM · libgcrypt

Feb 1 2020

jukivili added a comment to T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext.

I prepared slightly different patch, with 'and r2,r2,r2' instruction removed as it is no longer needed.

Feb 1 2020, 6:39 PM · libgcrypt, Bug Report
jukivili added a comment to T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext.

Thanks for reporting this this. Your patch is correct.

Feb 1 2020, 4:54 PM · libgcrypt, Bug Report

Jan 31 2020

werner triaged T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext as High priority.
Jan 31 2020, 11:39 AM · libgcrypt, Bug Report

Jan 24 2020

bhaible added a comment to T4818: libgcrypt build failures on several platforms.

Regarding Cygwin: The sources are a bit hard to find.
https://cygwin.com/packages.html
-> https://cygwin.com/packaging/repos.html
-> https://cygwin.com/git-cygwin-packages/
-> https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/libgcrypt.git;a=summary

Jan 24 2020, 11:33 AM · Solaris, libgcrypt, Bug Report
bhaible added a comment to T4818: libgcrypt build failures on several platforms.

Regarding GNU/kFreeBSD, my machine is using the FreeBSD 9.0 kernel, which does not yet have the security.bsd.unprivileged_mlock oid. Like what was mentioned here: https://lists.debian.org/debian-bsd/2014/08/msg00092.html

Jan 24 2020, 11:15 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

For Cygwin, I can't find how its libgcrypt package is built.
I found this for MSYS2: https://github.com/msys2/MSYS2-packages/tree/master/libgcrypt
This for Mingw-w64: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-libgcrypt

Jan 24 2020, 2:53 AM · Solaris, libgcrypt, Bug Report
gniibe created T4822: mlock requires privilege.
Jan 24 2020, 2:21 AM · FAQ, Solaris, libgcrypt
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

I tested on FreeBSD. Same errors (t-secmen and t-sexp) are reproducible when we set:

Jan 24 2020, 2:05 AM · Solaris, libgcrypt, Bug Report

Jan 23 2020

gniibe added a comment to T4818: libgcrypt build failures on several platforms.

On Solaris, the test errors are because of:

USAGE
       Because of the impact on system resources, the use of mlock() and
       munlock() is restricted to users with the {PRIV_PROC_LOCK_MEMORY}
       privilege.
Jan 23 2020, 3:45 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

OK, I identified the problem on OpenIndiana. The inclusion of <unistd.h> causes inclusion of <sys/types.h> before config.h. I'm going to fix this.

Jan 23 2020, 2:24 AM · Solaris, libgcrypt, Bug Report

Jan 22 2020

jukivili added a comment to D497: Set vZZ.16b register to zero before use in armv8 gcm implementation.

Patch have been applied to master, https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=79ed620ec46adbb08f5cea6a4865a95a436e4109

Jan 22 2020, 10:55 PM · libgcrypt

Jan 21 2020

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

Yes, I need to optimize it.

Jan 21 2020, 9:31 PM · Feature Request, libgcrypt
larma added a comment to D497: Set vZZ.16b register to zero before use in armv8 gcm implementation.

@jukivili thanks for looking into this. If you want, you can go with "Marvin W. <git at larma.de>" or just keep as is.

Jan 21 2020, 9:27 PM · libgcrypt
johnmar added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

Hi @slandden. Have you made any progress since the last time I asked?

Jan 21 2020, 9:16 PM · Feature Request, libgcrypt
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

For GNU/Linux or GNU/kFreeBSD system, libgcrypt 1.8 with libgpg-error 1.36 has no problem in Debian build:
https://buildd.debian.org/status/package.php?p=libgcrypt20

Jan 21 2020, 1:48 AM · Solaris, libgcrypt, Bug Report