From: GitHub <no...@gi...> - 2015-03-04 18:50:46
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 8cf99a93726e735e04ed2563f14e315a60a4a859 https://github.com/OpenSC/OpenSC/commit/8cf99a93726e735e04ed2563f14e315a60a4a859 Author: Viktor Tarasov <vik...@gm...> Date: 2015-03-04 (Wed, 04 Mar 2015) Changed paths: M src/libopensc/asn1.c Log Message: ----------- asn1: fix error in EC signature encode helper The raw format of EC signature was invalid when 'r' and 's' had different length. https://github.com/OpenSC/OpenSC/pull/381#issuecomment-77016382 According to PKCS#11 v2.20: "If r and s have different octet length, the shorter of both must be padded with leading zero octets such that both have the same octet length." Commit: 1123768ac3b722afe3a0d662967515c547530554 https://github.com/OpenSC/OpenSC/commit/1123768ac3b722afe3a0d662967515c547530554 Author: Viktor Tarasov <vik...@gm...> Date: 2015-03-04 (Wed, 04 Mar 2015) Changed paths: M src/libopensc/card.c Log Message: ----------- libopensc: invalid 'free' and 'assign NULL' order Commit: 31124ac4f906ba8a331bde47d23bc89757f1829f https://github.com/OpenSC/OpenSC/commit/31124ac4f906ba8a331bde47d23bc89757f1829f Author: Viktor Tarasov <vik...@gm...> Date: 2015-03-04 (Wed, 04 Mar 2015) Changed paths: M src/libopensc/card.c M src/libopensc/opensc.h M src/pkcs15init/pkcs15-lib.c Log Message: ----------- pkcs15init: allocate EC parameters Commit: 6f6286de99a62ab0d2edf6023f39cfa8db139420 https://github.com/OpenSC/OpenSC/commit/6f6286de99a62ab0d2edf6023f39cfa8db139420 Author: Viktor Tarasov <vik...@gm...> Date: 2015-03-04 (Wed, 04 Mar 2015) Changed paths: M src/pkcs11/framework-pkcs15.c M src/pkcs11/misc.c M src/pkcs11/sc-pkcs11.h Log Message: ----------- pkcs11: generate EC key: use allocated EC params For internal use allocate and copy the EC params data from the caller's template, rather then use them directly as a pointer in internal public key data. Compare: https://github.com/OpenSC/OpenSC/compare/58d1f1db3f0c...6f6286de99a6 |