Page MenuHome GnuPG
Feed Advanced Search

Dec 19 2018

gniibe added a comment to T4273: agent: Request insertion of smartcard when no card present.

Thanks for your information.
Hum, you are using gpg-agent for SSH access.

Dec 19 2018, 2:19 AM · Feature Request, Documentation, gpgagent
gniibe committed rG80a08b655f8f: agent: Fix message for ACK button. (authored by gniibe).
agent: Fix message for ACK button.
Dec 19 2018, 2:06 AM

Dec 18 2018

gniibe committed rGae9159e06850: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Dec 18 2018, 2:38 AM
gniibe committed rGffe31f405f9b: scd: Support "acknowledge button" feature. (authored by gniibe).
scd: Support "acknowledge button" feature.
Dec 18 2018, 2:32 AM
gniibe committed rGe6be36ee8854: agent: Support --ack option for POPUPPINPADPROMPT. (authored by gniibe).
agent: Support --ack option for POPUPPINPADPROMPT.
Dec 18 2018, 2:32 AM
gniibe committed rGe6b7e0ff9990: scd: Fix description string. (authored by gniibe).
scd: Fix description string.
Dec 18 2018, 2:29 AM

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
gniibe added a comment to T4280: gnupg doc doesn't build due to ImageMagick default policy.

It seems it's Ubuntu specific: https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563

Dec 17 2018, 10:57 AM · gnupg, Documentation, Info Needed, Bug Report
gniibe claimed T4225: Gpg4win - Yubikey failure after generating an OTP.

I think that all that we can do is to improve documentation.

Dec 17 2018, 9:33 AM · Documentation, Bug Report
gniibe added a comment to T4243: Test failure in libgcrypt-1.8.4.

Apparently, it's an error from your installed /usr/local/opt/libgpg-error/lib/libgpg-error.0.dylib (you have some configuration to prefer this library), while your configure is for /usr/local/lib (because you specify no --prefix).

Dec 17 2018, 9:31 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe edited projects for T4273: agent: Request insertion of smartcard when no card present, added: Info Needed; removed Feature Request.

Please let us know the version of GnuPG, the output of gpg --card-status when inserted, and how gpg is not working well, etc.

Dec 17 2018, 9:22 AM · Feature Request, Documentation, gpgagent
gniibe claimed T4273: agent: Request insertion of smartcard when no card present.

How scdaemon responds when there is no card available?

Dec 17 2018, 9:09 AM · Feature Request, Documentation, gpgagent
gniibe added a comment to T4288: Add getrandom support for the BSDs.

In FreeBSD, getrandom(3) became available, when getrandom(2) was added. <-- This is my theory.
If this is true, just use getrandom(3), not using getrandom(2) by syscall.

Dec 17 2018, 5:20 AM · libgcrypt
gniibe added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

It became common, because many people now use larger keys.
For RSA-4096, three simultaneous connections for decryption may cause the failure.
In the experimental patch of D472: Limit active connections for gpg-agent, I limit gpg-agent to accept two connections only.

Dec 17 2018, 5:08 AM · gnupg, gpgagent
gniibe updated the diff for D472: Limit active connections for gpg-agent.

increment the counter is better done by the looping main thread.

Dec 17 2018, 3:54 AM
gniibe added a comment to D472: Limit active connections for gpg-agent.

This is an experimental patch. So, I just reuse SIGUSR1 to wake up "select"-ing thread by kill(2).
I put limit-active-connections 2 in gpg-agent.conf for the test with run-threaded of gpgme.

Dec 17 2018, 2:48 AM
gniibe created D472: Limit active connections for gpg-agent.
Dec 17 2018, 2:46 AM

Dec 13 2018

gniibe closed T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN as Resolved.
Dec 13 2018, 3:44 PM · scd, gnupg (gpg22)
gniibe closed T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly as Resolved.
Dec 13 2018, 3:42 PM · ssh, gpgagent, Bug Report
gniibe closed T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support as Resolved.
Dec 13 2018, 3:38 PM · gpgrt
gniibe closed 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, as Resolved.
Dec 13 2018, 3:38 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Dec 12 2018

gniibe closed T3351: libgcrypt: t_secmem fails on system with large page size (ppc64) as Resolved.
Dec 12 2018, 7:27 AM · libgcrypt, Bug Report
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