From: GitHub <no...@gi...> - 2018-11-20 10:53:06
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 3ec39919c3beb2df620272f7349122bfc82ab256 https://github.com/OpenSC/OpenSC/commit/3ec39919c3beb2df620272f7349122bfc82ab256 Author: Hannu Honkanen <han...@av...> Date: 2018-11-20 (Tue, 20 Nov 2018) Changed paths: M src/pkcs15init/pkcs15-lib.c Log Message: ----------- pkcs15-lib: Must use keyargs->value_len instead of keyargs->key.data_len * 8 when calling check_key_compatibility(), to get correct result in key unwrap operations. In this case data_len is 0, but value_len contains the key length in bits. Commit: c051ef64dd1585e6a242ab9f1e7919906d4257c6 https://github.com/OpenSC/OpenSC/commit/c051ef64dd1585e6a242ab9f1e7919906d4257c6 Author: Hannu Honkanen <han...@av...> Date: 2018-11-20 (Tue, 20 Nov 2018) Changed paths: M src/pkcs11/framework-pkcs15.c Log Message: ----------- Convert sequences of four spaces to tabs to fix indentation problems. Commit: 7f91b6e07f719023643294ca23fec437916202d5 https://github.com/OpenSC/OpenSC/commit/7f91b6e07f719023643294ca23fec437916202d5 Author: Hannu Honkanen <han...@av...> Date: 2018-11-20 (Tue, 20 Nov 2018) Changed paths: M src/libopensc/pkcs15.c M src/libopensc/pkcs15.h M src/pkcs15init/pkcs15-myeid.c Log Message: ----------- MyEID: add AES algorithms to tokenInfo as supported during init. It is better to do it already in init, because adding them in C_UnwrapKey operations would require SO-PIN which is inconvenient. pkcs15: added function to get a specific supported algorithm, checking also OID. This is needed because for AES there are different OIDs for each key length. Commit: aa8f666f46a8845993eaa79e0de4573c8583650d https://github.com/OpenSC/OpenSC/commit/aa8f666f46a8845993eaa79e0de4573c8583650d Author: Hannu Honkanen <han...@av...> Date: 2018-11-20 (Tue, 20 Nov 2018) Changed paths: M src/libopensc/pkcs15.c M src/pkcs11/framework-pkcs15.c Log Message: ----------- Removed unnecessary spaces from framework-pkc15.c as requested. pkcs15: added explicit comparison when checking return value of sc_compare_oid() to make the logic more obvious. Compare: https://github.com/OpenSC/OpenSC/compare/abdbb9d8c091...aa8f666f46a8 **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. |