Home GnuPG
Diffusion GnuPG 0848cfcce738

scd: Fix timeout handling for key generation.
0848cfcce738Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: Fix timeout handling for key generation.

* scd/ccid-driver.c (CCID_CMD_TIMEOUT): Back to original value.
(CCID_CMD_TIMEOUT_LONGER): New.
(ccid_transceive): Add kludge for key generation.

At key generation of longer key size, OpenPGP card sends back "time
extension" with BWI=100, which is unusual value in the protocol and it
actually requires host having longer timeout like 43 seconds.

Details

Provenance
gniibeAuthored on Mar 27 2017, 4:25 AM
Parents
rG0b3770c421a3: gpg: Improve check for already compressed packets.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG0848cfcce738: scd: Fix timeout handling for key generation. (authored by NIIBE Yutaka <gniibe@fsij.org>).Mar 27 2017, 4:25 AM