Page MenuHome GnuPG
Feed Advanced Search

Aug 7 2019

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
gniibe committed rGa64411c607d5: common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle. (authored by gniibe).
common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle.
Jul 24 2019, 7:29 AM
gniibe committed rE655ed9d83889: w32: Fix HANDLE to internal fd conversion. (authored by gniibe).
w32: Fix HANDLE to internal fd conversion.
Jul 24 2019, 7:21 AM

Jul 23 2019

gniibe committed rG7bfbb9fa7e76: gpg: A little clean up. (authored by gniibe).
gpg: A little clean up.
Jul 23 2019, 5:55 AM

Jul 22 2019

gniibe committed rC6d80f3f12dc2: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.
Jul 22 2019, 9:25 AM
gniibe committed rC6126fc2f180a: build: Fix previous commit. (authored by gniibe).
build: Fix previous commit.
Jul 22 2019, 9:25 AM
gniibe changed the status of T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="' from Open to Testing.

Backported.

Jul 22 2019, 7:23 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGb21133ba80f2: gpg: The option --passphrase= can be empty. (authored by gniibe).
gpg: The option --passphrase= can be empty.
Jul 22 2019, 4:27 AM
gniibe added a comment to T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

I realized that it's a product of token. Then, I suggest that implementing time extension correctly, if some operation doesn't finish in BWT (block waiting time).

Jul 22 2019, 4:16 AM · scd, Bug Report
gniibe committed rKb92ec7f502d9: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program.
Jul 22 2019, 4:13 AM
gniibe committed rG13bc0431ff1c: scd: Error code map fix for older Yubikey. (authored by gniibe).
scd: Error code map fix for older Yubikey.
Jul 22 2019, 3:17 AM
gniibe claimed T4645: scd: Configurable pinpad timeout.

In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:24 AM · Info Needed, scd, Feature Request
gniibe claimed T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

What's Trustica Cryptoucan?
In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:18 AM · scd, Bug Report
gniibe added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

FYI, we have "factory-reset" command in gpg --card-edit; It is not enough for a card to have admin locked state, but it requires normal user locked state, too.

Jul 22 2019, 2:11 AM · scd, Bug Report

Jul 20 2019

gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

Yes: at least 255 times.

Jul 20 2019, 12:28 AM · gnupg24, gnupg (gpg23), Bug Report

Jul 19 2019

gniibe claimed T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="'.

Patch is pushed to master. Will be backported to 2.2.

Jul 19 2019, 10:20 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGfcd766719a6e: gpg: The option --passphrase= can be empty. (authored by gniibe).
gpg: The option --passphrase= can be empty.
Jul 19 2019, 10:19 AM
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

It responds somehow, but the content has invalid data of (bChainParameter=0x04):

2019-07-05 09:36:41 scdaemon[71407] DBG: chan_17 -> S LOGIN-DATA aheinecke
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 21
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 4
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 21
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bChainParameter ...: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 82 00 82
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 22
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 4
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 22
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bChainParameter ...: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 82 00 82
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 23
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:46 scdaemon[71407] DBG: ccid-driver: usb_bulk_read error: LIBUSB_ERROR_TIMEOUT
2019-07-05 09:36:46 scdaemon[71407] ccid_transceive failed: (0x1000a)
2019-07-05 09:36:46 scdaemon[71407] apdu_send_simple(1) failed: card I/O error
Jul 19 2019, 8:05 AM · backport, Restricted Project, scd, gnupg
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

After the cancellation, the card reader seems being screwed up:

Jul 19 2019, 8:02 AM · backport, Restricted Project, scd, gnupg
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

It is canceled:

2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 19
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 64
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bError ............: 239
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: CCID command failed: PIN cancelled
2019-07-05 09:36:41 scdaemon[71407] DBG: dismiss pinpad entry prompt
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 -> INQUIRE DISMISSPINPADPROMPT
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 <- END
2019-07-05 09:36:41 scdaemon[71407] verify CHV2 failed: Invalid response
2019-07-05 09:36:41 scdaemon[71407] operation decipher result: Invalid response
2019-07-05 09:36:41 scdaemon[71407] app_decipher failed: Invalid response
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 -> ERR 100663372 Invalid response <SCD>
Jul 19 2019, 8:01 AM · backport, Restricted Project, scd, gnupg
gniibe removed a project from T4631: Difficulties to generate key on OpenPGP Smart Card V3.3: OpenPGP.

Please note that key generation is takes time unusually longer from a viewpoint of card reader.
It is possible for a card reader to give up the execution of key generation command as timeout.

Jul 19 2019, 6:40 AM · scd, Bug Report
gniibe committed rG98f4eff7ffde: card: Fix showing KDF object attribute. (authored by gniibe).
card: Fix showing KDF object attribute.
Jul 19 2019, 6:29 AM
gniibe committed rG57565d5f975d: scd: Support "[CHV3]" attribute for keyid string. (authored by gniibe).
scd: Support "[CHV3]" attribute for keyid string.
Jul 19 2019, 6:25 AM
gniibe committed rG9c0cd9d07546: card: Support disabling KDF functionality. (authored by gniibe).
card: Support disabling KDF functionality.
Jul 19 2019, 6:25 AM
gniibe claimed T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

I am trying to reproduce your problem with my 3.3 card using my TTXS card reader.

Jul 19 2019, 3:37 AM · scd, Bug Report
gniibe triaged T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools as Normal priority.
Jul 19 2019, 3:05 AM · gpgrt, Feature Request
gniibe claimed T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools.

Thank you. Merged.

Jul 19 2019, 3:04 AM · gpgrt, Feature Request
gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

Sorry, perhaps, I misunderstood how SKESK packets are generated in your application.
I was considering there were 256 recipients.

Jul 19 2019, 2:12 AM · gnupg24, gnupg (gpg23), Bug Report

Jul 18 2019

gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

If the use of GnuPG (current implementation) is a condition, I think that you could improve the generation of SKESK packets, so that no other passphrase can let gpg misunderstand as it may decrypt encrypted packet.

Jul 18 2019, 11:48 PM · gnupg24, gnupg (gpg23), Bug Report
gniibe committed rPTH6b8ed75b40e6: build: Add -no-install for LDFLAGS of test programs. (authored by gniibe).
build: Add -no-install for LDFLAGS of test programs.
Jul 18 2019, 8:55 AM
gniibe committed rPTH2501a48930eb: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. (authored by gniibe).
build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Jul 18 2019, 8:55 AM
gniibe added a project to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3: Info Needed.

Please let us know what kind of key and how large, like RSA-4096 or ECC Brainpool.
For RSA 2048 or larger, yes, it takes too long.

Jul 18 2019, 7:47 AM · scd, Bug Report
gniibe triaged T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools as Normal priority.
Jul 18 2019, 7:41 AM · Restricted Project, libassuan, Feature Request
gniibe claimed T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools.

Thanks.
Merged (with line break in the Makefile.am and formatting of commit message.

Jul 18 2019, 7:39 AM · Restricted Project, libassuan, Feature Request
gniibe committed rA98d7c7ea3f37: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs. (authored by dkg).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.
Jul 18 2019, 7:37 AM
gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

I mean, if all SKESK packets should be tried, we need some larger surgery of current implementation.

Jul 18 2019, 5:07 AM · gnupg24, gnupg (gpg23), Bug Report
gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

Is it possible for your application (DOTS), to specify the packet number for SKESKP, not trying all SKESK packets?


^-- with this change, we can decrypt the skesks.asc with --passphrase-repeat=169, and skesks2.asc with --passphrase-repeat=30

Jul 18 2019, 5:05 AM · gnupg24, gnupg (gpg23), Bug Report
gniibe committed rG44be675b759d: gpg: More check for symmetric key encryption. (authored by gniibe).
gpg: More check for symmetric key encryption.
Jul 18 2019, 4:05 AM

Jul 16 2019

gniibe added a comment to T4042: RFC 4880 compliance.

It was rG07250279e7ec: * keyedit.c (keyedit_menu): Invisible alias "passwd" as "password". in 2004, which set default to rfc2440-text behavior.
And in 2007, the commit rGb550330067b6: * gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default. changed the default to no-rfc2440-text.

Jul 16 2019, 10:20 AM · OpenPGP, gnupg
gniibe closed T4105: Inconsistent output for revocation keys in --list-keys --with-colons as Resolved.

Thanks, fixed in master.

Jul 16 2019, 9:55 AM · Documentation, gnupg, Bug Report
gniibe committed rG4195ce15f494: doc: Fix description of the field 11. (authored by gniibe).
doc: Fix description of the field 11.
Jul 16 2019, 9:55 AM
gniibe added a comment to T4623: pkg-config for mingw needs to emit -lws2_32.

Current situation of *.pc: static linking is not supported (yet).
It has never supported, actually, by *-config.

Jul 16 2019, 5:49 AM · Restricted Project, Windows, gpgrt, Bug Report
gniibe triaged T4594: dirmngr appears to unilaterally import system CAs as Normal priority.

While I understand incorrectness, the risk in practice is not that high. So, I put this as "normal" priority.

Jul 16 2019, 5:35 AM · Bug Report, dirmngr, gnupg (gpg22)
gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

In the current implementation of GnuPG, multiple packets of Symmetric-Key Encrypted Session Key Packet are not handled very well.

Jul 16 2019, 4:03 AM · gnupg24, gnupg (gpg23), Bug Report
gniibe changed the status of T4594: dirmngr appears to unilaterally import system CAs from Open to Testing.

Pushed the change to master as well as 2.2 branch.

Jul 16 2019, 3:15 AM · Bug Report, dirmngr, gnupg (gpg22)
gniibe committed rG58e234fbeb6c: dirmngr: Don't add system CAs for SKS HKPS pool. (authored by gniibe).
dirmngr: Don't add system CAs for SKS HKPS pool.
Jul 16 2019, 3:14 AM
gniibe committed rG75e0ec65170b: dirmngr: Don't add system CAs for SKS HKPS pool. (authored by gniibe).
dirmngr: Don't add system CAs for SKS HKPS pool.
Jul 16 2019, 3:13 AM
gniibe committed rGb7df72d3074b: gpg: Fix keyring retrieval. (authored by gniibe).
gpg: Fix keyring retrieval.
Jul 16 2019, 1:34 AM
gniibe committed rGeb00a14f6d2d: gpg: Improve import slowness. (authored by gniibe).
gpg: Improve import slowness.
Jul 16 2019, 1:34 AM

Jul 15 2019

gniibe committed rC0147a5e69e49: tests: t-mpi-point: Remove implementation dependent checks. (authored by gniibe).
tests: t-mpi-point: Remove implementation dependent checks.
Jul 15 2019, 9:52 AM
gniibe committed rC8a0bde8c211c: tests: t-mpi-point: Remove implementation dependent checks. (authored by gniibe).
tests: t-mpi-point: Remove implementation dependent checks.
Jul 15 2019, 9:52 AM
gniibe claimed T4623: pkg-config for mingw needs to emit -lws2_32.
Jul 15 2019, 9:00 AM · Restricted Project, Windows, gpgrt, Bug Report

Jul 12 2019

gniibe added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

About importing, there are two other works: repairing and trustdb update. We can figure out the difference by the --import-options of no-repair-keys and fast-import (to skip those works).
I think that both can be O(N^2) for number of signatures.

Jul 12 2019, 11:03 PM · gnupg (gpg23), Bug Report
gniibe changed the status of T4280: gnupg doc doesn't build due to ImageMagick default policy from Open to Testing.

I disabled the dependency rules for the figures (it's only enabled for maintainers).

Jul 12 2019, 1:34 PM · gnupg, Documentation, Info Needed, Bug Report
gniibe committed rG58bab1a8784b: doc: Dependencies for figures are only for maintainers. (authored by gniibe).
doc: Dependencies for figures are only for maintainers.
Jul 12 2019, 10:25 AM
gniibe committed rMd9387650ffb1: python: doc: Add suffix for org files. (authored by gniibe).
python: doc: Add suffix for org files.
Jul 12 2019, 8:43 AM
gniibe committed rM36428d8cf153: python: doc: Remove generated files, put rules in Makefile. (authored by gniibe).
python: doc: Remove generated files, put rules in Makefile.
Jul 12 2019, 8:43 AM
gniibe closed T4275: python gpg binding VCS contains generated files (documentation) as Resolved.

Fixed.

Jul 12 2019, 7:55 AM · gpgme, Bug Report
gniibe committed rG4e601c7643fc: Fix a reference in comment. (authored by gniibe).
Fix a reference in comment.
Jul 12 2019, 5:12 AM
gniibe committed rG89303b9998ea: gpg: Don't try decryption by session key when NULL. (authored by gniibe).
gpg: Don't try decryption by session key when NULL.
Jul 12 2019, 2:30 AM