gniibe (NIIBE Yutaka)Administrator
User

Projects (6)

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Mar 27 2017, 4:47 PM (112 w, 5 h)
Roles
Administrator
Availability
Available

Recent Activity

Today

gniibe added a comment to E457: Weekly Standup.

Last week (major decision for TTXS, and minor fixes for GnuPG):

This week:

  • TTXS: implement and build test environment for CCID on serial (GemPC Twin smart card reader protocol)
  • (FYI) FST-01SZ shipment to Free Software Foundation, for its online shop.
Mon, May 20, 2:26 AM
gniibe is attending E457: Weekly Standup.
Mon, May 20, 2:13 AM
gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

When having a backup media, I'd recommend completely different one (for example, on paper using paperkey to be stored in a locker in basement), which requires different method for recovering. Brains may be easily confused when same private key material exists in multiple similar devices.

Mon, May 20, 2:12 AM · gnupg, scd, Bug Report

Fri, May 17

gniibe lowered the priority of T4301: Handling multiple subkeys on two SmartCards from Normal to Low.

@blades: This feature will be available in GnuPG 2.3, which is planed to be released this year.
For Debian, Buster will come with GnuPG 2.2.12. After release of GnuPG 2.3, backport might be available (like GnuPG 2.2.x is available as backport for Stretch).

Fri, May 17, 2:00 AM · gnupg, scd, Bug Report

Thu, May 16

gniibe merged task T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) into T4301: Handling multiple subkeys on two SmartCards.
Thu, May 16, 9:26 AM · gnupg, Feature Request
gniibe merged T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) into T4301: Handling multiple subkeys on two SmartCards.
Thu, May 16, 9:26 AM · gnupg, scd, Bug Report
gniibe changed the status of T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) from Open to Testing.

Feature supported in master.

Thu, May 16, 9:26 AM · gnupg, Feature Request
gniibe changed the status of T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys), a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Thu, May 16, 9:26 AM · gnupg, Feature Request
gniibe edited projects for T4301: Handling multiple subkeys on two SmartCards, added: scd, gnupg; removed Info Needed.
Thu, May 16, 9:22 AM · gnupg, scd, Bug Report
gniibe abandoned D451: agent: Fix S2K calibration..
Thu, May 16, 9:20 AM
gniibe commandeered D451: agent: Fix S2K calibration..

The change is adopted. To close this patch, I take over.

Thu, May 16, 9:19 AM
gniibe committed rGdc35b25195e5: agent,scd: Scan and load all public keys for availability. (authored by gniibe).
agent,scd: Scan and load all public keys for availability.
Thu, May 16, 3:11 AM
gniibe changed the status of T4301: Handling multiple subkeys on two SmartCards from Open to Testing.
Thu, May 16, 1:58 AM · gnupg, scd, Bug Report

Wed, May 15

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

It's complicated to have a good solution, because we need to change assumption (serial number identifies keys).

Wed, May 15, 10:20 AM · gnupg, scd, Bug Report
gniibe committed rG1091f22511e1: agent: Support scdaemon operation using KEYGRIP. (authored by gniibe).
agent: Support scdaemon operation using KEYGRIP.
Wed, May 15, 10:15 AM
gniibe added a commit to T4301: Handling multiple subkeys on two SmartCards: rG1091f22511e1: agent: Support scdaemon operation using KEYGRIP..
Wed, May 15, 10:15 AM · gnupg, scd, Bug Report
gniibe added a commit to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): rG1091f22511e1: agent: Support scdaemon operation using KEYGRIP..
Wed, May 15, 10:15 AM · gnupg, Feature Request
gniibe committed rG01730529f208: scd: Don't put newline at the end of status. (authored by gniibe).
scd: Don't put newline at the end of status.
Wed, May 15, 10:15 AM
gniibe committed rG62c29af63203: scd: Fix return value for KEYINFO command. (authored by gniibe).
scd: Fix return value for KEYINFO command.
Wed, May 15, 8:46 AM
gniibe committed rPTH575573b5b63e: Limit exposing rwlock API on GNU/Linux. (authored by gniibe).
Limit exposing rwlock API on GNU/Linux.
Wed, May 15, 7:20 AM
gniibe added a commit to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc: rPTH575573b5b63e: Limit exposing rwlock API on GNU/Linux..
Wed, May 15, 7:20 AM · npth, Bug Report
gniibe changed the status of T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Open to Testing.

While I think that building with GCC 4 on Solaris 11/12 is minor issue, requirement of newer POSIX API (on GNU/Linux) would be a bit serious issue.
I pushed my change to fix this.

Wed, May 15, 3:12 AM · npth, Bug Report

Tue, May 14

gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

While original npth-1.9 can be compiled with newer gcc (>= 5), we'd say please use CFLAGS+=-std=gnu99 with older gcc, as workaround.

Tue, May 14, 8:08 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

I figured out:

  • Removing -D_POSIX_C_SOURCE=200112L works both of gcc 4.9 and gcc 5.5 on Solaris 11.3.
  • Then, adding -D_XOPEN_SOURCE=500, gcc 4.9 works, but gcc 5.5 failed by another error (Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications)
    • I confirmed gcc 5.5 defaults to -std=gnu99
Tue, May 14, 8:05 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

Thanks for your offer. I have an account for GCC Compiler Farm. I'm trying with gcc211 machine. will back soon.

Tue, May 14, 7:39 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like somewhat complicated more. It seems that specifying _POSIX_C_SOURCE=200112L is not good on Solaris with old GCC. Perhaps, it would have no problem with newer gcc (or -std=gnu99 option).

Tue, May 14, 7:30 AM · npth, Bug Report
gniibe claimed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

IIUC, -std=c99 won't solve this issue. It is Solaris specific C99 issue.

Tue, May 14, 5:13 AM · npth, Bug Report
gniibe committed rEbdb9561a366f: tests: Fix a memory leak. (authored by gniibe).
tests: Fix a memory leak.
Tue, May 14, 4:46 AM
gniibe added a commit to T4498: Asan findings in tests/t-logging.c: rEbdb9561a366f: tests: Fix a memory leak..
Tue, May 14, 4:46 AM · gpgrt
gniibe claimed T4498: Asan findings in tests/t-logging.c.

Thanks for your report.
Let me handle issue by issue.

Tue, May 14, 4:42 AM · gpgrt
gniibe changed the status of T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer..." from Open to Testing.

Thanks for your report.

Tue, May 14, 4:27 AM · gnupg
gniibe committed rG802a2aa300ba: g10: Fix possible null dereference. (authored by gniibe).
g10: Fix possible null dereference.
Tue, May 14, 4:26 AM
gniibe added a commit to T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer...": rG802a2aa300ba: g10: Fix possible null dereference..
Tue, May 14, 4:26 AM · gnupg
gniibe committed rG5b22d2c40089: g10: Fix possible null dereference. (authored by gniibe).
g10: Fix possible null dereference.
Tue, May 14, 4:25 AM
gniibe added a commit to T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer...": rG5b22d2c40089: g10: Fix possible null dereference..
Tue, May 14, 4:25 AM · gnupg
gniibe committed rGcf73c82e95f9: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
Tue, May 14, 1:58 AM
gniibe added a commit to T4504: Asan findings in iconv configure test causing config failure: rGcf73c82e95f9: build: Update m4/iconv.m4..
Tue, May 14, 1:58 AM · gpgrt, gnupg

Mon, May 13

gniibe committed rP42c32e08d5a4: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
Mon, May 13, 10:51 AM
gniibe added a commit to T4504: Asan findings in iconv configure test causing config failure: rP42c32e08d5a4: build: Update m4/iconv.m4..
Mon, May 13, 10:51 AM · gpgrt, gnupg
gniibe committed rGPA1cb82dcfcea4: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
Mon, May 13, 10:13 AM
gniibe added a commit to T4504: Asan findings in iconv configure test causing config failure: rGPA1cb82dcfcea4: build: Update m4/iconv.m4..
Mon, May 13, 10:13 AM · gpgrt, gnupg
gniibe committed rE07b1b3be1798: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
Mon, May 13, 9:32 AM
gniibe added a commit to T4504: Asan findings in iconv configure test causing config failure: rE07b1b3be1798: build: Update m4/iconv.m4..
Mon, May 13, 9:32 AM · gpgrt, gnupg
gniibe claimed T4397: GPG Error - version >= 1.25... no.

It is because you don't have ${prefix}/bin in your PATH.
Please build having /var/tmp/bin in your PATH.

Mon, May 13, 8:35 AM · gpgrt, Bug Report
gniibe added a project to T4504: Asan findings in iconv configure test causing config failure: gpgrt.
Mon, May 13, 8:17 AM · gpgrt, gnupg
gniibe committed rG1cd2aca03b88: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
Mon, May 13, 8:17 AM
gniibe added a commit to T4504: Asan findings in iconv configure test causing config failure: rG1cd2aca03b88: build: Update m4/iconv.m4..
Mon, May 13, 8:17 AM · gpgrt, gnupg
gniibe claimed T4504: Asan findings in iconv configure test causing config failure.

Thanks for your report.

Mon, May 13, 8:05 AM · gpgrt, gnupg
gniibe added a comment to E455: Weekly Standup.

Last week:

  • TTXS 0.0 released
  • Chopstx USB driver API
    • Finally, I realized that a practice of STM32F103 having a gate for D+ is questionable (it was kept by confusion, in my opinion).
      • I was able to understand by comparing modern MCUs (like STM32L432 and Kinetis L, which require no external hardware).

This week:

  • Chopstx new release
  • gpg-agent change using KEYLIST --list
  • Learning about PC/SC-lite serial driver support
Mon, May 13, 6:11 AM
gniibe is attending E455: Weekly Standup.
Mon, May 13, 6:07 AM

Tue, May 7

gniibe committed rGc856ee7312c9: scd: Support direct use of app with PKSIGN/PKAUTH/PKDECRYPT. (authored by gniibe).
scd: Support direct use of app with PKSIGN/PKAUTH/PKDECRYPT.
Tue, May 7, 2:54 AM

Mon, May 6

gniibe added a comment to E454: Weekly Standup.

Last week:

Mon, May 6, 9:50 AM
gniibe is attending E454: Weekly Standup.
Mon, May 6, 9:44 AM

Sun, Apr 28

gniibe added a comment to E453: Weekly Standup.

These Three Weeks

  • TTXS: Works well
  • operation by keygrip: scdaemon part looks OK
    • scdaemon: Added: KEYINFO [--list] command
    • scdaemon: Testing PK* command with <40-char-keyid-which-is-considered-KEYGRIP>
  • Bug fixes, including:
    • GNU AWK 5.0 support: libgpg-error, gnupg
    • Japanese Translation

This week

  • mostly off
  • consider about using scdaemon's KEYGRIP operation by gpg-agent
Sun, Apr 28, 11:49 PM
gniibe is attending E453: Weekly Standup.
Sun, Apr 28, 11:40 PM

Fri, Apr 26

gniibe closed T4469: libgpg-error build issue: error: redefinition of 'msgstr' as Invalid.
Fri, Apr 26, 8:06 AM · Bug Report
gniibe committed rG93a1b2f9f487: scd: Support direct use of app for PKAUTH and PKDECIPHER. (authored by gniibe).
scd: Support direct use of app for PKAUTH and PKDECIPHER.
Fri, Apr 26, 4:16 AM
gniibe committed rGc2da86bbf1f7: scd: Support direct use of app with PKSIGN. (authored by gniibe).
scd: Support direct use of app with PKSIGN.
Fri, Apr 26, 4:04 AM

Thu, Apr 25

gniibe committed rG874bc970ba6e: scd: Add new command: KEYINFO. (authored by gniibe).
scd: Add new command: KEYINFO.
Thu, Apr 25, 7:54 AM

Tue, Apr 23

gniibe committed rGd5443b918dd3: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Tue, Apr 23, 6:14 AM
gniibe committed rGcaa61fb7da6b: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Tue, Apr 23, 5:55 AM
gniibe committed rGe769609cd3c1: scd: Allow KEYGRIP as KEYIDSTR. (authored by gniibe).
scd: Allow KEYGRIP as KEYIDSTR.
Tue, Apr 23, 3:56 AM

Mon, Apr 22

gniibe committed rGb0f0791e4ade: scd: Factor out a function to check keyidstr. (authored by gniibe).
scd: Factor out a function to check keyidstr.
Mon, Apr 22, 1:44 PM
gniibe claimed T4469: libgpg-error build issue: error: redefinition of 'msgstr'.
Mon, Apr 22, 4:27 AM · Bug Report
gniibe added a comment to T4469: libgpg-error build issue: error: redefinition of 'msgstr'.

The patch touches src/Makefile.am. You need to run automake to update src/Makefile.in.
In the patch, it uses pkg_namespace variable to have prefix 'errnos_'.

Mon, Apr 22, 4:27 AM · Bug Report

Apr 19 2019

gniibe committed rM7673ef795348: core: Fix duplication of close_notify_handler for gpgsm. (authored by gniibe).
core: Fix duplication of close_notify_handler for gpgsm.
Apr 19 2019, 8:04 AM
gniibe added a commit to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0: rM7673ef795348: core: Fix duplication of close_notify_handler for gpgsm..
Apr 19 2019, 8:04 AM · gpgme, Bug Report
gniibe committed rM814f6c8de800: core: Fix error return. (authored by gniibe).
core: Fix error return.
Apr 19 2019, 8:04 AM
gniibe claimed T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.
Apr 19 2019, 8:02 AM · gpgme, Bug Report
gniibe changed the status of T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0 from Open to Testing.

I think I identified the bug. A fix is pushed.

Apr 19 2019, 8:02 AM · gpgme, Bug Report
gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Before the SEGV, calling a handler in _gpgme_io_close is strange:

GPGME 2019-04-11 12:24:58 <0x660e>        _gpgme_io_close: check: fd=0x22 invoking close handler 0x7f341d8b8960/0x7f33f0003930

Because the file descriptor 0x21 and 0x22 is allocated by _gpgme_io_pipe, and there should be no handler(s) for those fds.
Either, the notify_table is screwed up, or there is a leak of fds.
I'd like to see the logs of all calls of _gpgme_io_set_close_notify and _gpgme_io_close.

Apr 19 2019, 7:23 AM · gpgme, Bug Report
gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Sorry, I overlooked. I think it is inside _gpgme_io_close calling the handler, and the handler segfaults.

Apr 19 2019, 6:05 AM · gpgme, Bug Report

Apr 18 2019

gniibe added a comment to T4456: gpgme repeatedly segfaults claws-mail after update to 1.13.0.

Apparently, it SEGV-ted itself by assert at line 468 in gpgme/src/engine.c.
For GpgSM, info->file_name is not assigned (while it is done by gpg and gpgconf).
The code hasn't been changed for a while, I don't know the exact reason why it becomes occur.

Apr 18 2019, 5:14 AM · gpgme, Bug Report

Apr 17 2019

gniibe changed the status of T4461: Memory leak in read_block from Open to Testing.
Apr 17 2019, 3:02 AM · Bug Report
gniibe committed rGa861f9343d6e: g10: Fix a memory leak. (authored by gniibe).
g10: Fix a memory leak.
Apr 17 2019, 3:02 AM
gniibe added a commit to T4461: Memory leak in read_block: rGa861f9343d6e: g10: Fix a memory leak..
Apr 17 2019, 3:02 AM · Bug Report
gniibe added a comment to T4461: Memory leak in read_block.

I think that the bug has been there. The commits of import.c revealed the problem with your particular input.

Apr 17 2019, 3:01 AM · Bug Report
gniibe claimed T4461: Memory leak in read_block.

Thanks for your report. It was good you add "enter no passphrase for Alfa Test Key". Then, I saw the leak. (I misunderstood as if I needed the test environment.)
Anyway, I'm going to fix it now.

Apr 17 2019, 2:46 AM · Bug Report

Apr 16 2019

SHAGO79 awarded rE7933692f2e60: build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2). a Love token.
Apr 16 2019, 10:54 AM
gniibe changed the status of T4459: libgpg-error build issue with gawk 5.0.0 from Open to Testing.

Added a fix to GnuPG, too (master and stable 2.2).

Apr 16 2019, 8:29 AM · Gentoo, gpgrt, MacOS, Bug Report
gniibe committed rGee766b2b5d64: common: Fix AWK portability. (authored by gniibe).
common: Fix AWK portability.
Apr 16 2019, 6:29 AM
gniibe committed rGb6f0b0efa19e: common: Fix AWK portability. (authored by gniibe).
common: Fix AWK portability.
Apr 16 2019, 6:28 AM
gniibe added a comment to T4459: libgpg-error build issue with gawk 5.0.0.

I keep this ticket open, since it is also problem for other packages.

Apr 16 2019, 6:21 AM · Gentoo, gpgrt, MacOS, Bug Report

Apr 15 2019

gniibe committed rE7865041c77f4: awk: Prepare for Gawk 5.0. (authored by gniibe).
awk: Prepare for Gawk 5.0.
Apr 15 2019, 8:55 AM
gniibe added a commit to T4459: libgpg-error build issue with gawk 5.0.0: rE7865041c77f4: awk: Prepare for Gawk 5.0..
Apr 15 2019, 8:55 AM · Gentoo, gpgrt, MacOS, Bug Report
gniibe claimed T4459: libgpg-error build issue with gawk 5.0.0.
Apr 15 2019, 6:40 AM · Gentoo, gpgrt, MacOS, Bug Report

Apr 8 2019

gniibe closed T4415: Does not build using gcc 9 as Invalid.

For what I use, please refer: https://tracker.debian.org/pkg/gcc-9

Apr 8 2019, 11:57 PM · Info Needed, toolchain, Bug Report
gniibe added a comment to E449: Weekly Standup.

Today's topic:

  • I realized that: Even for experiment/debug purpose, having VID:PID is useful
  • In many cases, configuration of access control is done based on VID:PID
  • Ask FSIJ to assign PID for TTXS
Apr 8 2019, 7:05 AM
gniibe is attending E449: Weekly Standup.
Apr 8 2019, 6:54 AM

Apr 6 2019

gniibe added a project to T4415: Does not build using gcc 9: Info Needed.
Apr 6 2019, 3:58 AM · Info Needed, toolchain, Bug Report
gniibe added a comment to T4415: Does not build using gcc 9.

@kloczek , it is not reproducible for us, so, we consider it may be a problem other than GnuPG itself, possibly, some specific build configuration parameter(s) for GCC, or something by unreleased code.
Please file a report with how to reproduce your problem.

Apr 6 2019, 3:57 AM · Info Needed, toolchain, Bug Report

Apr 4 2019

gniibe committed rGf1cf799a37f3: scd: Better handling of timeout and time extension. (authored by gniibe).
scd: Better handling of timeout and time extension.
Apr 4 2019, 9:02 AM

Apr 1 2019

gniibe added a comment to E446: Weekly Standup.

Busy working/struggling for TTXS.

Apr 1 2019, 9:53 AM
gniibe is attending E446: Weekly Standup.
Apr 1 2019, 9:49 AM

Mar 27 2019

gniibe committed rG2f455d18ab99: gpg: Don't use EdDSA algo ID for ECDSA curves. (authored by Trevor Bentley <trevor@yubico.com>).
gpg: Don't use EdDSA algo ID for ECDSA curves.
Mar 27 2019, 3:11 AM
gniibe committed rG4324560b2c0b: gpg: Don't use EdDSA algo ID for ECDSA curves. (authored by Trevor Bentley <trevor@yubico.com>).
gpg: Don't use EdDSA algo ID for ECDSA curves.
Mar 27 2019, 3:08 AM

Mar 25 2019

gniibe committed rG8d1b5982138c: libdns: Don't use _[A-Z] which are reserved names. (authored by gniibe).
libdns: Don't use _[A-Z] which are reserved names.
Mar 25 2019, 11:43 AM
gniibe added a commit to T4420: gnupg-2.2.14: Compilation failure on OpenIndiana: rG8d1b5982138c: libdns: Don't use _[A-Z] which are reserved names..
Mar 25 2019, 11:43 AM · Solaris, gnupg (gpg22), Bug Report
gniibe claimed T4420: gnupg-2.2.14: Compilation failure on OpenIndiana.
Mar 25 2019, 11:16 AM · Solaris, gnupg (gpg22), Bug Report
gniibe added a comment to E445: Weekly Standup.
Mar 25 2019, 4:11 AM