Page MenuHome GnuPG
Feed Advanced Search

Sep 11 2019

gniibe committed rG92be4e87eec9: scd,pcsc: Fix examining the list of readers. (authored by gniibe).
scd,pcsc: Fix examining the list of readers.
Sep 11 2019, 4:06 AM
gniibe committed rG441106cdf0fd: scd,pcsc: Fix for initializing PC/SC. (authored by gniibe).
scd,pcsc: Fix for initializing PC/SC.
Sep 11 2019, 4:06 AM
gniibe committed rG1080e91efd60: scd,pcsc: Use a single context. (authored by gniibe).
scd,pcsc: Use a single context.
Sep 11 2019, 3:12 AM
gniibe committed rGe8534f899915: scd,pcsc: Support multiple card readers. (authored by gniibe).
scd,pcsc: Support multiple card readers.
Sep 11 2019, 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.
Sep 11 2019, 3:12 AM

Sep 6 2019

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 .

Sep 6 2019, 1:41 AM · Restricted Project, Feature Request, gnupg
gniibe lowered the priority of T4695: Remove SERIALNO as an identifier to select keys from Unbreak Now! to High.
Sep 6 2019, 1:37 AM · Restricted Project, 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.

Sep 6 2019, 1:37 AM · Restricted Project, Feature Request, gnupg

Sep 5 2019

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.
Sep 5 2019, 10:23 AM
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.

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

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

Sep 4 2019

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

Aug 30 2019

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.

Aug 30 2019, 12:55 AM

Aug 23 2019

gniibe committed rE157b9f6fafb6: estream: Fix gpgrt_poll at EOF. (authored by gniibe).
estream: Fix gpgrt_poll at EOF.
Aug 23 2019, 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.
Aug 23 2019, 3:38 AM

Aug 22 2019

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

Fixed in master.

Aug 22 2019, 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.

Aug 22 2019, 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:

Aug 22 2019, 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.

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

Aug 21 2019

gniibe committed rG6fae96094c97: scd: Fix check_application_conflict. (authored by gniibe).
scd: Fix check_application_conflict.
Aug 21 2019, 5:44 AM
gniibe committed rG8dc19d35e854: scd: Fix selecting additional APP. (authored by gniibe).
scd: Fix selecting additional APP.
Aug 21 2019, 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.
Aug 21 2019, 5:02 AM
gniibe committed rGd4f135c34b33: scd: Fix switching to another APP. (authored by gniibe).
scd: Fix switching to another APP.
Aug 21 2019, 5:02 AM
gniibe committed rG09d000babb71: scd: Fix resetting CARD_CTX. (authored by gniibe).
scd: Fix resetting CARD_CTX.
Aug 21 2019, 5:02 AM

Aug 20 2019

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.
Aug 20 2019, 7:10 AM
gniibe committed rT35a91c4961d4: pkgconfig: Fix ntbtls.pc. (authored by gniibe).
pkgconfig: Fix ntbtls.pc.
Aug 20 2019, 6:42 AM
gniibe committed rK3df0cd32e3b2: pkgconfig: Fix ksba.pc. (authored by gniibe).
pkgconfig: Fix ksba.pc.
Aug 20 2019, 6:22 AM
gniibe committed rC761d12f140b7: pkgconfig: Fix libgcrypt.pc. (authored by gniibe).
pkgconfig: Fix libgcrypt.pc.
Aug 20 2019, 4:22 AM
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.

Aug 20 2019, 3:55 AM · Restricted Project, 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.

Aug 20 2019, 3:38 AM · Restricted Project, 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.

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

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 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 · patch, 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 · unreproducible, gnupg (gpg22), 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 · unreproducible, gnupg (gpg22), 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 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 committed rG8e0167698120: card: Fix showing KDF object attribute. (authored by gniibe).
card: Fix showing KDF object attribute.
Aug 12 2019, 3:55 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 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 · gnupg (gpg23), Restricted Project, 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 committed rGef2424144a07: sm: Support AES-256 key. (authored by gniibe).
sm: Support AES-256 key.
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 · scd, Restricted Project, 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 · scd, Restricted Project, 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 · scd, Restricted Project, Bug Report
gniibe committed rG3ba091ab8c93: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators. (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.
Jul 26 2019, 3:20 AM
gniibe committed rG15fe78184cc6: sm: Fix error checking of decryption result. (authored by gniibe).
sm: Fix error checking of decryption result.
Jul 26 2019, 3:20 AM
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I'm going to push this change to master.

Jul 26 2019, 2:13 AM

Jul 25 2019

gniibe claimed T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

I was afraid that there are wrong usage where HANDLE is passed where int for fd is expected (or opposite).
But it seems, there are only usage where it should be gnupg_fd_t ideally but using int.

Jul 25 2019, 8:25 AM · Memo
gniibe claimed T4656: Windows 64-bit: functions which use pid_t.
Jul 25 2019, 8:22 AM · Memo
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I'd like to push your change to master, if possible with exact check.
Do you intend to put your comment to the master repo? Or, it's for discussion?
It's OK for your topic branch, but, I feel that it would be too long to be included to master repo.

Jul 25 2019, 7:20 AM
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

I'm confusing if following API should use gnupg_fd_t or not:

  • iobuf_fdopen, iobuf_fdopen_nc
    • Perhaps, these are using int for fd, like es_fdopen
  • set_attrib_fd ?
  • read_passphrase_from_fd ?
  • set_status_fd ?
  • is_secured_file ?
Jul 25 2019, 6:49 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 6:25 AM · Memo
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

As far as I know, usually, gpg/gpgsm can assume same version of gpg-agent.

Jul 25 2019, 6:21 AM
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

I pushed a fix to master: rG858dc9564326: scd: Fix bBWI value.

Jul 25 2019, 4:53 AM · scd, Restricted Project, Bug Report
gniibe changed the status of T4362: Replace the exec funtions for photoids in gpg by our standard exec functions. from Open to Testing.

Except w32_system function, it's done.

Jul 25 2019, 4:48 AM · gnupg, Feature Request
gniibe changed the status of T4362: Replace the exec funtions for photoids in gpg by our standard exec functions., a subtask of T4417: Work needed for gnupg 2.3, from Open to Testing.
Jul 25 2019, 4:48 AM · gnupg (gpg23)
gniibe committed rGc57c5004ec6c: gpg: photoid: Move functions from exec.c. (authored by gniibe).
gpg: photoid: Move functions from exec.c.
Jul 25 2019, 4:47 AM
gniibe committed rGfd9e6ae22eb9: gpg: photoid: Use standard spawn API. (authored by gniibe).
gpg: photoid: Use standard spawn API.
Jul 25 2019, 4:47 AM
gniibe added a comment to T4656: Windows 64-bit: functions which use pid_t.

APIs which need revise (where we use pid_t):

Jul 25 2019, 4:00 AM · Memo
gniibe created T4656: Windows 64-bit: functions which use pid_t.
Jul 25 2019, 3:53 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 3:46 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 3:45 AM · Memo
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

API which uses int for fd:
GnuPG common:

  • gnupg_create_pipe, gnupg_create_outbound_pipe, gnupg_create_inbound_pipe
  • gnupg_spawn_process_fd

gpgrt:

  • gpgrt_make_pipe (not yet exposed to public API)
  • gpgrt_spawn_process_fd (not yet exposed to public API)
Jul 25 2019, 3:44 AM · Memo
gniibe committed rEf93a0358dc82: w32: Fix cast to internal fd. (authored by gniibe).
w32: Fix cast to internal fd.
Jul 25 2019, 3:09 AM
gniibe committed rE5f9f2c32b038: estream: Fix IS_INVALID_FD. (authored by gniibe).
estream: Fix IS_INVALID_FD.
Jul 25 2019, 3:03 AM
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

HANDLE type casting to long is wrong (it results masking the value to 32-bit, which is not needed).
I fixed:

Jul 25 2019, 2:37 AM · Memo
gniibe created T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 2:33 AM · Memo
gniibe committed rG858dc9564326: scd: Fix bBWI value. (authored by gniibe).
scd: Fix bBWI value.
Jul 25 2019, 2:19 AM
gniibe committed rG996c497a864d: scd: Handle CCID bwi of time extension. (authored by gniibe).
scd: Handle CCID bwi of time extension.
Jul 25 2019, 2:19 AM
gniibe removed a project from T4646: scd: Increase CCID timeout for Trustica Cryptoucan: Info Needed.

I see your point (I am also the one who implements reader/token). That's reasonable argument.

Jul 25 2019, 1:54 AM · scd, Bug Report
gniibe claimed T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Thanks for your report, with helpful log.

Jul 25 2019, 1:40 AM · scd, Restricted Project, Bug Report

Jul 24 2019

gniibe committed rG044379772fc5: common: Fix the previous commit. (authored by gniibe).
common: Fix the previous commit.
Jul 24 2019, 8:34 AM
gniibe committed rGb1c56cf9e2bb: common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr. (authored by gniibe).
common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr.
Jul 24 2019, 8:25 AM