Page MenuHome GnuPG
Feed Advanced Search

Oct 28 2022

jukivili added a comment to T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452).

Yep. Closed now.

Oct 28 2022, 5:10 PM · Feature Request, libgcrypt
jukivili closed T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452), a subtask of T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297), as Resolved.
Oct 28 2022, 5:10 PM · Feature Request, libgcrypt
jukivili closed T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452) as Resolved.
Oct 28 2022, 5:10 PM · Feature Request, libgcrypt
werner added a comment to T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452).

@jukivili: This has been released with 1.10.0 - shall we close this bug?

Oct 28 2022, 3:42 PM · Feature Request, libgcrypt

Oct 27 2022

jukivili closed T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) as Resolved.
Oct 27 2022, 5:07 AM · libgcrypt, Feature Request

Oct 24 2022

werner triaged T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) as Low priority.

Go ahead if you want to do that.

Oct 24 2022, 7:19 AM · libgcrypt, Feature Request
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you. I am glad that it is already resolved.

Oct 24 2022, 6:40 AM · MacOS, libgcrypt, gpgrt
gniibe triaged T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure as Normal priority.
Oct 24 2022, 6:37 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Will this be in the next release of libgcrypt?

Oct 24 2022, 6:17 AM · MacOS, libgcrypt, gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Okay. So, I removed gpg-error-config, updated libgcrypt/m4/gpg-error.m4, and then rebuilt configure. And, gcrypt configures and builds.

Oct 24 2022, 5:33 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for the information.

Oct 24 2022, 5:06 AM · MacOS, libgcrypt, gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Actually, it looks as if libgpg-error-1.46 already has that fix.

Oct 24 2022, 5:03 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for your quick reply.

Oct 24 2022, 4:51 AM · MacOS, libgcrypt, gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Yes, it is on macOS.

Oct 24 2022, 4:41 AM · MacOS, libgcrypt, gpgrt
gniibe claimed T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

From the information in gpg-error.pc, I think it's on macOS.

Oct 24 2022, 4:35 AM · MacOS, libgcrypt, gpgrt

Oct 20 2022

Jakuje added a comment to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF.

In regards to this issue, we were also notified that the MD API using gcry_md_setkey() can be used to calculate HMACs and it does not have the needed input key length limitation. From the discussion here I read that we would like to keep the internal usage still available so my proposal would be to to add similar check as in gcry_mac_setkey() into the above function. Together with the revert, it is available in the following merge request:

Oct 20 2022, 6:33 PM · backport, libgcrypt, FIPS
Jakuje added a comment to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF.

I read the document (SP 800-131Ar2) again. I think that it would be irrelevant for PKDF2, because it's password KDF, not deriving additional keys from a Cryptographic Key.

Oct 20 2022, 11:12 AM · backport, libgcrypt, FIPS
gniibe added a comment to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF.

I read the document (SP 800-131Ar2) again. I think that it would be irrelevant for PKDF2, because it's password KDF, not deriving additional keys from a Cryptographic Key.

Oct 20 2022, 2:15 AM · backport, libgcrypt, FIPS

Oct 19 2022

gniibe added a comment to T6248: FIPS compliant RSA OAEP encryption.

Please note that: libgcrypt offers ECDH functionality by gcry_pk_encrypt/gcry_pk_decrypt to construct OpenPGP public-key encryption/decryption.

Oct 19 2022, 9:05 AM · libgcrypt, FIPS, Feature Request
werner triaged T6248: FIPS compliant RSA OAEP encryption as Normal priority.

So, this is only for OAEP but not for ECDH? FWIW, GnUPG uses OAEP only for S/MIME.

Oct 19 2022, 7:54 AM · libgcrypt, FIPS, Feature Request
gniibe added a comment to T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance).

It's not that needed, in my opinion, as nobody actually uses ECB itself (in real use case). But I understand the point of (possibly, students') benchmarking.

Oct 19 2022, 3:19 AM · libgcrypt, Feature Request

Oct 18 2022

Jakuje created T6248: FIPS compliant RSA OAEP encryption.
Oct 18 2022, 11:57 AM · libgcrypt, FIPS, Feature Request

Oct 16 2022

jukivili created T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance).
Oct 16 2022, 4:57 PM · libgcrypt, Feature Request

Oct 14 2022

gniibe added a comment to T5964: gnupg should use the KDFs implemented in libgcrypt.

Pushed the change, although it is not enabled yet (since the feature will be only available by newer libgcrypt, 1.11).

Oct 14 2022, 7:53 AM · gnupg26, FIPS, Feature Request

Oct 7 2022

Jakuje added a comment to T6217: sha3: wrong results for large inputs.

One more nit regarding to the test is the format string for size_t which was using %d instead of %zu. This is fixed by the attached patch:

Oct 7 2022, 11:21 AM · libgcrypt, FIPS, Bug Report

Oct 4 2022

werner moved T6219: Ensure minimum key length for KDF in FIPS mode from Backlog to Ready for release on the FIPS board.
Oct 4 2022, 11:09 AM · libgcrypt, FIPS, Bug Report
gniibe added a comment to T6219: Ensure minimum key length for KDF in FIPS mode.

Also applied to 1.10 branch.

Oct 4 2022, 11:09 AM · libgcrypt, FIPS, Bug Report

Oct 2 2022

jukivili added a comment to T6217: sha3: wrong results for large inputs.

Patch applied to master, thanks.

Oct 2 2022, 3:55 PM · libgcrypt, FIPS, Bug Report

Sep 30 2022

Jakuje added a comment to T6217: sha3: wrong results for large inputs.

One nit that I overlooked initially is the memory leak, which is fixed with the following patch:

Sep 30 2022, 2:56 PM · libgcrypt, FIPS, Bug Report

Sep 27 2022

Jakuje added a comment to T6219: Ensure minimum key length for KDF in FIPS mode.

The specs https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf page 10 says specifically:

Sep 27 2022, 11:07 AM · libgcrypt, FIPS, Bug Report
jukivili added a comment to T6217: sha3: wrong results for large inputs.

I've tested the different hw implementations (amd64, arm64, s390x) and they are all ok.

Sep 27 2022, 7:27 AM · libgcrypt, FIPS, Bug Report
gniibe changed the status of T6219: Ensure minimum key length for KDF in FIPS mode from Open to Testing.

Thank you for your report.

Sep 27 2022, 6:34 AM · libgcrypt, FIPS, Bug Report

Sep 26 2022

tobhe created T6219: Ensure minimum key length for KDF in FIPS mode.
Sep 26 2022, 9:08 PM · libgcrypt, FIPS, Bug Report
werner triaged T6217: sha3: wrong results for large inputs as Normal priority.
Sep 26 2022, 7:36 PM · libgcrypt, FIPS, Bug Report
werner added a comment to T6217: sha3: wrong results for large inputs.

My poor old laptop - its RAM will now have a hard time to run the huge tests ;-)

Sep 26 2022, 3:57 PM · libgcrypt, FIPS, Bug Report
Jakuje added a comment to T6217: sha3: wrong results for large inputs.

The test looks good. I hope I changed the API in all the hw optimized implementations.

Sep 26 2022, 2:44 PM · libgcrypt, FIPS, Bug Report

Sep 25 2022

jukivili added a comment to T6217: sha3: wrong results for large inputs.

Fix looks good to me. This could be tested with new long running test (tests/hashtest) that would allocate 4GiB+ pattern block for inputting to gcry_md_write.

Sep 25 2022, 9:26 PM · libgcrypt, FIPS, Bug Report

Sep 23 2022

Jakuje created T6217: sha3: wrong results for large inputs.
Sep 23 2022, 7:20 PM · libgcrypt, FIPS, Bug Report

Sep 22 2022

werner changed the status of T5933: libgcrypt: Simply use BSS (not secure heap) for DRBG instance from Open to Testing.
Sep 22 2022, 11:02 AM · backport, FIPS, libgcrypt
werner changed the status of T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime" from Open to Testing.
Sep 22 2022, 11:02 AM · backport, FIPS, libgcrypt, Bug Report
werner changed the status of T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0 from Open to Testing.
Sep 22 2022, 11:02 AM · backport, libgcrypt, Bug Report
werner changed the status of T5811: libgcrypt: Remove random-daemon (server side) from Open to Testing.
Sep 22 2022, 11:01 AM · libgcrypt
werner changed the status of T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1) from Open to Testing.
Sep 22 2022, 11:01 AM · Bug Report, libgcrypt
werner changed the status of T5918: Disable RSA PKCS #1.5 encryption in FIPS mode from Open to Testing.
Sep 22 2022, 11:01 AM · backport, libgcrypt, FIPS, Bug Report
werner changed the status of T5973: libgcrypt: Minor test issues reported by coverity from Open to Testing.
Sep 22 2022, 11:01 AM · backport, patch, libgcrypt, Bug Report
werner changed the status of T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd') from Open to Testing.
Sep 22 2022, 11:00 AM · backport, hppa, libgcrypt, Gentoo, Bug Report
werner changed the status of T5817: libgcrypt: Add Balloon KDF from Open to Testing.
Sep 22 2022, 10:58 AM · libgcrypt, Feature Request
werner changed the status of T4873: Enable AES GCM in FIPS mode from Open to Testing.
Sep 22 2022, 10:57 AM · FIPS, libgcrypt, Feature Request
werner changed the status of T4873: Enable AES GCM in FIPS mode, a subtask of T5870: libgcrypt: AEAD API for FIPS 140 (in future), from Open to Testing.
Sep 22 2022, 10:57 AM · Feature Request, FIPS, libgcrypt
werner changed the status of T5970: gcry_mpi_invm producing wrong result from Open to Testing.
Sep 22 2022, 10:56 AM · backport, libgcrypt, Bug Report
werner changed the status of T5975: Allow signature verification using specific RSA keys <2k in FIPS mode from Open to Testing.
Sep 22 2022, 10:56 AM · backport, patch, libgcrypt, FIPS, Feature Request
werner changed the status of T5980: compilation error libgcrypt 1.10.1 from Open to Testing.
Sep 22 2022, 10:55 AM · backport, ppc, AIX, libgcrypt, Bug Report
werner changed the status of T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF from Open to Testing.
Sep 22 2022, 10:54 AM · backport, libgcrypt, FIPS
werner changed the status of T6048: Test suite fixes with --enable-pubkey-ciphers=ecc from Open to Testing.
Sep 22 2022, 10:54 AM · FIPS, libgcrypt
werner changed the status of T6066: gcry_pk_hash_verify() does not work with explicitly specified hash algorithm from Open to Testing.
Sep 22 2022, 10:52 AM · backport, libgcrypt, Bug Report
werner changed the status of T6127: FIPS 140-3 final review comments from Open to Testing.
Sep 22 2022, 10:50 AM · FIPS, libgcrypt, Bug Report

Sep 7 2022

gniibe added a parent task for T5964: gnupg should use the KDFs implemented in libgcrypt: T6191: FIPS: Supporting running FIPS enabled machine.
Sep 7 2022, 4:48 AM · gnupg26, FIPS, Feature Request

Sep 5 2022

gniibe abandoned D544: Deprecation of random daemon part 1 (remove use of random daemon).
Sep 5 2022, 1:47 AM · libgcrypt

Aug 30 2022

gniibe claimed T6127: FIPS 140-3 final review comments.
Aug 30 2022, 7:40 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5870: libgcrypt: AEAD API for FIPS 140 (in future).

TLS 1.3 requires much changes for NTBTLS.

Aug 30 2022, 7:39 AM · Feature Request, FIPS, libgcrypt
gniibe added a parent task for T4873: Enable AES GCM in FIPS mode: T5870: libgcrypt: AEAD API for FIPS 140 (in future).
Aug 30 2022, 7:35 AM · FIPS, libgcrypt, Feature Request
gniibe added a subtask for T5870: libgcrypt: AEAD API for FIPS 140 (in future): T4873: Enable AES GCM in FIPS mode.
Aug 30 2022, 7:35 AM · Feature Request, FIPS, libgcrypt
gniibe claimed T4873: Enable AES GCM in FIPS mode.
Aug 30 2022, 7:34 AM · FIPS, libgcrypt, Feature Request
gniibe moved T4873: Enable AES GCM in FIPS mode from Next to Ready for release on the FIPS board.
Aug 30 2022, 7:34 AM · FIPS, libgcrypt, Feature Request
gniibe moved T6048: Test suite fixes with --enable-pubkey-ciphers=ecc from Next to Ready for release on the FIPS board.
Aug 30 2022, 7:33 AM · FIPS, libgcrypt
gniibe moved T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF from Next to Ready for release on the FIPS board.
Aug 30 2022, 7:33 AM · backport, libgcrypt, FIPS
gniibe added a comment to T6127: FIPS 140-3 final review comments.

Applied to master and 1.10 branch.

Aug 30 2022, 7:32 AM · FIPS, libgcrypt, Bug Report

Aug 26 2022

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

I realized that some AEAD cipher (including GCM) allows arbitrary length for IV.
But it's not good for the API of setup_geniv and geniv.

Aug 26 2022, 3:59 AM · FIPS, libgcrypt, Feature Request

Aug 25 2022

gniibe added a project to T4873: Enable AES GCM in FIPS mode: Restricted Project.

I pushed the change with documentation.

Aug 25 2022, 8:49 AM · FIPS, libgcrypt, Feature Request

Aug 24 2022

werner triaged T6127: FIPS 140-3 final review comments as Normal priority.
Aug 24 2022, 6:27 PM · FIPS, libgcrypt, Bug Report

Aug 23 2022

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

Thank you for your work on the proposal. I have two comments:

  • Do we have some test vector, which can be used in the testsute to test the new API?
  • We need to mention the new API in the documentation.
Aug 23 2022, 12:39 PM · FIPS, libgcrypt, Feature Request
werner renamed T6146: Add gcry_kdf_open et al. documentation from Add fcry_kdf_open et al. documentation to Add gcry_kdf_open et al. documentation.
Aug 23 2022, 11:19 AM · Documentation, libgcrypt
werner triaged T6146: Add gcry_kdf_open et al. documentation as Normal priority.
Aug 23 2022, 11:19 AM · Documentation, libgcrypt
gniibe moved T6127: FIPS 140-3 final review comments from Backlog to Next on the FIPS board.
Aug 23 2022, 11:12 AM · FIPS, libgcrypt, Bug Report

Aug 18 2022

Jakuje added a comment to T6127: FIPS 140-3 final review comments.

For the record, the changeset in the attached merge request is final and waiting for reviews.

Aug 18 2022, 8:42 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T4873: Enable AES GCM in FIPS mode.

Experimental branches:
https://dev.gnupg.org/source/libgcrypt/history/t4873/
https://dev.gnupg.org/source/ntbtls/history/t4873/

Aug 18 2022, 6:37 AM · FIPS, libgcrypt, Feature Request

Aug 11 2022

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Aug 11 2022, 6:21 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Aug 11 2022, 6:19 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Aug 11 2022, 6:19 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Aug 11 2022, 6:19 PM · libgcrypt

Aug 9 2022

Jakuje created T6127: FIPS 140-3 final review comments.
Aug 9 2022, 11:25 AM · FIPS, libgcrypt, Bug Report
werner added a comment to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF.

Should go into 1.10 too

Aug 9 2022, 11:12 AM · backport, libgcrypt, FIPS
werner added a project to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF: backport.
Aug 9 2022, 11:11 AM · backport, libgcrypt, FIPS

Jul 28 2022

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 28 2022, 12:19 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 28 2022, 12:15 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 28 2022, 12:15 PM · libgcrypt

Jul 25 2022

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 25 2022, 11:00 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 25 2022, 11:00 PM · libgcrypt

Jul 22 2022

SpriteOvO added a comment to T6078: File `config.guess` is a little out of date.

@gniibe Thanks!

Jul 22 2022, 6:41 PM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe closed T6078: File `config.guess` is a little out of date as Resolved.

In the repo, for all related software, it's done.

Jul 22 2022, 3:42 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe added a comment to T6078: File `config.guess` is a little out of date.

Note that versions since 2020-11-07 to 2021-07-03 have major problem with non-POSIX shell, which doesn't support $(..) construct.

Jul 22 2022, 3:40 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report

Jul 21 2022

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Jul 21 2022, 4:07 PM · libgcrypt

Jul 18 2022

gniibe triaged T6078: File `config.guess` is a little out of date as Normal priority.

Thank you.

Jul 18 2022, 10:56 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report

Jul 13 2022

gniibe closed T5286: Calculate Z hash for sm2 as Resolved.

Reading through the report, the spec., and current implementation, I concluded that this is not a bug, thus, I'm closing this.

Jul 13 2022, 6:57 AM · Not A Bug, Info Needed, libgcrypt, Feature Request
gniibe added a project to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF: Restricted Project.
Jul 13 2022, 6:18 AM · backport, libgcrypt, FIPS
gniibe added a comment to T5933: libgcrypt: Simply use BSS (not secure heap) for DRBG instance.

It will be in 1.10.2.

Jul 13 2022, 4:37 AM · backport, FIPS, libgcrypt
gniibe added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

It will be in 1.10.2.

Jul 13 2022, 4:36 AM · backport, FIPS, libgcrypt, Bug Report
gniibe added a comment to T5918: Disable RSA PKCS #1.5 encryption in FIPS mode.

It will be in 1.10.2.

Jul 13 2022, 4:36 AM · backport, libgcrypt, FIPS, Bug Report
gniibe added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

Applied to 1.10.

Jul 13 2022, 4:31 AM · backport, libgcrypt, Bug Report

Jul 12 2022

gniibe moved T6048: Test suite fixes with --enable-pubkey-ciphers=ecc from Backlog to Next on the FIPS board.
Jul 12 2022, 12:18 PM · FIPS, libgcrypt