diff options
author | NIIBE Yutaka <[email protected]> | 2017-03-27 02:25:00 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-03-27 02:25:00 +0000 |
commit | 0848cfcce738150b53bfb65b78efc1e6dc9f3d26 (patch) | |
tree | 8963ca0113c698c6e0fa25cd21089897084c4d72 /g10/decrypt-data.c | |
parent | gpg: Improve check for already compressed packets. (diff) | |
download | gnupg-0848cfcce738150b53bfb65b78efc1e6dc9f3d26.tar.gz gnupg-0848cfcce738150b53bfb65b78efc1e6dc9f3d26.zip |
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.
Reported-by: Szczepan Zalega <[email protected]>
Fixes-commit: 6510df3a7cd2b5bf44fac1e4d50ee54b8c897daa
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions