Page MenuHome GnuPG
Feed Advanced Search

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
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