Page MenuHome GnuPG
Feed Advanced Search

Dec 12 2018

gniibe added a parent task for T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key": T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:26 AM · gnupg (gpg22), MacOS, Bug Report
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key".
Dec 12 2018, 7:26 AM · gnupg, gpgagent
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3606: failed to build S-Exp (off=0): Cannot allocate memory.
Dec 12 2018, 7:23 AM · gnupg, gpgagent
gniibe added a parent task for T3606: failed to build S-Exp (off=0): Cannot allocate memory: T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:23 AM · libgcrypt, Bug Report
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3530: Option to auto-increase secmem in gpg-agent.
Dec 12 2018, 7:22 AM · gnupg, gpgagent
gniibe added a parent task for T3530: Option to auto-increase secmem in gpg-agent: T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:22 AM · Feature Request, gpgagent
gniibe merged T3529: Connection limit for gpg-agent into T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:16 AM · gnupg, gpgagent
gniibe merged task T3529: Connection limit for gpg-agent into T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:16 AM · Feature Request, gnupg (gpg23), gpgagent
gniibe added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

For my case, with $GNUPGHOME/gpg-agent.conf having debug-all, I observed that rsa_decrypt failes with 'Cannot allocate memory', after debug output of 'res'.
Reading libgcrypt/cipher/rsa.c, it is line 1439, where it calls sexp_build (MPI of PLAIN into SEXP of R_PLAIN).
I think that it does indeed memory failure here.
Having "auto-expand-secmem" in gpg-agent.conf, it goes well.

Dec 12 2018, 3:47 AM · gnupg, gpgagent
gniibe committed rGebf775eb16fe: card: Suppress error message by agent_scd_cardlist. (authored by gniibe).
card: Suppress error message by agent_scd_cardlist.
Dec 12 2018, 2:29 AM

Dec 11 2018

gniibe committed rE27ded21fea2a: syscfg: Add a riscv32 architecture (authored by Alistair Francis <Alistair.Francis@wdc.com>).
syscfg: Add a riscv32 architecture
Dec 11 2018, 6:03 AM

Dec 10 2018

gniibe closed T4239: Should gpgrt-config have default LIBDIR definition in the script? as Resolved.
Dec 10 2018, 3:02 AM · gpgrt
gniibe committed rE1d71dbb13709: gpgrt-config: Portability fix for use of expr. (authored by gniibe).
gpgrt-config: Portability fix for use of expr.
Dec 10 2018, 1:12 AM

Dec 6 2018

gniibe closed T4281: Backport smartcard support changes to 2.2 as Resolved.

I decided not to backport UIF things.
Other fixes (KDF and memory leak) were done.
If this decision will be re-evaluated, remember the backport of the commit rG05d163aebc04: scd: Make "learn" report about KDF data object. doesn't have UIF change.

Dec 6 2018, 9:23 AM
gniibe updated the task description for T4281: Backport smartcard support changes to 2.2.
Dec 6 2018, 9:21 AM
gniibe committed rGd4bc8051525a: scd: Make "learn" report about KDF data object. (authored by gniibe).
scd: Make "learn" report about KDF data object.
Dec 6 2018, 9:19 AM
gniibe committed rG751ff784e531: card: Display if KDF is enabled or not. (authored by gniibe).
card: Display if KDF is enabled or not.
Dec 6 2018, 9:19 AM
gniibe committed rG293001e2c6f0: g10: Fix memory leak for --card-status. (authored by gniibe).
g10: Fix memory leak for --card-status.
Dec 6 2018, 9:19 AM
gniibe added a comment to T4281: Backport smartcard support changes to 2.2.

Perhaps, the changes for UIF (user interaction flag) is not needed to be backported now.
Because the feature is not yet used by any OpenPGP card implementation.
I am testing with Gnuk, but it's still experimental even for Gnuk.

Dec 6 2018, 8:56 AM
gniibe created T4281: Backport smartcard support changes to 2.2.
Dec 6 2018, 3:15 AM

Dec 5 2018

gniibe committed rGe154fba30ba0: g10: Fix print_pubkey_info new line output. (authored by gniibe).
g10: Fix print_pubkey_info new line output.
Dec 5 2018, 8:53 AM

Dec 4 2018

gniibe committed rG802b23289cc9: build: Remove --with-*-prefix from configure_opts. (authored by gniibe).
build: Remove --with-*-prefix from configure_opts.
Dec 4 2018, 4:40 AM
gniibe committed rM5dbac555f23b: build: Remove --with-*-prefix, which is no need any more. (authored by gniibe).
build: Remove --with-*-prefix, which is no need any more.
Dec 4 2018, 4:38 AM

Nov 28 2018

gniibe committed rG47106ac435e8: scd: Serialize opening device by select_application. (authored by gniibe).
scd: Serialize opening device by select_application.
Nov 28 2018, 7:06 AM

Nov 27 2018

gniibe committed rG483e63f9b5fa: agent: Better serialization for scdaemon access. (authored by gniibe).
agent: Better serialization for scdaemon access.
Nov 27 2018, 3:13 AM

Nov 26 2018

gniibe committed rG40c7923ea881: agent: Have a thread to wait for the child process of scdaemon. (authored by gniibe).
agent: Have a thread to wait for the child process of scdaemon.
Nov 26 2018, 4:15 AM
gniibe committed rG9fb3f0f3f79e: agent: Defer calling assuan_release when it's still in use. (authored by gniibe).
agent: Defer calling assuan_release when it's still in use.
Nov 26 2018, 4:15 AM
gniibe committed rGf45d6124696c: agent: Clean up SCDaemon management. (authored by gniibe).
agent: Clean up SCDaemon management.
Nov 26 2018, 4:15 AM

Nov 15 2018

gniibe committed rGe955ca245ea0: card: Display UIF setting. (authored by gniibe).
card: Display UIF setting.
Nov 15 2018, 6:01 AM
gniibe committed rG05d163aebc04: scd: Make "learn" report about KDF data object. (authored by gniibe).
scd: Make "learn" report about KDF data object.
Nov 15 2018, 6:00 AM
gniibe committed rGa5542a4a702c: card: Display if KDF is enabled or not. (authored by gniibe).
card: Display if KDF is enabled or not.
Nov 15 2018, 4:31 AM

Nov 14 2018

gniibe committed rE4a92763a6e52: gpgrt-config: Prepend PKG_CONFIG_LIBDIR to PKG_CONFIG_PATH. (authored by gniibe).
gpgrt-config: Prepend PKG_CONFIG_LIBDIR to PKG_CONFIG_PATH.
Nov 14 2018, 12:16 PM
gniibe committed rG804a77edd947: agent: Simplify agent_popup_message_stop. (authored by gniibe).
agent: Simplify agent_popup_message_stop.
Nov 14 2018, 3:19 AM
gniibe committed rAeac43aadd7c3: libassuan.vers: Remove duplicates. (authored by gniibe).
libassuan.vers: Remove duplicates.
Nov 14 2018, 2:28 AM
gniibe committed rA8153608073b7: server: Don't call _assuan_waitpid on server side. (authored by gniibe).
server: Don't call _assuan_waitpid on server side.
Nov 14 2018, 1:44 AM

Nov 13 2018

gniibe committed rE4b41cf3bd16c: Fix typo in the annotation. (authored by gniibe).
Fix typo in the annotation.
Nov 13 2018, 4:02 AM
gniibe committed rC4141caabe76a: libgcrypt.m4: Update from master. (authored by gniibe).
libgcrypt.m4: Update from master.
Nov 13 2018, 3:50 AM
gniibe committed rC852245390ef7: libgcrypt.m4: Prefer gpgrt-config to SYSROOT support. (authored by gniibe).
libgcrypt.m4: Prefer gpgrt-config to SYSROOT support.
Nov 13 2018, 3:50 AM
gniibe committed rCbea193446351: build: Update autogen.rc. (authored by gniibe).
build: Update autogen.rc.
Nov 13 2018, 3:50 AM
gniibe committed rMc4aa4af50f31: build: Update gpg-error.m4 and libassuan.m4. (authored by gniibe).
build: Update gpg-error.m4 and libassuan.m4.
Nov 13 2018, 3:47 AM
gniibe committed rGd58fe697acef: build: Update libgcrypt.m4 and ntbtls.m4. (authored by gniibe).
build: Update libgcrypt.m4 and ntbtls.m4.
Nov 13 2018, 3:40 AM
gniibe committed rKc37cdbd0f1b4: build: Update autogen.rc. (authored by gniibe).
build: Update autogen.rc.
Nov 13 2018, 3:40 AM
gniibe committed rA5e7988d2da3c: build: Update autogen.rc and autogen.sh. (authored by gniibe).
build: Update autogen.rc and autogen.sh.
Nov 13 2018, 3:39 AM
gniibe committed rT1fbb2f544c14: ntbtls.m4: Prefer gpgrt-config to SYSROOT support. (authored by gniibe).
ntbtls.m4: Prefer gpgrt-config to SYSROOT support.
Nov 13 2018, 3:38 AM
gniibe committed rT838f83398d72: build: Update m4/libgcrypt.m4. (authored by gniibe).
build: Update m4/libgcrypt.m4.
Nov 13 2018, 3:38 AM
gniibe committed rT005e61e7c203: build: Update autogen.rc. (authored by gniibe).
build: Update autogen.rc.
Nov 13 2018, 3:38 AM
gniibe committed rE8ed48537de2b: gpgrt.m4: Don't support --with-*-prefix or SYSROOT. (authored by gniibe).
gpgrt.m4: Don't support --with-*-prefix or SYSROOT.
Nov 13 2018, 2:50 AM

Nov 12 2018

gniibe committed rM895176f42af3: Fix the previous commit. (authored by gniibe).
Fix the previous commit.
Nov 12 2018, 11:15 AM
gniibe committed rM60828a505a1c: build: Make gpgme.m4 use gpgrt-config with *.pc. (authored by gniibe).
build: Make gpgme.m4 use gpgrt-config with *.pc.
Nov 12 2018, 2:05 AM
gniibe committed rMa76e145a1057: build: Provide gpgme-glib.pc too. (authored by gniibe).
build: Provide gpgme-glib.pc too.
Nov 12 2018, 2:05 AM
gniibe committed rMf3e60521899e: build: Provide gpgme.pc, generated by configure. (authored by gniibe).
build: Provide gpgme.pc, generated by configure.
Nov 12 2018, 1:25 AM

Nov 8 2018

gniibe committed rTac406d38e49d: ntbtls-cli: Use union to access hostent addr. (authored by gniibe).
ntbtls-cli: Use union to access hostent addr.
Nov 8 2018, 10:55 PM
gniibe committed rG69930f6884a9: gpgcompose: Fix --sk-esk. (authored by gniibe).
gpgcompose: Fix --sk-esk.
Nov 8 2018, 12:58 PM
gniibe committed rAea69c7126ff2: socket: Use union for sockaddr access. (authored by gniibe).
socket: Use union for sockaddr access.
Nov 8 2018, 11:17 AM
gniibe committed rPTH377c1b91e67a: w32: Use cast by uintptr_t for thread ID. (authored by gniibe).
w32: Use cast by uintptr_t for thread ID.
Nov 8 2018, 5:39 AM
gniibe committed rG7fc3decc2e03: g10: Fix log_debug formatting. (authored by gniibe).
g10: Fix log_debug formatting.
Nov 8 2018, 4:24 AM
gniibe committed rK3f5dcb5ff672: Add annotation for fall through path. (authored by gniibe).
Add annotation for fall through path.
Nov 8 2018, 3:40 AM
gniibe updated the task description for T4245: 2019: Use of gpg-error-config scrypt (symbolic link) for {libassuan,libksba,npth,libgcrypt,ntbtls,gpgme}-config.
Nov 8 2018, 3:01 AM
gniibe changed the status of T4239: Should gpgrt-config have default LIBDIR definition in the script? from Open to Testing.

So far, so good.

Nov 8 2018, 3:00 AM · gpgrt
gniibe updated the task description for T4245: 2019: Use of gpg-error-config scrypt (symbolic link) for {libassuan,libksba,npth,libgcrypt,ntbtls,gpgme}-config.
Nov 8 2018, 2:55 AM
gniibe updated the task description for T4245: 2019: Use of gpg-error-config scrypt (symbolic link) for {libassuan,libksba,npth,libgcrypt,ntbtls,gpgme}-config.
Nov 8 2018, 2:52 AM
gniibe created T4245: 2019: Use of gpg-error-config scrypt (symbolic link) for {libassuan,libksba,npth,libgcrypt,ntbtls,gpgme}-config.
Nov 8 2018, 2:50 AM

Nov 7 2018

gniibe committed rEb39b44b9acbe: Fix a typo. (authored by gniibe).
Fix a typo.
Nov 7 2018, 10:53 AM
gniibe closed T4169: --skip-hidden-recipients broken as Resolved.
Nov 7 2018, 9:22 AM
gniibe created T4244: Better enum_secret_keys by asking gpg-agent KEYINFO --list.
Nov 7 2018, 9:21 AM · Restricted Project, gnupg
gniibe added a comment to T4169: --skip-hidden-recipients broken.

I think that it's good to rewrite enum_secret_keys in g10/skclist.c.

Nov 7 2018, 9:19 AM
gniibe added a comment to T4169: --skip-hidden-recipients broken.

The bug is gone by rG79f165d7a8bc: gpg: Make --skip-hidden-recipients work again..

Nov 7 2018, 9:06 AM

Nov 6 2018

gniibe committed rG01b77ebbb71d: g10: Fix print_keygrip for smartcard. (authored by gniibe).
g10: Fix print_keygrip for smartcard.
Nov 6 2018, 7:37 AM
gniibe committed rG627839ea88da: g10: Fix print_keygrip for smartcard. (authored by gniibe).
g10: Fix print_keygrip for smartcard.
Nov 6 2018, 7:33 AM
gniibe added a comment to D470: Use intptr_t for file/pid handle on Windows.

Here are warnings:

Nov 6 2018, 4:51 AM
gniibe added a comment to D470: Use intptr_t for file/pid handle on Windows.

If we can assume C99, we have the type.
I know, it is not guaranteed to be enough size. For particular host (Windows 64-bit), it works.

Nov 6 2018, 3:27 AM
gniibe created D470: Use intptr_t for file/pid handle on Windows.
Nov 6 2018, 3:26 AM

Nov 2 2018

gniibe committed rCa2e0cb154281: aarch64: mpi: Distribute the header file as a part of source. (authored by gniibe).
aarch64: mpi: Distribute the header file as a part of source.
Nov 2 2018, 11:40 AM
gniibe committed rCf7395338d71d: build: Fix GCRYPT_HWF_MODULES. (authored by gniibe).
build: Fix GCRYPT_HWF_MODULES.
Nov 2 2018, 5:55 AM
gniibe committed rG8e84efbe3563: build: Update *.m4 from libraries. (authored by gniibe).
build: Update *.m4 from libraries.
Nov 2 2018, 5:11 AM
gniibe committed rA50ed4f7d5b68: build: Update gpg-error.m4 and libassuan.m4. (authored by gniibe).
build: Update gpg-error.m4 and libassuan.m4.
Nov 2 2018, 4:38 AM
gniibe committed rT4b7c6a91f56c: build: Update *.m4 files. (authored by gniibe).
build: Update *.m4 files.
Nov 2 2018, 4:33 AM
gniibe committed rPTHf8ceac80d970: npth.m4: Emit message when using gpgrt-config. (authored by gniibe).
npth.m4: Emit message when using gpgrt-config.
Nov 2 2018, 4:31 AM
gniibe committed rCf46286851158: build: Update gpg-error.m4 and libgcrypt.m4. (authored by gniibe).
build: Update gpg-error.m4 and libgcrypt.m4.
Nov 2 2018, 4:25 AM
gniibe committed rK5a7c0d8667ce: build: Update gpg-error.m4 and ksba.m4. (authored by gniibe).
build: Update gpg-error.m4 and ksba.m4.
Nov 2 2018, 4:25 AM
gniibe committed rE42413de59a06: gpg-error.m4: Emit message when using gpgrt-config. (authored by gniibe).
gpg-error.m4: Emit message when using gpgrt-config.
Nov 2 2018, 4:19 AM
gniibe committed rE78af09ce1396: gpgrt-config: Don't support variable reference in --libdir option. (authored by gniibe).
gpgrt-config: Don't support variable reference in --libdir option.
Nov 2 2018, 4:19 AM
gniibe committed rE7ffd88b0e98a: gpg-error.m4: Find gpgrt_libdir by CC. (authored by gniibe).
gpg-error.m4: Find gpgrt_libdir by CC.
Nov 2 2018, 4:19 AM
gniibe updated the task description for T4239: Should gpgrt-config have default LIBDIR definition in the script?.
Nov 2 2018, 1:58 AM · gpgrt
gniibe added a comment to T4239: Should gpgrt-config have default LIBDIR definition in the script?.

To avoid the drawback, we can put the logic of locating possible libdir in gpg-error.m4, instead of putting in the script.

Nov 2 2018, 1:57 AM · gpgrt

Nov 1 2018

gniibe created T4239: Should gpgrt-config have default LIBDIR definition in the script?.
Nov 1 2018, 5:15 AM · gpgrt
gniibe committed rE8f034bb3a1bb: gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work. (authored by gniibe).
gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work.
Nov 1 2018, 4:14 AM
gniibe committed rE998313bd321a: gpgrt-config: It's distributed script. (authored by gniibe).
gpgrt-config: It's distributed script.
Nov 1 2018, 3:15 AM

Oct 31 2018

gniibe committed rE2e9ee747ac81: gpgrt-config: Fix typo in the script. (authored by gniibe).
gpgrt-config: Fix typo in the script.
Oct 31 2018, 8:58 AM
gniibe committed rGfd7aee6a9713: build: Update *.m4 from libraries. (authored by gniibe).
build: Update *.m4 from libraries.
Oct 31 2018, 12:28 AM

Oct 30 2018

gniibe committed rC0216418ab23a: libgcrypt.m4: Update from master. (authored by gniibe).
libgcrypt.m4: Update from master.
Oct 30 2018, 4:14 AM
gniibe committed rC813b002eaf30: libgrypt.pc: Provide pkg-config file. (authored by gniibe).
libgrypt.pc: Provide pkg-config file.
Oct 30 2018, 4:08 AM

Oct 29 2018

gniibe added a comment to T3982: libgcrypt.m4 is not multilib friendly.

IIUC, in Gentoo multilib (or other distributions), <triplent>-{gpg-error,libgcrypt,libassuan,npth,libksba,npth}-config script is used.
In forthcoming libgpg-error 1.33, single gpgrt-config is used for all architecture, by having --libdir option at invocation time.

Oct 29 2018, 6:04 AM · libgcrypt, Bug Report
gniibe changed the status of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config from Open to Testing.

New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.

Oct 29 2018, 5:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support from Open to Testing.

I decided to change gpgrt-config to have --libdir option.
By supplying libdir directly, it's no need anymore to detect the directory by CC variable.
gpg-error.m4 is also updated.

Oct 29 2018, 5:50 AM · gpgrt
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, from Open to Testing.
Oct 29 2018, 5:50 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe committed rK9917a23a6c81: build: Update gpg-error.m4 and ksba.m4. (authored by gniibe).
build: Update gpg-error.m4 and ksba.m4.
Oct 29 2018, 4:58 AM
gniibe committed rT6b4fb70b94c7: build: Update *.m4 files. (authored by gniibe).
build: Update *.m4 files.
Oct 29 2018, 4:54 AM
gniibe committed rC4a4d4a284ca9: build: Update gpg-error.m4 and ksba.m4. (authored by gniibe).
build: Update gpg-error.m4 and ksba.m4.
Oct 29 2018, 4:53 AM
gniibe committed rPTHa41676fb87ed: npth.m4: Assume new gpgrt-config. (authored by gniibe).
npth.m4: Assume new gpgrt-config.
Oct 29 2018, 4:51 AM