From: GitHub <no...@gi...> - 2018-11-19 11:42:29
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: abdbb9d8c09146cd0bfbb5ef8861c1f3a14a83c7 https://github.com/OpenSC/OpenSC/commit/abdbb9d8c09146cd0bfbb5ef8861c1f3a14a83c7 Author: Steve Ross <sr...@fo...> Date: 2018-11-19 (Mon, 19 Nov 2018) Changed paths: M src/libopensc/card-coolkey.c Log Message: ----------- Enable CoolKey driver to handle 2048-bit keys. For a problem description, see <https://github.com/OpenSC/OpenSC/issues/1524>. In a nutshell, for a card with the CoolKey applet and 2048-bit keys, the command pkcs11-tool --test --login fails to complete all of its tests. This commit consists of a patch from @dengert. To avoid triggering an error when the data exceeds 255 bytes, this commit limits the amount of the payload sent to the CoolKey applet on the card based on the maximum amount of data that the card can receive, and overhead bytes (namely, a header and nonce) that accompany the payload. With this change, the command pkcs11-tool --test --login succeeds. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |