From: Ludovic R. <no...@gi...> - 2019-08-26 08:59:21
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: e35a7e7395496225caa1aeb5930b0d061f23dd3a https://github.com/OpenSC/OpenSC/commit/e35a7e7395496225caa1aeb5930b0d061f23dd3a Author: Ludovic Rousseau <lud...@fr...> Date: 2019-08-26 (Mon, 26 Aug 2019) Changed paths: M src/pkcs11/pkcs11.h Log Message: ----------- Add definition of CKA_OTP_* constants Commit: 43a8f870e5bbe6eda5fae7ff52400a337fa64ae2 https://github.com/OpenSC/OpenSC/commit/43a8f870e5bbe6eda5fae7ff52400a337fa64ae2 Author: Ludovic Rousseau <lud...@fr...> Date: 2019-08-26 (Mon, 26 Aug 2019) Changed paths: M src/pkcs11/pkcs11-display.c Log Message: ----------- pkcs11-spy: add support of CKA_OTP_* values Commit: 2240abcef124c857ee61039bcf608396e659b5d3 https://github.com/OpenSC/OpenSC/commit/2240abcef124c857ee61039bcf608396e659b5d3 Author: Ludovic Rousseau <lud...@fr...> Date: 2019-08-26 (Mon, 26 Aug 2019) Changed paths: M src/pkcs11/pkcs11-display.c Log Message: ----------- spy: display -1 instead of 18446744073709551615 buf_len is a CK_ULONG (unsigned long). But if the attribute is sensitive or is not extractable or is invalid for the object then the library set the buffer length value to (CK_LONG)-1. It is more friendly to see "-1" instead of "18446744073709551615" (on 64-bits CPU) Compare: https://github.com/OpenSC/OpenSC/compare/b0241eefa1b4...2240abcef124 |