Page MenuHome GnuPG
Feed Advanced Search

May 20 2019

gcwilson created T4529: libgcrypt: POWER AES Vector Acceleration.
May 20 2019, 7:01 PM · libgcrypt, Feature Request

May 17 2019

werner triaged T4304: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error as Normal priority.
May 17 2019, 6:47 PM · Legacy OS, Fedora, libgcrypt, Bug Report

May 16 2019

werner closed T4516: use https: links internally where possible instead of http:// in libgcrypt source as Wontfix.

I pulled that branch with the commit w/o problems. However, as noted on your commit I won't apply that because it does not make any sense to change boilerplate blurbs for just an additional 's'. Nobody really uses that and browser can try to use https first. Sorry, there are more important things around.

May 16 2019, 10:50 AM · libgcrypt

May 14 2019

dkg added a comment to T4516: use https: links internally where possible instead of http:// in libgcrypt source.

(hm, i'm pushing apparently successfully to playfair.gnupg.org:/git/libgcrypt.git but it is not showing up here. if you want to fetch this patch, you can also find it on the http-to-https branch at https://gitlab.com/dkg/libgcrypt.git

May 14 2019, 10:35 PM · libgcrypt
dkg created T4516: use https: links internally where possible instead of http:// in libgcrypt source.
May 14 2019, 10:30 PM · libgcrypt
werner added a comment to T4499: Asan finding in libgcrypt.

I would prefer not to fix that. I did some experiments on replacing all the runtime parsed ECC constants by static data. Adding the other constants will then be simple.

May 14 2019, 8:19 PM · libgcrypt
jukivili added a comment to T4499: Asan finding in libgcrypt.

I've prepared patch for statically defining mpiutil contants, but I can leave it out and not push to master.

May 14 2019, 6:38 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

I was talking to Thomas Dickey, who maintains Ncurses. Ncurses had a leak and he offered a config option to remove it. Ncurses config responds to --disable-leaks.

May 14 2019, 1:45 AM · libgcrypt

May 13 2019

JW added a comment to T4499: Asan finding in libgcrypt.

Dynamic loading of Libgcrypt is anyway not supported; those who do that are on their own.

May 13 2019, 10:17 PM · libgcrypt
werner triaged T4499: Asan finding in libgcrypt as Low priority.

I have not yet looked at the details but I do not consider one-time allocation a problem. If you want to silence ASAN it is possible to use gpgrt_annotate_leaked_object( foo). Dynamic loading of Libgcrypt is anyway not supported; those who do that are on their own.

May 13 2019, 4:01 PM · libgcrypt

May 12 2019

jukivili added a comment to T4499: Asan finding in libgcrypt.

That type of variadic macro is GCC extension, see https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

May 12 2019, 6:45 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

The second and third arguments passed to xgcry_control seem to be lost when calling gcry_control.

May 12 2019, 7:16 AM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Here are the next two failures I am seeing while testing libgrcypt. It appears to be related to GCRYCTL_INIT_SECMEM.

May 12 2019, 12:44 AM · libgcrypt

May 11 2019

JW added a comment to T4499: Asan finding in libgcrypt.

I'm still seeing a few odd outputs from make check, but I have not investigated them yet.

May 11 2019, 10:50 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Maybe cleaner option for mpi/mpiutil.c would be to statically allocate the constants

May 11 2019, 9:14 PM · libgcrypt
jukivili added a comment to T4499: Asan finding in libgcrypt.

Maybe cleaner option for mpi/mpiutil.c would be to statically allocate the constants

May 11 2019, 1:27 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Here's a couple of awful hacks that get me through make check. Feel free to restate how awful they are; I know it is a bad thing to do.

May 11 2019, 7:24 AM · libgcrypt

May 10 2019

JW updated the task description for T4499: Asan finding in libgcrypt.
May 10 2019, 11:44 PM · libgcrypt
JW created T4499: Asan finding in libgcrypt in the S1 Public space.
May 10 2019, 11:43 PM · libgcrypt

May 7 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 7 2019, 8:15 PM · libgcrypt
jukivili added a comment to T4460: libgcrypt performance TODOs.

SPARC T4 has crypto instruction set for AES, GCM, SHA1, SHA256, SHA512, Camellia and DES, that can be used from user-space too.

May 7 2019, 8:14 PM · libgcrypt
werner added a comment to T4460: libgcrypt performance TODOs.

Isn't the Sparc crypto instruction set only available in kernel mode?

May 7 2019, 11:57 AM · libgcrypt
werner triaged T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452) as Normal priority.
May 7 2019, 8:55 AM · Feature Request, libgcrypt
werner triaged T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297) as Normal priority.
May 7 2019, 8:55 AM · Feature Request, libgcrypt

May 6 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 6 2019, 9:14 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 6 2019, 9:12 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 6 2019, 9:12 PM · libgcrypt
jukivili created T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297) in the S1 Public space.
May 6 2019, 9:06 PM · Feature Request, libgcrypt
jukivili created T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452) in the S1 Public space.
May 6 2019, 9:03 PM · Feature Request, libgcrypt

May 1 2019

jukivili abandoned D477: Add support for explicit_memset.

This change has been pushed to repository.

May 1 2019, 3:24 PM · libgcrypt

Apr 28 2019

jukivili updated the summary of D477: Add support for explicit_memset.
Apr 28 2019, 8:36 AM · libgcrypt
jukivili updated the summary of D477: Add support for explicit_memset.
Apr 28 2019, 8:36 AM · libgcrypt
jukivili created D477: Add support for explicit_memset.
Apr 28 2019, 8:35 AM · libgcrypt

Apr 14 2019

jukivili created T4460: libgcrypt performance TODOs in the S1 Public space.
Apr 14 2019, 2:14 PM · libgcrypt

Apr 1 2019

jukivili placed T4425: libgcrypt relocation error on aarch64 up for grabs.

I think commit https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=09c27280cc09798d15369b3a143036b7ab5ddd69 should be backported to 1.8 branch of libgcrypt.

Apr 1 2019, 9:16 PM · asm, libgcrypt, Bug Report

Mar 25 2019

Chris6502 added a comment to T4425: libgcrypt relocation error on aarch64.

Thank you, it worked.

Mar 25 2019, 7:45 PM · asm, libgcrypt, Bug Report

Mar 24 2019

jukivili closed T3878: not all calloc performed in libgcrypt covered by gcry_set_allocation_handler as Resolved.
Mar 24 2019, 8:56 PM · libgcrypt, Bug Report
jukivili closed T2388: Inform callers about memory alignment requirements of a cipher implementation as Resolved.
Mar 24 2019, 8:56 PM · libgcrypt, Feature Request
jukivili claimed T4425: libgcrypt relocation error on aarch64.
Mar 24 2019, 8:55 PM · asm, libgcrypt, Bug Report
jukivili claimed T2388: Inform callers about memory alignment requirements of a cipher implementation.
Mar 24 2019, 9:51 AM · libgcrypt, Feature Request
jukivili claimed T3878: not all calloc performed in libgcrypt covered by gcry_set_allocation_handler.
Mar 24 2019, 9:27 AM · libgcrypt, Bug Report
jukivili closed T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC as Resolved.
Mar 24 2019, 9:14 AM · asm, libgcrypt, Bug Report
jukivili claimed T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC.
Mar 24 2019, 9:13 AM · asm, libgcrypt, Bug Report

Mar 20 2019

werner closed T4414: please make ecc debugging info from libgcrypt more legible. as Resolved.

Thanks.

Mar 20 2019, 10:03 AM · libgcrypt, Bug Report
werner added a comment to T4414: please make ecc debugging info from libgcrypt more legible..

Applied to master. This is not suitable for 1.8

Mar 20 2019, 10:03 AM · libgcrypt, Bug Report
dkg added a comment to T4414: please make ecc debugging info from libgcrypt more legible..

for whatever reason, i don't seem to be able to push to the branch on playfair, so i've also pushed the same commit over at https://gitlab.com/dkg/libgcrypt

Mar 20 2019, 3:10 AM · libgcrypt, Bug Report
dkg created T4414: please make ecc debugging info from libgcrypt more legible..
Mar 20 2019, 3:08 AM · libgcrypt, Bug Report

Feb 25 2019

gniibe triaged T4274: Fail selftests when checksum file is missing in FIPS mode only as Normal priority.

Fixed in master.

Feb 25 2019, 1:10 AM · Restricted Project, libgcrypt, Bug Report
gniibe claimed T4274: Fail selftests when checksum file is missing in FIPS mode only.

Thanks for your report.
I think that your patch is too generous to run HMAC even if fips_mode is not enabled; Simply, we can stop calling integrity check when fips_mode is not active.

Feb 25 2019, 1:09 AM · Restricted Project, libgcrypt, Bug Report

Feb 19 2019

gniibe closed T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config as Resolved.
Feb 19 2019, 2:48 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Jan 17 2019

gniibe added a comment to T4304: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error.

Reading https://en.wikipedia.org/wiki/Fedora_version_history, I guess that your kernel/glibc doesn't have working mlock.
It may work if running by root, though.

Jan 17 2019, 4:05 AM · Legacy OS, Fedora, libgcrypt, Bug Report
gniibe claimed T4243: Test failure in libgcrypt-1.8.4.

T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) handles related issue, which was fixed for libgcrypt-1.9. Since this issue is for other libraries (libgpg-error, specifically), we could do something similar, but, it may be detecting LD_LIBRARY_PATH to fail with "Please remove LD_LIBRARY_PATH".

Jan 17 2019, 1:39 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe abandoned D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.

Applied.

Jan 17 2019, 1:00 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 15 2019

gniibe closed T4288: Add getrandom support for the BSDs as Resolved.

Pushed to master, fixing about return value of getentropy. Tested on FreeBSD 12. Tested on FreeBSD 11 where getentropy is not available.

Jan 15 2019, 7:54 AM · libgcrypt
gniibe closed T4288: Add getrandom support for the BSDs, a subtask of T4294: Release Libgcrypt 1.9.0, as Resolved.
Jan 15 2019, 7:54 AM · Release Info, libgcrypt

Jan 14 2019

devnexen added a comment to T4288: Add getrandom support for the BSDs.

All right then, fine by me.

Jan 14 2019, 9:08 PM · libgcrypt
werner added a comment to T4288: Add getrandom support for the BSDs.

These are hooks so that co-operative thread libraries (like ntph) are able to yield control to the system's thread's implementation.

Jan 14 2019, 9:02 PM · libgcrypt
devnexen added a comment to T4288: Add getrandom support for the BSDs.

Sorry for long reply, your change looks ok even though dunno it is meaningful those _gcry_pre_syscall ()/_gcry_post_syscall () surrounding get entropy for example.

Jan 14 2019, 8:09 PM · libgcrypt
aheinecke triaged T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) as Normal priority.

I give this normal priority to move it out of the "Needs Triage" queue.

Jan 14 2019, 10:31 AM

Jan 10 2019

werner triaged T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC as High priority.

Set to high because it breaks a build.

Jan 10 2019, 1:31 PM · asm, libgcrypt, Bug Report
gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now (even if rpath doesn't work well) to 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Jan 10 2019, 2:33 AM
gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): gpgrt.

Done for libgpg-error.

Jan 10 2019, 2:32 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Topic branch of libgpg-error is not good to show changes (for other libraries).
So, I made D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.
Appliying to libgpg-error.

Jan 10 2019, 2:31 AM
gniibe added a project to D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH: gpgme.
Jan 10 2019, 2:28 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt
gniibe created D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.
Jan 10 2019, 2:28 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 8 2019

gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For other distros, it seems it's quite old issue: https://sourceware.org/ml/binutils/2012-05/msg00037.html

Jan 8 2019, 2:50 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My patches on the topic branch: https://dev.gnupg.org/source/libgpg-error/history/gniibe%252Fdisable-new-dtags/

Jan 8 2019, 2:49 AM
gniibe added a comment to T4288: Add getrandom support for the BSDs.

In my patch, for OpenBSD and FreeBSD (well, other than GNU/Linux), it uses getentropy if available. For GNU/Linux, we use the local macro of getentropy (regardless of the availability of the function), keeping exactly same behavior of syscall with __NR_getrandom.

Jan 8 2019, 1:16 AM · libgcrypt

Jan 7 2019

gniibe added a comment to T4288: Add getrandom support for the BSDs.

Update to prefer syscall on GNU/Linux (no need to audit libc implementation):

Jan 7 2019, 11:03 AM · libgcrypt
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My tentative conclusion: When (GNU) ld supports --disable-new-dtags, add it to LDADD in tests/Makefile.am.

Jan 7 2019, 8:08 AM

Dec 30 2018

JW added a project to T4304: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error: libgcrypt.
Dec 30 2018, 1:05 AM · Legacy OS, Fedora, libgcrypt, Bug Report

Dec 20 2018

werner added a subtask for T4294: Release Libgcrypt 1.9.0: T4288: Add getrandom support for the BSDs.
Dec 20 2018, 8:44 AM · Release Info, libgcrypt
werner added a parent task for T4288: Add getrandom support for the BSDs: T4294: Release Libgcrypt 1.9.0.
Dec 20 2018, 8:44 AM · libgcrypt
gniibe added a comment to T4288: Add getrandom support for the BSDs.

This is mine:

Dec 20 2018, 7:10 AM · libgcrypt
gniibe added a comment to T4288: Add getrandom support for the BSDs.

Confirmed my theory of getentropy(3): https://reviews.freebsd.org/rS331279

Dec 20 2018, 6:45 AM · libgcrypt
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Reading this discussion: http://lists.gnu.org/archive/html/bug-libtool/2018-01/msg00014.html
It seems that it could be fixed if we care about the order of libraries.
And it's not the issue for libgpg-error, which doesn't require external libraries.

Dec 20 2018, 4:01 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:42 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:40 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For binutils, in Stretch, Debian specific patch was introduced.
Then, upstream introduced --enable-new-dtags option for configure to build binutils.
Now, Debian uses --enable-new-dtags option (at build time).

Dec 20 2018, 3:38 AM
gniibe set External Link to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732 on T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:11 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:08 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now to Use uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:05 AM
gniibe created T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 2:51 AM

Dec 19 2018

werner added a comment to T4288: Add getrandom support for the BSDs.

I think we should stick with the syscall for Linux.

Dec 19 2018, 8:00 AM · libgcrypt
gniibe added a comment to T4288: Add getrandom support for the BSDs.

OpenBSD uses getentropy(2). glibc (>= 2.25) has getentropy(3), too.

Dec 19 2018, 2:59 AM · libgcrypt
gniibe added a comment to T3731: gcry_pk_genkey() segfaults for ecdsa 384.

For the correctness of rndjent implementation, I'm applying D461: jent random requires finalizer to deallocate secure memory.

Dec 19 2018, 2:27 AM · libgcrypt, Bug Report

Dec 17 2018

gniibe added a comment to T4243: Test failure in libgcrypt-1.8.4.

Perhaps, it's better to remove -no-install flag in tests/Makefile.am, so that test programs will be wrapper script by libtool.

Dec 17 2018, 12:43 PM · Documentation, Tests, libgcrypt, Bug Report
werner added subtasks for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt , T4068: libgcrypt 1.8.3 make check errors, T4243: Test failure in libgcrypt-1.8.4, T1303: Please support GCRYSEXP_FMT_BASE64, T4274: Fail selftests when checksum file is missing in FIPS mode only.
Dec 17 2018, 10:11 AM · Release Info, libgcrypt
werner added a parent task for T1303: Please support GCRYSEXP_FMT_BASE64: T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Feature Request, libgcrypt
werner added a parent task for T4243: Test failure in libgcrypt-1.8.4: T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Documentation, Tests, libgcrypt, Bug Report
werner added a parent task for T4068: libgcrypt 1.8.3 make check errors: T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Documentation, libgcrypt
werner added a parent task for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Restricted Project, libgcrypt, Bug Report
werner added a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Restricted Project, libgcrypt
werner added projects to T4294: Release Libgcrypt 1.9.0: libgcrypt, Release Info.
Dec 17 2018, 10:10 AM · Release Info, libgcrypt
werner renamed T4293: Add dedicated X25519 function to Libcgrypt from Add dedicated X25519 fucntion to Libcgrypt to Add dedicated X25519 function to Libcgrypt .
Dec 17 2018, 10:07 AM · Restricted Project, libgcrypt
werner closed T3223: gcry_mpi_ec_mul with Montgomery curves produces segfault as Resolved.

See T4293

Dec 17 2018, 10:07 AM · libgcrypt, Bug Report
werner created T4293: Add dedicated X25519 function to Libcgrypt .
Dec 17 2018, 10:06 AM · Restricted Project, libgcrypt
werner closed T3731: gcry_pk_genkey() segfaults for ecdsa 384 as Resolved.

With GCRYCTL_AUTO_EXPAND_SECMEM we won't anymore run out of secure memory. This has even silent been backported to 1.8.x (using the numerical value of that constant) and is for long an option of gpg-agent. Thus closing.

Dec 17 2018, 10:01 AM · libgcrypt, Bug Report