gniibe (NIIBE Yutaka)Administrator
User

Projects (7)

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

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

Recent Activity

Today

gniibe added a comment to E550: Weekly Standup.

Last week:

  • Tokyo and suffered from train problem.
  • PC/SC
  • My own environment of Windows
    • Takes more than a day to move from 1803 to 1903
    • Configure use of USB
    • Now ready for tests as a guest OS under Debian host

This week:

  • Test new PC/SC on Windows
Mon, Sep 16, 9:04 AM
gniibe is attending E550: Weekly Standup.
Mon, Sep 16, 8:59 AM

Thu, Sep 12

gniibe committed rGc569e49d1764: scd,pcsc: Remove the restriction of no-scanning in PC/SC. (authored by gniibe).
scd,pcsc: Remove the restriction of no-scanning in PC/SC.
Thu, Sep 12, 2:38 AM
gniibe committed rG980d0234d316: scd: Remove old fallback logic from CCID to PC/SC. (authored by gniibe).
scd: Remove old fallback logic from CCID to PC/SC.
Thu, Sep 12, 2:38 AM
gniibe committed rG6d750fe7fc42: scd,pcsc: Support "reader-port" option for PC/SC reader. (authored by gniibe).
scd,pcsc: Support "reader-port" option for PC/SC reader.
Thu, Sep 12, 2:38 AM

Wed, Sep 11

gniibe claimed T4620: no support for multiple (yubikey) smartcards plugged in at the same time.

I created a branch for this task: https://dev.gnupg.org/source/gnupg/repository/gniibe%252FT4620/

Wed, Sep 11, 4:39 AM · Bug Report
gniibe committed rG92be4e87eec9: scd,pcsc: Fix examining the list of readers. (authored by gniibe).
scd,pcsc: Fix examining the list of readers.
Wed, Sep 11, 4:06 AM
gniibe committed rG441106cdf0fd: scd,pcsc: Fix for initializing PC/SC. (authored by gniibe).
scd,pcsc: Fix for initializing PC/SC.
Wed, Sep 11, 4:06 AM
gniibe committed rG1080e91efd60: scd,pcsc: Use a single context. (authored by gniibe).
scd,pcsc: Use a single context.
Wed, Sep 11, 3:12 AM
gniibe committed rGe8534f899915: scd,pcsc: Support multiple card readers. (authored by gniibe).
scd,pcsc: Support multiple card readers.
Wed, Sep 11, 3:12 AM
gniibe committed rGf44aa290c136: scd: Clean up the structure for future fix of PC/SC. (authored by gniibe).
scd: Clean up the structure for future fix of PC/SC.
Wed, Sep 11, 3:12 AM

Mon, Sep 9

gniibe added a comment to E549: Weekly Standup.

I'm on the way to home (was in Tokyo with Christian's visiting Aoyama-Gakuin Univ.).
Not sure, I will be able to join on time.

Mon, Sep 9, 9:18 AM
gniibe is attending E549: Weekly Standup.
Mon, Sep 9, 9:14 AM

Fri, Sep 6

gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

Still there are two places where we use "SCD serialno --demand <SERIALNO>". One is g10/skclist.c where we list available keys, another is the funciton card_key_available in agent/command-ssh.c .

Fri, Sep 6, 1:41 AM · Feature Request, gnupg
gniibe lowered the priority of T4695: Remove SERIALNO as an identifier to select keys from Unbreak Now! to High.
Fri, Sep 6, 1:37 AM · Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

By the change of rG9f39e0167d06: agent: Fix ask_for_card to allow a key on multiple cards., the SERIALNO in the stub is just an auxiliary information, not identifying the card. Now, it is the keygrip for key to identify/select the card.

Fri, Sep 6, 1:37 AM · Feature Request, gnupg

Thu, Sep 5

gniibe committed rG9f39e0167d06: agent: Fix ask_for_card to allow a key on multiple cards. (authored by gniibe).
agent: Fix ask_for_card to allow a key on multiple cards.
Thu, Sep 5, 10:23 AM
gniibe added a commit to T4695: Remove SERIALNO as an identifier to select keys: rG9f39e0167d06: agent: Fix ask_for_card to allow a key on multiple cards..
Thu, Sep 5, 10:23 AM · Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

I did too many things at once.
I'm going to divide up into pieces.

Thu, Sep 5, 10:12 AM · Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

Thu, Sep 5, 8:04 AM · Feature Request, gnupg
gniibe created T4695: Remove SERIALNO as an identifier to select keys.
Thu, Sep 5, 8:04 AM · Feature Request, gnupg

Wed, Sep 4

clonedrad awarded T4583: pinentry-tty should accept backspace, delete, and ctrl-U a Mountain of Wealth token.
Wed, Sep 4, 3:21 PM · Bug Report
gniibe committed rEcb877252c4dc: gpgrt-config: Support Libs.private and Requires.private. (authored by gniibe).
gpgrt-config: Support Libs.private and Requires.private.
Wed, Sep 4, 11:19 AM

Mon, Sep 2

gniibe added a comment to E548: Weekly Standup.

Last week:

  • not much work other than responding private message for Poldi, to reporter of T4626
    • because of transition of summer vacation (school has been started and children complain ;-)
  • In theory, multiple card/token support is not that hard, I think, so
Mon, Sep 2, 9:39 AM
gniibe is attending E548: Weekly Standup.
Mon, Sep 2, 9:33 AM

Fri, Aug 30

gniibe added a comment to T4281: Backport smartcard support changes to 2.2.

For OpenPGP card v3.x, the data object is available, but it doesn't come with a button physically. So, I think it's no use.

Fri, Aug 30, 12:55 AM

Mon, Aug 26

gniibe added a comment to E532: Weekly Standup.

Last week:

This week:

  • bug fixes
  • Learn PC/SC thing for scdaemon to support multiple readers/tokens
  • Exercise with FPGA with SHA-2 implementation in verilog
    • I'm considering another device like NeuG standalone but with FPGA instead of MCU
Mon, Aug 26, 9:21 AM
gniibe is attending E532: Weekly Standup.
Mon, Aug 26, 9:09 AM

Fri, Aug 23

gniibe committed rE157b9f6fafb6: estream: Fix gpgrt_poll at EOF. (authored by gniibe).
estream: Fix gpgrt_poll at EOF.
Fri, Aug 23, 3:38 AM
gniibe committed rEab87480fc201: estream: Fix gpgrt_poll to prevent waiting indefinitely for others. (authored by gniibe).
estream: Fix gpgrt_poll to prevent waiting indefinitely for others.
Fri, Aug 23, 3:38 AM

Thu, Aug 22

gniibe committed rEfc1a7591bdcd: estream: Fix poll condition. (authored by gniibe).
estream: Fix poll condition.
Thu, Aug 22, 4:09 PM
gniibe committed rG6f760e6eb0e8: gpg: Factor export_ssh_key. (authored by gniibe).
gpg: Factor export_ssh_key.
Thu, Aug 22, 7:20 AM
gniibe committed rGe00e68135c01: dns: Fix irrelevant use of tmpfile. (authored by gniibe).
dns: Fix irrelevant use of tmpfile.
Thu, Aug 22, 5:55 AM
gniibe added a commit to T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open: rGe00e68135c01: dns: Fix irrelevant use of tmpfile..
Thu, Aug 22, 5:55 AM · dns, gnupg
gniibe closed T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open as Resolved.

Fixed in master.

Thu, Aug 22, 5:55 AM · dns, gnupg
gniibe added a comment to T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open.

This part of code is questionable. It always comes fp!=NULL, so the part should be removed.
If fp==NULL, use of tmpfile is quite questionable because a user can't know where the trace output goes.
I'm going to remove that part.

Thu, Aug 22, 5:54 AM · dns, gnupg
gniibe added a comment to T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported.

If it makes sense to warn a user for someone's preference when keys are imported,
here is a patch:

Thu, Aug 22, 4:49 AM · Bug Report, gnupg
gniibe added a comment to T4480: GPGSM: Duplicated IMPORT_OK status lines emitted.

It appears (for me) correct behavior.

Thu, Aug 22, 3:52 AM · S/MIME

Wed, Aug 21

gniibe committed rG6fae96094c97: scd: Fix check_application_conflict. (authored by gniibe).
scd: Fix check_application_conflict.
Wed, Aug 21, 5:44 AM
gniibe committed rG8dc19d35e854: scd: Fix selecting additional APP. (authored by gniibe).
scd: Fix selecting additional APP.
Wed, Aug 21, 5:02 AM
gniibe committed rG4781c4a86608: scd: Fix how select_additional_application is called. (authored by gniibe).
scd: Fix how select_additional_application is called.
Wed, Aug 21, 5:02 AM
gniibe committed rGd4f135c34b33: scd: Fix switching to another APP. (authored by gniibe).
scd: Fix switching to another APP.
Wed, Aug 21, 5:02 AM
gniibe committed rG09d000babb71: scd: Fix resetting CARD_CTX. (authored by gniibe).
scd: Fix resetting CARD_CTX.
Wed, Aug 21, 5:02 AM

Tue, Aug 20

gniibe committed rA909133baad49: libassuan.pc: Fix to have -I for Cflags and -L for Libs. (authored by gniibe).
libassuan.pc: Fix to have -I for Cflags and -L for Libs.
Tue, Aug 20, 7:10 AM
gniibe added a commit to T4678: libassuan.pc missing include dir directive in cflags: rA909133baad49: libassuan.pc: Fix to have -I for Cflags and -L for Libs..
Tue, Aug 20, 7:10 AM · libassuan
gniibe committed rT35a91c4961d4: pkgconfig: Fix ntbtls.pc. (authored by gniibe).
pkgconfig: Fix ntbtls.pc.
Tue, Aug 20, 6:42 AM
gniibe added a commit to T4678: libassuan.pc missing include dir directive in cflags: rT35a91c4961d4: pkgconfig: Fix ntbtls.pc..
Tue, Aug 20, 6:42 AM · libassuan
gniibe committed rK3df0cd32e3b2: pkgconfig: Fix ksba.pc. (authored by gniibe).
pkgconfig: Fix ksba.pc.
Tue, Aug 20, 6:22 AM
gniibe added a commit to T4678: libassuan.pc missing include dir directive in cflags: rK3df0cd32e3b2: pkgconfig: Fix ksba.pc..
Tue, Aug 20, 6:22 AM · libassuan
gniibe committed rC761d12f140b7: pkgconfig: Fix libgcrypt.pc. (authored by gniibe).
pkgconfig: Fix libgcrypt.pc.
Tue, Aug 20, 4:22 AM
gniibe added a commit to T4678: libassuan.pc missing include dir directive in cflags: rC761d12f140b7: pkgconfig: Fix libgcrypt.pc..
Tue, Aug 20, 4:22 AM · libassuan
gniibe added a comment to T4678: libassuan.pc missing include dir directive in cflags.

Well, gpg-error is special. For other libraries, adding -I and -L is enough and good.
Fixed in master.

Tue, Aug 20, 3:55 AM · libassuan
gniibe triaged T4678: libassuan.pc missing include dir directive in cflags as Normal priority.

Thank you. I only tested a configuration where installation of libassuan has same prefix as libgpg-error. That's the reason why this bug exists.

Tue, Aug 20, 3:38 AM · libassuan
gniibe added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

It was fixed in GnuPG master by rGc395f8315362: agent: Terminate pinentry process gracefully, by watching socket. and rG374a0775546b: agent: Close a dialog cleanly when gpg/ssh is killed for CONFIRM..
Those will be in GnuPG 2.3.

Tue, Aug 20, 3:32 AM · Bug Report, gpgagent

Mon, Aug 19

gniibe added a comment to E531: Weekly Standup.

Last week:

This week:

  • security release of libgcrypt will be this month for T4626
Mon, Aug 19, 9:38 AM
gniibe is attending E531: Weekly Standup.
Mon, Aug 19, 9:31 AM

Aug 16 2019

gniibe claimed T2893: gnupg should used ccid card key material fingerprints and not serial number.
Aug 16 2019, 6:15 AM · yubikey, Feature Request, gnupg
gniibe committed rC900647d96cb7: build: Fix build with !HAVE_PTHREAD (authored by gniibe).
build: Fix build with !HAVE_PTHREAD
Aug 16 2019, 2:13 AM
gniibe committed rC1862f402d363: ecdsa: Fix unblinding too early. (authored by gniibe).
ecdsa: Fix unblinding too early.
Aug 16 2019, 2:13 AM
gniibe added a commit to T4663: libgcrypt: fix build without threads by adding an option to disable tests: rC900647d96cb7: build: Fix build with !HAVE_PTHREAD.
Aug 16 2019, 2:12 AM · libgcrypt, Bug Report
gniibe committed rCcdaeb86f067b: ecdsa: Fix unblinding too early. (authored by gniibe).
ecdsa: Fix unblinding too early.
Aug 16 2019, 2:12 AM

Aug 13 2019

gniibe claimed T4663: libgcrypt: fix build without threads by adding an option to disable tests.

Thanks for your report.
I think that adding an option for disabling tests is too much.
If it were AC_SUBST, we could use HAVE_PTHREAD in tests/Makefile.am.
In the current situation, just modifining t-lock is easier.

Aug 13 2019, 7:13 AM · libgcrypt, Bug Report
gniibe added a comment to T4670: Key expiration time ignored for zero creation date keys.

I think that I located the cause of this bug:

Aug 13 2019, 6:27 AM · gnupg (gpg22), Bug Report
gniibe added projects to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file: Info Needed, gnupg (gpg22).
Aug 13 2019, 4:15 AM · gnupg (gpg22), Info Needed, Bug Report
gniibe added a comment to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.

For my environment (Debian buster's 2.2.12 and another one from GnuPG master), both (no argument and foo) work well.
The invocation with argument let pinentry pop up to ask passphrase.

Aug 13 2019, 4:08 AM · gnupg (gpg22), Info Needed, Bug Report

Aug 12 2019

gniibe committed rC376124f86097: build: Fix testapi.c to be buildable. (authored by gniibe).
build: Fix testapi.c to be buildable.
Aug 12 2019, 10:11 AM
gniibe added a comment to E530: Weekly Standup.

Last week:
For my environment, GnuPG and GPGME "make check" works well.

This week:
Evaluate the security report.

Aug 12 2019, 3:55 AM
gniibe committed rG6e6078c8d0d4: common: Fix line break handling, finding a space. (authored by gniibe).
common: Fix line break handling, finding a space.
Aug 12 2019, 3:55 AM
gniibe committed rGa9816d5fb13e: sm: Support AES-256 key. (authored by gniibe).
sm: Support AES-256 key.
Aug 12 2019, 3:55 AM
gniibe committed rGccf5cc8b0b6c: sm: Fix error checking of decryption result. (authored by gniibe).
sm: Fix error checking of decryption result.
Aug 12 2019, 3:55 AM
gniibe committed rG64500e7f6dd6: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators. (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.
Aug 12 2019, 3:55 AM
gniibe committed rGf8961a576d3b: scd: Fix bBWI value. (authored by gniibe).
scd: Fix bBWI value.
Aug 12 2019, 3:55 AM
gniibe committed rG879660bf4581: scd: Handle CCID bwi of time extension. (authored by gniibe).
scd: Handle CCID bwi of time extension.
Aug 12 2019, 3:55 AM
gniibe added a commit to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7: rGf8961a576d3b: scd: Fix bBWI value..
Aug 12 2019, 3:55 AM · Bug Report
gniibe added a commit to T4652: avoid unnecessary trailing NUL byte in S-expressions: rG64500e7f6dd6: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators..
Aug 12 2019, 3:55 AM · gnupg, Bug Report
gniibe added a commit to T4646: scd: Increase CCID timeout for Trustica Cryptoucan: rG879660bf4581: scd: Handle CCID bwi of time extension..
Aug 12 2019, 3:55 AM · scd, Bug Report
gniibe committed rG8e0167698120: card: Fix showing KDF object attribute. (authored by gniibe).
card: Fix showing KDF object attribute.
Aug 12 2019, 3:55 AM
gniibe is attending E530: Weekly Standup.
Aug 12 2019, 3:51 AM

Aug 9 2019

gniibe committed rCdb4e9976cc31: dsa,ecdsa: Fix use of nonce, use larger one. (authored by gniibe).
dsa,ecdsa: Fix use of nonce, use larger one.
Aug 9 2019, 2:21 AM

Aug 8 2019

gniibe committed rC7c2943309d14: dsa,ecdsa: Fix use of nonce, use larger one. (authored by gniibe).
dsa,ecdsa: Fix use of nonce, use larger one.
Aug 8 2019, 10:53 AM

Aug 7 2019

gniibe committed rCd5407b78cca9: ecc: Add mitigation against timing attack. (authored by gniibe).
ecc: Add mitigation against timing attack.
Aug 7 2019, 7:38 AM
gniibe committed rCb9577f7c89b4: ecc: Add mitigation against timing attack. (authored by gniibe).
ecc: Add mitigation against timing attack.
Aug 7 2019, 7:38 AM
gniibe committed rC5ad654a33085: dsa,ecdsa: Allocate secure memory for RFC6979 generation. (authored by gniibe).
dsa,ecdsa: Allocate secure memory for RFC6979 generation.
Aug 7 2019, 7:38 AM
gniibe committed rC75c2fbc43d2f: dsa,ecdsa: Allocate secure memory for RFC6979 generation. (authored by gniibe).
dsa,ecdsa: Allocate secure memory for RFC6979 generation.
Aug 7 2019, 7:38 AM
gniibe committed rG100642e77696: scd: Remove fallback mechanism to PC/SC. (authored by gniibe).
scd: Remove fallback mechanism to PC/SC.
Aug 7 2019, 1:52 AM
gniibe added a commit to T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified: rG100642e77696: scd: Remove fallback mechanism to PC/SC..
Aug 7 2019, 1:52 AM · scd, Feature Request
gniibe created T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified.
Aug 7 2019, 1:49 AM · scd, Feature Request

Aug 6 2019

gniibe closed T4631: Difficulties to generate key on OpenPGP Smart Card V3.3 as Resolved.
Aug 6 2019, 10:45 PM · scd, Bug Report
gniibe committed rGbb82ad018a7b: agent: Fix an error path of agent_get_confirmation. (authored by gniibe).
agent: Fix an error path of agent_get_confirmation.
Aug 6 2019, 10:41 PM
gniibe abandoned D470: Use intptr_t for file/pid handle on Windows.
Aug 6 2019, 1:11 PM
gniibe committed rMb97434fbf087: json: Fix t-decrypt-verify.out for GnuPG >= 2.3. (authored by gniibe).
json: Fix t-decrypt-verify.out for GnuPG >= 2.3.
Aug 6 2019, 6:46 AM
gniibe committed rGf588dd8d1766: common: Fix line break handling, finding a space. (authored by gniibe).
common: Fix line break handling, finding a space.
Aug 6 2019, 6:16 AM
gniibe committed rGd8a49bbcd1b1: gpg: Don't report NO_SECKEY for valid key. (authored by gniibe).
gpg: Don't report NO_SECKEY for valid key.
Aug 6 2019, 4:17 AM

Aug 5 2019

gniibe added a comment to E513: Weekly Standup.

Last two weeks:

Aug 5 2019, 4:45 AM
gniibe committed rGef2424144a07: sm: Support AES-256 key. (authored by gniibe).
sm: Support AES-256 key.
Aug 5 2019, 3:34 AM
gniibe is attending E513: Weekly Standup.
Aug 5 2019, 3:34 AM

Jul 30 2019

gniibe added a comment to T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong.

My understanding is: it was introduced by rG370f841a0135: Enhanced last patch. in 2009 to give information to client (for a specific command at that time), possibly in a hope that server side would support the feature for all commands (and client could benefits).

Jul 30 2019, 8:59 AM · Documentation, gpgagent

Jul 26 2019

gniibe triaged T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7 as Normal priority.
Jul 26 2019, 10:35 PM · Bug Report
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Thanks. So, this is a positive report for 8E60:34C2. I'm going to add this VID:PID to support pinpad input by the internal CCID driver.

Jul 26 2019, 10:34 PM · Bug Report
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Pinpad input is not supported for Gemalto Ezio Shield, currently. OpenPGP card expects variable length pinpad input, and we don't have any positive report with the card reader.

Jul 26 2019, 3:50 AM · Bug Report