Page MenuHome GnuPG
Feed Advanced Search

Feb 18 2019

gniibe added a comment to T4363: Availability of FST-01SZ in Europe.

Some of my terminology: I call "case", "shell", and "board".

Feb 18 2019, 9:27 AM · Verein
gniibe committed rG3cbdf896e691: sm: Support generation of card-based ed25519 CSR. (authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>).
sm: Support generation of card-based ed25519 CSR.
Feb 18 2019, 3:37 AM

Feb 15 2019

gniibe committed rG74e9b579ca27: sm: Support generation of card-based ECDSA CSR. (authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>).
sm: Support generation of card-based ECDSA CSR.
Feb 15 2019, 3:02 AM

Feb 14 2019

gniibe committed rK98882064f457: Support multi-valued signatures in CSRs. (authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>).
Support multi-valued signatures in CSRs.
Feb 14 2019, 2:32 AM

Feb 13 2019

gniibe accepted D451: agent: Fix S2K calibration..

Final fix was rG380bce13d94f: agent: Use clock or clock_gettime for calibration., with clock.
Closing this patch.

Feb 13 2019, 10:52 AM

Feb 12 2019

gniibe added a comment to T4363: Availability of FST-01SZ in Europe.

The metal case, I bought from here (it's expensive CNY3.00, for individuals): https://item.taobao.com/item.htm?id=550180089286

Feb 12 2019, 7:56 AM · Verein
gniibe added a comment to T4363: Availability of FST-01SZ in Europe.

For prototype, I used:

Feb 12 2019, 7:55 AM · Verein
gniibe triaged T4363: Availability of FST-01SZ in Europe as Wishlist priority.
Feb 12 2019, 7:51 AM · Verein
gniibe added a comment to T4363: Availability of FST-01SZ in Europe.
Feb 12 2019, 7:50 AM · Verein
gniibe created T4363: Availability of FST-01SZ in Europe.
Feb 12 2019, 7:29 AM · Verein

Feb 6 2019

gniibe committed rGc16685b2f502: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Feb 6 2019, 9:31 AM
gniibe committed rG9109bb9919f8: agent: Clear bogus pinentry cache, when it causes an error. (authored by gniibe).
agent: Clear bogus pinentry cache, when it causes an error.
Feb 6 2019, 9:31 AM
gniibe committed rG7f4c3eb0a039: dirmngr: Fix initialization of assuan's nPth hook. (authored by gniibe).
dirmngr: Fix initialization of assuan's nPth hook.
Feb 6 2019, 9:31 AM

Jan 28 2019

gniibe committed rG02a2633a7f0b: agent: Clear bogus pinentry cache, when it causes an error. (authored by gniibe).
agent: Clear bogus pinentry cache, when it causes an error.
Jan 28 2019, 5:04 AM
gniibe added a comment to T4348: When pinentry cache is used, gpg-agent should clear the cache if it failed at unprotect.

When bogus entry is "", the error is GPG_ERR_NO_PASSPHRASE, and user cannot input the passphrase.

Jan 28 2019, 4:55 AM · gpgagent
gniibe added a comment to T4348: When pinentry cache is used, gpg-agent should clear the cache if it failed at unprotect.

Confirmed that manually created entry in gnome-keyring-daemon causes trouble.

Jan 28 2019, 4:52 AM · gpgagent

Jan 26 2019

gniibe created T4348: When pinentry cache is used, gpg-agent should clear the cache if it failed at unprotect.
Jan 26 2019, 2:46 PM · gpgagent

Jan 25 2019

werner awarded rA5e48116051a4: socks5: Implement timeout to detect bogus service. a Cup of Joe token.
Jan 25 2019, 7:36 AM
gniibe committed rA5e48116051a4: socks5: Implement timeout to detect bogus service. (authored by gniibe).
socks5: Implement timeout to detect bogus service.
Jan 25 2019, 4:23 AM
gniibe changed the status of T4340: gpg-agent should support clearing passphrase cache for SSH from Open to Testing.
Jan 25 2019, 4:10 AM · gpgagent
gniibe added a comment to T4340: gpg-agent should support clearing passphrase cache for SSH.

Since there is --mode=normal option, it should be --mode=ssh.

Jan 25 2019, 4:10 AM · gpgagent
gniibe committed rGae966bbe9b16: agent: Support --mode=ssh option for CLEAR_PASSPHRASE. (authored by gniibe).
agent: Support --mode=ssh option for CLEAR_PASSPHRASE.
Jan 25 2019, 4:09 AM
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