From: Frank M. <no...@gi...> - 2019-12-28 17:16:13
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 9eed40ea31f07283267564110126ff51f55dbb8b https://github.com/OpenSC/OpenSC/commit/9eed40ea31f07283267564110126ff51f55dbb8b Author: Julian Strobl <jul...@te...> Date: 2019-12-28 (Sat, 28 Dec 2019) Changed paths: M src/libopensc/pkcs15-tcos.c Log Message: ----------- tcos: add encryption certificate for IDKey Fixes https://github.com/frankmorgner/OpenSCToken/issues/21 Commit: 81940e123be61b9d58053fc08a1c3552b76ab95d https://github.com/OpenSC/OpenSC/commit/81940e123be61b9d58053fc08a1c3552b76ab95d Author: Julian Strobl <jul...@te...> Date: 2019-12-28 (Sat, 28 Dec 2019) Changed paths: M src/tools/pkcs11-tool.c Log Message: ----------- pkcs11-tool: align output for test_signature Before it was a bit confusing, e.g.: ``` testing key 1 (2048 bits, label=IDKey2) with 1 signature mechanism RSA-X-509: OK couldn't find the corresponding pubkey testing key 2 (0 bits, label=IDKey3) with 1 signature mechanism -- can't be used to sign/verify, skipping: can't obtain modulus ``` The error message in line 3 is for IDKey3 and not for IDKey2. With this patch the output is aligned with `test_verify`: ``` testing key 1 (IDKey2) with 1 mechanism RSA-X-509: OK testing key 2 (IDKey3) with 1 mechanism -- can't find corresponding public key, skipping ``` Commit: e9aa163fe5a8bb4a473467a0ae3701b2c62b5aab https://github.com/OpenSC/OpenSC/commit/e9aa163fe5a8bb4a473467a0ae3701b2c62b5aab Author: Julian Strobl <jul...@te...> Date: 2019-12-28 (Sat, 28 Dec 2019) Changed paths: M src/tools/pkcs11-tool.c Log Message: ----------- pkcs11-tool: fix output of test_decrypt Before the output looked like this, if a public key was not found: ``` testing key 1 (IDKey2) RSA-X-509: OK RSA-PKCS: OK testing key 2 (IDKey3) couldn't find the corresponding pubkey for validation couldn't find the corresponding pubkey for validation RSA-X-509: RSA-PKCS: testing key 3 (IDKey4) couldn't find the corresponding pubkey for validation couldn't find the corresponding pubkey for validation ``` Now: ``` testing key 1 (IDKey2) RSA-X-509: OK RSA-PKCS: OK testing key 2 (IDKey3) -- can't find corresponding public key, skipping testing key 3 (IDKey4) -- can't find corresponding public key, skipping ``` Compare: https://github.com/OpenSC/OpenSC/compare/1cc608712609...e9aa163fe5a8 |