Page MenuHome GnuPG
Feed Advanced Search

Jan 25 2019

gniibe committed rG1f8817475f59: dirmngr: Fix initialization of assuan's nPth hook. (authored by gniibe).
dirmngr: Fix initialization of assuan's nPth hook.
Jan 25 2019, 3:38 AM
gniibe created T4340: gpg-agent should support clearing passphrase cache for SSH.
Jan 25 2019, 1:04 AM · gpgagent

Jan 24 2019

gniibe created T4339: Qt5 application doesn't support -display any more.
Jan 24 2019, 4:02 AM · qt, pinentry, Stalled, Bug Report

Jan 23 2019

gniibe committed rE8a9397896fd2: gpgscm: Build well even if NDEBUG defined. (authored by gniibe).
gpgscm: Build well even if NDEBUG defined.
Jan 23 2019, 8:50 AM
gniibe committed rPTH223e59f992f9: build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t. (authored by gniibe).
build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t.
Jan 23 2019, 5:09 AM
gniibe committed rGfec75a3868da: scd: Support PASSWD --clear for OpenPGP card. (authored by gniibe).
scd: Support PASSWD --clear for OpenPGP card.
Jan 23 2019, 4:17 AM
gniibe closed T4306: nPth fails to compile as Resolved.
Jan 23 2019, 3:27 AM · npth, Bug Report
gniibe closed T4308: scdaemon does not survive suspend/resume with Yubikey4 as Resolved.

Thank you. I was waiting your feedback.

Jan 23 2019, 2:11 AM · yubikey, Bug Report

Jan 22 2019

gniibe added a comment to rG29929e655212: scd: Add option --clear to PASSWD..

OK, I will add for OpenPGPcard 3.1 or later.

Jan 22 2019, 8:00 AM
gniibe added a comment to rG29929e655212: scd: Add option --clear to PASSWD..

OpenPGPcard 3.1 or later supports clearing authentication status or examining the status.
The problem is that implementations don't use version number for available features.
Specifically, Gnuk keeps using version 2.0 in application ID, and only supports specific features of 3.3.

Jan 22 2019, 5:38 AM

Jan 17 2019

gniibe added a comment to T4303: scheme.c:875:33: error: expected ‘;’ before ‘abort’.

BTW, did you manually define -DNDEBUG, or what caused -DNDEBUG?

Jan 17 2019, 1:15 PM · Bug Report
gniibe committed rTf27c17396c9e: Remove duplicated typedefs. (authored by gniibe).
Remove duplicated typedefs.
Jan 17 2019, 5:38 AM
gniibe merged T4303: scheme.c:875:33: error: expected ‘;’ before ‘abort’ into T3959: Syntax errors in scheme.c.
Jan 17 2019, 4:41 AM · Bug Report
gniibe merged task T4303: scheme.c:875:33: error: expected ‘;’ before ‘abort’ into T3959: Syntax errors in scheme.c.
Jan 17 2019, 4:41 AM · Bug Report
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 closed T4305: NtbTLS fails to compile as Resolved.

It is fixed in master branch of the repo.

Jan 17 2019, 3:39 AM · Bug Report, ntbtls
gniibe claimed T4306: nPth fails to compile.

OK, it's a libc with no pthread_rwlock_t.

Jan 17 2019, 3:13 AM · npth, 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
gniibe closed T4324: "gpg-connect-agent updatestartuptty /bye" never returns with bash 5.0 as Invalid.

I think Bash 5.0 is in sid, not testing yet. Are you sure it's related to Bash 5.0? Is there any possibility your upgrading some other software causing this?

Jan 17 2019, 12:41 AM · Info Needed, Bug Report
gniibe committed rG9dc76d599cd4: scd: Fix for USB INTERRUPT transfer. (authored by gniibe).
scd: Fix for USB INTERRUPT transfer.
Jan 17 2019, 12:14 AM

Jan 16 2019

gniibe committed rA23bf87595432: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. (authored by gniibe).
build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Jan 16 2019, 6:30 AM
gniibe committed rK3f99f332ada6: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. (authored by gniibe).
build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Jan 16 2019, 4:25 AM
gniibe closed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) as Resolved.

Done for libassuan and libksba.

Jan 16 2019, 3:21 AM
gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): gpgme.

Done for gpgme.

Jan 16 2019, 3:03 AM
gniibe committed rM66bcb8acb245: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. (authored by gniibe).
build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Jan 16 2019, 3:02 AM
gniibe committed rGdafffa95b231: gpg: Report STATUS_NO_SECKEY when it is examined. (authored by gniibe).
gpg: Report STATUS_NO_SECKEY when it is examined.
Jan 16 2019, 2:38 AM

Jan 15 2019

gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): libgcrypt.

Done for libgcrypt.

Jan 15 2019, 8:53 AM
gniibe committed rCe5c2f8a2cd2b: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. (authored by gniibe).
build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Jan 15 2019, 8:18 AM
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
gniibe committed rC17f246c7044a: random: Fix previous commit for getentropy function. (authored by gniibe).
random: Fix previous commit for getentropy function.
Jan 15 2019, 7:50 AM
gniibe committed rEfd6f64f1897e: build: Fix for BSD make. (authored by gniibe).
build: Fix for BSD make.
Jan 15 2019, 7:31 AM
gniibe committed rC2677d7d482bf: random: Use getentropy when available for not GNU/Linux. (authored by gniibe).
random: Use getentropy when available for not GNU/Linux.
Jan 15 2019, 5:58 AM

Jan 10 2019

aheinecke awarded T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) a Like token.
Jan 10 2019, 7:35 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 (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 committed rE1fd997231b71: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2). (authored by gniibe).
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2).
Jan 10 2019, 2:33 AM
gniibe committed rE1044ee639dab: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2). (authored by gniibe).
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2).
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 committed rE5f9569ee181f: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2). (authored by gniibe).
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2).
Jan 8 2019, 2:47 AM
gniibe committed rE7933692f2e60: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2). (authored by gniibe).
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2).
Jan 8 2019, 2:47 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
gniibe committed rG5ab3bc422a5c: scd: Fix for USB INTERRUPT transfer. (authored by gniibe).
scd: Fix for USB INTERRUPT transfer.
Jan 7 2019, 6:30 AM
gniibe added a comment to T4308: scdaemon does not survive suspend/resume with Yubikey4.

Thanks a lot for your logs. I see what's going on here.
For some reason, Yubikey keeps running after failure by suspend/resume (perhaps, because it serves for multiple functionalities of USB HID for OTP, as well as CCID for OpenPGPcard).
This failure mode is not expected by the current implementation of scdaemon, under in-stock CCID driver.

Jan 7 2019, 6:06 AM · yubikey, Bug Report

Jan 4 2019

gniibe claimed T4308: scdaemon does not survive suspend/resume with Yubikey4.

The workaround in T3825 is for PC/SC driver. So, it is not the case for internal stock CCID driver.
'scd reset /bye' does not let the scdaemon do reset process of the card itself. It resets the transaction of scdaemon.

Jan 4 2019, 6:16 AM · yubikey, Bug Report

Dec 28 2018

gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

Please show us your output of gpg --card-status for each card, and tell us the reason why you think "the pgp db seems screwed up".

Dec 28 2018, 3:33 AM · Restricted Project, gnupg, scd, Bug Report
gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

For my test, six distinct keys (three subkeys for each smartcard) works fine.
IIUC, you try to use same decryption key by two smartcards. Currently, it is not supported.

Dec 28 2018, 3:13 AM · Restricted Project, gnupg, scd, Bug Report

Dec 27 2018

gniibe added a project to T4301: Handling multiple subkeys on two SmartCards: Info Needed.

Is it an issue when you share an decryption key E among two smartcards?
I think that when there are six distinct keys (three subkeys for one smartcard each), it works fine.
I'll try to make reproducible test case.

Dec 27 2018, 9:05 AM · Restricted Project, gnupg, scd, Bug Report
gniibe claimed T4301: Handling multiple subkeys on two SmartCards.
Dec 27 2018, 4:30 AM · Restricted Project, gnupg, scd, Bug Report

Dec 20 2018

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
gniibe added a parent task for T4273: agent: Request insertion of smartcard when no card present: T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).
Dec 20 2018, 12:59 AM · Feature Request, Documentation, gpgagent
gniibe added a subtask for T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): T4273: agent: Request insertion of smartcard when no card present.
Dec 20 2018, 12:59 AM · Restricted Project, Feature Request, gnupg
gniibe triaged T4273: agent: Request insertion of smartcard when no card present as Normal priority.
Dec 20 2018, 12:57 AM · Feature Request, Documentation, gpgagent

Dec 19 2018

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

Basically, you are right. In addition, gpg-agent asks scdaemon about list of card/token.

Dec 19 2018, 3:47 AM · Feature Request, Documentation, gpgagent
gniibe added a comment to T4273: agent: Request insertion of smartcard when no card present.

sshcontrol entry is required for non-smartcard keys, but not for keys on smartcard. This is intentional. For gpg-agent and current format, it is only the information for gpg-agent to know if a key is for SSH or not.

Dec 19 2018, 3:31 AM · Feature Request, Documentation, gpgagent
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 committed rC3028a221d39c: random: Add finalizer for rndjent. (authored by gniibe).
random: Add finalizer for rndjent.
Dec 19 2018, 2:58 AM
gniibe abandoned D461: jent random requires finalizer to deallocate secure memory.

Applied to master.

Dec 19 2018, 2:54 AM
gniibe removed a project from T4273: agent: Request insertion of smartcard when no card present: Windows.

I see your point. You are right. For SSH access, it just fails without asking insertion. It's not Windows specific.
I checked the change of history of gpg-agent, but I cannot find prompting insertion was supported.
So, I don't thin this is a regression.

Dec 19 2018, 2:52 AM · Feature Request, Documentation, gpgagent
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
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