Page MenuHome GnuPG
Feed Advanced Search

Jan 15 2021

gniibe created T5244: libgcrypt: Restrict MD5 use.
Jan 15 2021, 8:08 AM · Bug Report, FIPS, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140.
Jan 15 2021, 7:50 AM · Release Info, libgcrypt
gniibe added a subtask for T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140: T4294: Release Libgcrypt 1.9.0.
Jan 15 2021, 7:50 AM · libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140.
Jan 15 2021, 7:50 AM · Release Info, libgcrypt
gniibe removed a parent task for T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140: T4294: Release Libgcrypt 1.9.0.
Jan 15 2021, 7:50 AM · libgcrypt
gniibe added a subtask for T5182: libgcrypt self tests for FIPS 140: T4294: Release Libgcrypt 1.9.0.
Jan 15 2021, 7:50 AM · Restricted Project, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T5182: libgcrypt self tests for FIPS 140.
Jan 15 2021, 7:50 AM · Release Info, libgcrypt
gniibe removed a parent task for T5182: libgcrypt self tests for FIPS 140: T4294: Release Libgcrypt 1.9.0.
Jan 15 2021, 7:49 AM · Restricted Project, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T5182: libgcrypt self tests for FIPS 140.
Jan 15 2021, 7:49 AM · Release Info, libgcrypt
gniibe claimed T5182: libgcrypt self tests for FIPS 140.
Jan 15 2021, 7:47 AM · Restricted Project, libgcrypt
gniibe renamed T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140 from libgcrypt "check if fips_is_operational and error return if not fix" for FIPS 140 to libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140.
Jan 15 2021, 7:46 AM · libgcrypt
gniibe created T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140.
Jan 15 2021, 7:14 AM · libgcrypt

Jan 12 2021

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

Note: The commit in master (1.9) is rCe0898d0628789414
and in 1.8 it is rC03e6d6597198ee

Jan 12 2021, 12:40 PM · Solaris, libgcrypt, Bug Report
werner added a comment to T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext.

The commit which fixes this is rC761a1a0d30

Jan 12 2021, 12:29 PM · libgcrypt, Bug Report

Jan 11 2021

aheinecke moved T4294: Release Libgcrypt 1.9.0 from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 11 2021, 10:15 AM · Release Info, libgcrypt
aheinecke assigned T4294: Release Libgcrypt 1.9.0 to werner.
Jan 11 2021, 10:09 AM · Release Info, libgcrypt

Jan 8 2021

werner added a comment to T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.

I agree to the sexp change - but it should not be backported to 1.8

Jan 8 2021, 9:43 AM · libgcrypt
gniibe added a comment to T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.

For printing SEXP, it would be good to have this change:

Jan 8 2021, 6:58 AM · libgcrypt
gniibe added a comment to T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned.

rG47c1c329ed82: agent,ecc: Use of opaque MPI for ECC, fixup 'd'. does the fixup when reading keys.

Jan 8 2021, 4:18 AM · gpgagent, gnupg
gniibe added a comment to T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.

I describe about rC6f8b1d4cb798: ecc: Consistently handle parameters as unsigned value..

Jan 8 2021, 3:13 AM · libgcrypt
gniibe updated the task description for T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.
Jan 8 2021, 2:16 AM · libgcrypt
gniibe added a comment to T4951: Support point compression in Libgcrypt.

Reading compressed point (in keys) is supported (except for NIST P-224). When curve point is represented in compressed format, it is correctly interpreted now. So, for example, I think that with 1.9.0, gpgsm can handle certificate which uses compressed format in its curve point representation.

Jan 8 2021, 2:09 AM · Feature Request, libgcrypt

Jan 7 2021

jukivili added a comment to T5195: Incorrect HWCAP2 check for AArch32.

Yes, bug is also in 1.8 branch.

Jan 7 2021, 11:00 PM · libgcrypt, backport, Bug Report
werner moved T4873: Enable AES GCM in FIPS mode from For 1.9 to FIPS on the libgcrypt board.
Jan 7 2021, 5:59 PM · FIPS, libgcrypt, Feature Request
werner added a member for libgcrypt: werner.
Jan 7 2021, 11:44 AM
werner moved T4951: Support point compression in Libgcrypt from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:42 AM · Feature Request, libgcrypt
werner moved T5195: Incorrect HWCAP2 check for AArch32 from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:42 AM · libgcrypt, backport, Bug Report
werner added a comment to T5195: Incorrect HWCAP2 check for AArch32.

Do we need to backport to 1.8?

Jan 7 2021, 11:42 AM · libgcrypt, backport, Bug Report
werner moved T5182: libgcrypt self tests for FIPS 140 from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:41 AM · Restricted Project, libgcrypt
werner moved T4293: Add dedicated X25519 function to Libcgrypt from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:40 AM · Restricted Project, libgcrypt
werner moved T4873: Enable AES GCM in FIPS mode from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:40 AM · FIPS, libgcrypt, Feature Request
werner moved T4294: Release Libgcrypt 1.9.0 from Backlog to For 1.9 on the libgcrypt board.
Jan 7 2021, 11:40 AM · Release Info, libgcrypt
werner added a comment to T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned.

Do we really need this for 1.9?

Jan 7 2021, 11:33 AM · libgcrypt
werner claimed T4926: Add API to map a curve name to its canonical OID..
Jan 7 2021, 11:30 AM · Feature Request, libgcrypt
werner added a comment to T4951: Support point compression in Libgcrypt.

What is the state of this bug? Reading is implemented - do we really need writing (maybe to support certain smartcards)?

Jan 7 2021, 11:29 AM · Feature Request, libgcrypt
werner closed T4914: libgcrypt ECC regression for the use case in GNUNET as Resolved.
Jan 7 2021, 11:25 AM · Restricted Project, libgcrypt
werner edited projects for T4822: mlock requires privilege, added: FAQ; removed Bug Report.

It is possible to disable the mlock thingy and if that is not wanted the application should be modified to be suid(root) during Libgcrypt initialization - this is actually how we handle this in GnuPG. Or maybe I don't understand the bug described here. It seems to be more of a support question.

Jan 7 2021, 11:22 AM · FAQ, Solaris, libgcrypt
werner closed T4499: Asan finding in libgcrypt as Wontfix.

For security and auditing reasons a Libgcrypt SO may not be "unloaded".

Jan 7 2021, 11:16 AM · libgcrypt
werner added a subtask for T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297): T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452).
Jan 7 2021, 11:04 AM · Feature Request, libgcrypt
werner added a parent task for T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452): T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297).
Jan 7 2021, 11:04 AM · Feature Request, libgcrypt
werner closed T4304: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error as Wontfix.
Jan 7 2021, 11:02 AM · Legacy OS, Fedora, libgcrypt, Bug Report
werner changed the status of T4293: Add dedicated X25519 function to Libcgrypt from Testing to Open.

gcry_ecc_get_algo_keylen has been added with commit a658c9ccc2c741f40b0b5cdbcd184cfb9a841d17 but documentation is missing.

Jan 7 2021, 10:58 AM · Restricted Project, libgcrypt
werner closed T4274: Fail selftests when checksum file is missing in FIPS mode only as Resolved.
Jan 7 2021, 10:52 AM · Restricted Project, libgcrypt, Bug Report
werner closed T3220: Missing curve documentation as Resolved.

Thanks. I added the OIDs and the missing curves. To go into 1.9

Jan 7 2021, 9:54 AM · patch, libgcrypt, Bug Report
werner lowered the priority of T1303: Please support GCRYSEXP_FMT_BASE64 from Normal to Wishlist.
Jan 7 2021, 9:14 AM · Feature Request, libgcrypt

Jan 5 2021

werner triaged T5157: libgcrypt: ARM64 Builds on macOS fail as Normal priority.
Jan 5 2021, 9:18 AM · toolchain, MacOS, libgcrypt, Bug Report
werner added a parent task for T5182: libgcrypt self tests for FIPS 140: T4294: Release Libgcrypt 1.9.0.
Jan 5 2021, 9:14 AM · Restricted Project, libgcrypt
werner added a subtask for T4294: Release Libgcrypt 1.9.0: T5182: libgcrypt self tests for FIPS 140.
Jan 5 2021, 9:14 AM · Release Info, libgcrypt
werner triaged T5182: libgcrypt self tests for FIPS 140 as High priority.

Flagged as high becuase this is RC for Libgcrypt 1.9

Jan 5 2021, 9:14 AM · Restricted Project, libgcrypt
werner triaged T5195: Incorrect HWCAP2 check for AArch32 as Normal priority.
Jan 5 2021, 9:12 AM · libgcrypt, backport, Bug Report

Dec 30 2020

jukivili added a comment to T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20.

Reimplemented 8 block parallel in "vertical" orientation.

Dec 30 2020, 12:29 PM · libgcrypt
jukivili added a comment to T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.

With little extra effort, stitched implementation turned out ok after all.

Dec 30 2020, 12:28 PM · libgcrypt
jukivili renamed T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD from libgcrypt: s390x/zSeries 128-bit vector implementation of Poly1305 to libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.
Dec 30 2020, 12:24 PM · libgcrypt

Dec 22 2020

jukivili added a comment to T5200: libgcrypt: s390x/zSeries SHA3 acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=7532e27cacb74c92fd561524a0897163b0fcd7f4

Dec 22 2020, 9:03 PM · libgcrypt
jukivili added a comment to T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration.

Applied to s390x optimizations feature branch:
SHA256: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=0b555c3cc7c2b80ec2628685946a6139a1996911
SHA512: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=45f0ec0c4e3b08627cbf7e65f5f110c321710d01

Dec 22 2020, 9:02 PM · libgcrypt
jukivili added a comment to T5203: libgcrypt: s390x/zSeries SHA1 acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=88570515b4ca92a44c4e40c31f877c11cc00ab68

Dec 22 2020, 9:02 PM · libgcrypt
jukivili added a comment to T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=5aeb091f911398217b2e9facb9bdeb05c63d7844

Dec 22 2020, 9:01 PM · libgcrypt
jukivili added a comment to T5197: libgcrypt: s390x/zSeries AES acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=9219d9d1b60c01a4c7dbde05ee6b5b52e0d7d072

Dec 22 2020, 9:00 PM · libgcrypt
Nik_ added a project to T5195: Incorrect HWCAP2 check for AArch32: libgcrypt.
Dec 22 2020, 1:03 PM · libgcrypt, backport, Bug Report
jukivili added a comment to T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.

Implemented stitched ChaCha20-Poly1305 (vector ChaCha20 & ALU Poly1305). Unfortunately performance is less than OpenSSL (vector ChaCha20 & vector Poly1305). Instruction latencies make Poly1305 slower than combined OpenSSL ChaCha20+Poly1305, thus it is not possible to reach same performance with stitching. Vector Poly1305 implementation is therefore needed.

Dec 22 2020, 9:24 AM · libgcrypt
jukivili added a comment to T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20.

Currently have 8 block parallel implementation done. Need to check if 6 block parallel approach is better (as used in OpenSSL - benefit being less register pressure and less moving of data between registers and stack).

Dec 22 2020, 9:20 AM · libgcrypt
jukivili renamed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration from libgcrypt: s390x/zSeries SHA1/SHA256/SHA512 acceleration to libgcrypt: s390x/zSeries SHA256/SHA512 acceleration.
Dec 22 2020, 9:14 AM · libgcrypt
jukivili created T5203: libgcrypt: s390x/zSeries SHA1 acceleration in the S1 Public space.
Dec 22 2020, 9:14 AM · libgcrypt
jukivili created T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD in the S1 Public space.
Dec 22 2020, 9:04 AM · libgcrypt
jukivili created T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20 in the S1 Public space.
Dec 22 2020, 9:03 AM · libgcrypt
jukivili created T5200: libgcrypt: s390x/zSeries SHA3 acceleration in the S1 Public space.
Dec 22 2020, 9:00 AM · libgcrypt
jukivili renamed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration from libgcrypt: s380x/zSeries SHA1/SHA256/SHA512 acceleration to libgcrypt: s390x/zSeries SHA1/SHA256/SHA512 acceleration.
Dec 22 2020, 8:59 AM · libgcrypt
jukivili created T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration in the S1 Public space.
Dec 22 2020, 8:59 AM · libgcrypt
jukivili created T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration in the S1 Public space.
Dec 22 2020, 8:58 AM · libgcrypt
jukivili created T5197: libgcrypt: s390x/zSeries AES acceleration in the S1 Public space.
Dec 22 2020, 8:56 AM · libgcrypt
jukivili added a parent task for T5196: libgcrypt: s390x/zSeries performance improvements: T4460: libgcrypt performance TODOs.
Dec 22 2020, 8:53 AM · libgcrypt
jukivili added a subtask for T4460: libgcrypt performance TODOs: T5196: libgcrypt: s390x/zSeries performance improvements.
Dec 22 2020, 8:53 AM · libgcrypt
jukivili updated the task description for T5196: libgcrypt: s390x/zSeries performance improvements.
Dec 22 2020, 8:53 AM · libgcrypt
jukivili created T5196: libgcrypt: s390x/zSeries performance improvements in the S1 Public space.
Dec 22 2020, 8:51 AM · libgcrypt

Dec 16 2020

gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

I cannot find good test vectors for PBKDF2 with HMAC-SHA-2.

Dec 16 2020, 6:53 AM · Restricted Project, libgcrypt

Dec 15 2020

gniibe renamed T5182: libgcrypt self tests for FIPS 140 from libgcrypt tests for FIPS 140 to libgcrypt self tests for FIPS 140.
Dec 15 2020, 6:50 AM · Restricted Project, libgcrypt
gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

Our tests are now in tests/basic.c.

Dec 15 2020, 6:36 AM · Restricted Project, libgcrypt
gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

For CMAC tests, we would need to use newer test vectors.

Dec 15 2020, 6:35 AM · Restricted Project, libgcrypt
gniibe created T5182: libgcrypt self tests for FIPS 140.
Dec 15 2020, 6:30 AM · Restricted Project, libgcrypt

Dec 14 2020

werner set Due Date to Mar 31 2021, 12:00 AM on T4294: Release Libgcrypt 1.9.0.
Dec 14 2020, 1:21 PM · Release Info, libgcrypt

Dec 8 2020

Angel added a comment to T5162: Import problem due to disabled brainpool curves.

I would add "Provide a verbose message of why the key cannot be imported".

Dec 8 2020, 11:06 PM · Bug Report, libgcrypt, gnupg (gpg22)

Dec 4 2020

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

OK, then we'll have to live with --disable-asm until the next major version is released, or switch to gcc.

Dec 4 2020, 9:20 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

We should not do this.

Dec 4 2020, 12:17 PM · toolchain, MacOS, libgcrypt, Bug Report

Dec 3 2020

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

AArch64 clang support was added to 'master' on 2018-03-28. One would need to backport commits 8ee38806245ca8452051b1a245f44082323f37f6...9b58e4a03ba3aeff7bae3f40da706977870c9649 to 1.8 branch.

Dec 3 2020, 7:39 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

While it doesn't looks good (using AMD64 even if it's ARM64), I think this patch should be applied:

diff --git a/cipher/asm-common-aarch64.h b/cipher/asm-common-aarch64.h
...
Dec 3 2020, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report
gniibe triaged T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac as Normal priority.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe changed the status of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac from Open to Testing.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a project to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: Restricted Project.

So, I'm going to push D513 to both of 1.8 and master (to be 1.9).

Dec 3 2020, 1:07 AM · Restricted Project, MacOS, libgcrypt, Bug Report

Dec 2 2020

gniibe removed a project from T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: Info Needed.

I created D513: Support macOS build with SIP by using posix_spawn in tests/random, which is more conservative; It only affects build under macOS.

Dec 2 2020, 2:22 AM · Restricted Project, MacOS, libgcrypt, Bug Report

Dec 1 2020

mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Put

extern char **environ;

after the the include directives.

Dec 1 2020, 9:44 PM · Restricted Project, MacOS, libgcrypt, Bug Report
werner added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Put

extern char **environ;

after the the include directives.

Dec 1 2020, 8:51 PM · Restricted Project, MacOS, libgcrypt, Bug Report
mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

After applying @gniibe 's patch:

Dec 1 2020, 7:05 PM · Restricted Project, MacOS, libgcrypt, Bug Report
werner created T5162: Import problem due to disabled brainpool curves.
Dec 1 2020, 9:35 AM · Bug Report, libgcrypt, gnupg (gpg22)
werner added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

The problem is that posix_spawn is not portable enough for libgcrypt. It is really time that we move the spawn functions from gnupg to gpgrt so that we can use them also in Libgcrypt.

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

BTW, I'm not sure if the claim in T5009#136688 is correct.

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

See also: https://dev.gnupg.org/T5009#136688

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

See my comment in: https://dev.gnupg.org/T5024#139701

Dec 1 2020, 3:10 AM · Restricted Project, MacOS, libgcrypt, Bug Report

Nov 30 2020

mbirth added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

After disabling SIP, now all checks pass without having the library symlinked to /usr/local/lib. So it might be T2056: libgcrypt: make check fails "random" test on OS X 10.11 with link error after all.

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

After doing:

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

Another issue that comes in to mind is that current ARM/ARM64 HW feature detection most likely wont work on MacOS. Thus HW accelerated AES&SHA&GHASH implementation wont be used.

Nov 30 2020, 8:54 AM · toolchain, MacOS, libgcrypt, Bug Report