From: Martin P. <no...@gi...> - 2019-03-21 20:10:45
|
Branch: refs/heads/esteid-2018 Home: https://github.com/OpenSC/OpenSC Commit: 75c9f06a3410eb68468522d92bfd6dd1562dc6b6 https://github.com/OpenSC/OpenSC/commit/75c9f06a3410eb68468522d92bfd6dd1562dc6b6 Author: Martin Paljak <ma...@ma...> Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: A .clang-format Log Message: ----------- meta: add clang-format formatting configuration This allows for voluntary formatting with clang-format (or IDE tools like clang-format plugin for VS Code). Once a suitable formatting configuration is found, automatic formatting can be configured Change-Id: I9021a98fe90c5ef9f21ce7459fdf05fa645fb56c Commit: 2f8937c1b4a1e94739e06031cdcde68dcc9c857a https://github.com/OpenSC/OpenSC/commit/2f8937c1b4a1e94739e06031cdcde68dcc9c857a Author: Martin Paljak <ma...@ma...> Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M src/libopensc/iso7816.c Log Message: ----------- iso7816_read_binary: do not assume that 6282 is returned with data Instead of a double check_sw call in case there is no data, assume that a SW is properly sent by the card and do not expose SC_ERROR_FILE_END_REACHED outside of the function (like sc_pkcs15_read_file) This is to facilitate Estonian eID 2018+ that instead of properly returning 6282 with trunkated data, 9000 is returned and next READ BINARY returns 6b00 (invalid p1/p2). The change should be generally harmless for well-behaving cards. Change-Id: I7511ab4841d3bcdf8d6f4a37a9315ea4ac569b10 Commit: 39b67a223264c07c4cadac79e867b9bfdd5e87bc https://github.com/OpenSC/OpenSC/commit/39b67a223264c07c4cadac79e867b9bfdd5e87bc Author: Martin Paljak <ma...@ma...> Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M src/libopensc/Makefile.am A src/libopensc/card-esteid2018.c M src/libopensc/cards.h M src/libopensc/ctx.c A src/libopensc/pkcs15-esteid2018.c M src/libopensc/pkcs15-syn.c M src/libopensc/pkcs15-syn.h Log Message: ----------- Snapshot of EstEID 2018+ driver Change-Id: I2e4b4914d8a3b991d9a639728695abf4a2362ca0 Compare: https://github.com/OpenSC/OpenSC/compare/af074c1293d3...39b67a223264 |