From: Frank M. <no...@gi...> - 2020-07-22 20:59:16
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 7ed876c816f20430bdee95990116938a1633208e https://github.com/OpenSC/OpenSC/commit/7ed876c816f20430bdee95990116938a1633208e Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Added ATR mask for Idemia (Oberthur) IAS-ECC card to recognize Cosmo V8 cards. Commit: 741ee73ec98afd982aa952f504981186f2041acd https://github.com/OpenSC/OpenSC/commit/741ee73ec98afd982aa952f504981186f2041acd Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Add generic function for PIN status retrieval, for subsequent use (among others intended to replace iasecc_pin_is_verified). Base it on functionality in the ISO 7816 layer to avoid code duplication. Commit: 19063932f0beac8f1a621d6cd2585d83719a8291 https://github.com/OpenSC/OpenSC/commit/19063932f0beac8f1a621d6cd2585d83719a8291 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Simplified PIN policy retrieval to only read the data that is actually needed, excluding the CRT info from the SE-SDO, which is not guaranteed to be available in all card types. Use an explicit PIN policy structure type instead of keeping the info in the sc_pin_cmd_data, since this type of info is only used privately in the card driver. Commit: ca911e342c077108783f2b14c541cd197035d2c3 https://github.com/OpenSC/OpenSC/commit/ca911e342c077108783f2b14c541cd197035d2c3 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Improved PIN info retrieval, now returning verification status, and attempts left even when previously not available (due to card not providing it in the SDO). Commit: 8c2d629f943f67f0a0375aece91ae3975b04c310 https://github.com/OpenSC/OpenSC/commit/8c2d629f943f67f0a0375aece91ae3975b04c310 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Functions used to control PIN padding and PIN pad use: - Use PIN padding information when provided by upper layers - Enable PIN padding at card level when min/max len set to same, nonzero value - Allow PIN-pad use to be dynamically selected for each PIN Commit: d0b3e90431018ff0a38e0b80cc09a7b98d891185 https://github.com/OpenSC/OpenSC/commit/d0b3e90431018ff0a38e0b80cc09a7b98d891185 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Simlified low-level CHV verification function: - Removed special PIN-pad case, moving logic into high-level function. - Use ISO 7816 layer to avoid code duplication. Commit: 5ae488c1b929eddac2b48ed4f86b78849b93917b https://github.com/OpenSC/OpenSC/commit/5ae488c1b929eddac2b48ed4f86b78849b93917b Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Improved PIN verification function: - Uses PIN padding from merged policy - Moved PIN-pad logic into this function instead of keeping separate Commit: 79e81eeef069c7ded7a18888a025f170b639558f https://github.com/OpenSC/OpenSC/commit/79e81eeef069c7ded7a18888a025f170b639558f Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Improved PIN change function: - Uses PIN padding from merged policy - Improved PIN-pad logic and merged here from separate function Commit: 471468260eba361eaf644bb3fcfd2eaabf6cdf0b https://github.com/OpenSC/OpenSC/commit/471468260eba361eaf644bb3fcfd2eaabf6cdf0b Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Improved PIN unblock function: - Uses PIN padding from merged policy - Added PIN-pad support - Use ISO 7816 layer to avoid code duplication Commit: 3331a7f134f8805e17ba2e6d791800408d5d1ee0 https://github.com/OpenSC/OpenSC/commit/3331a7f134f8805e17ba2e6d791800408d5d1ee0 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Fix MF selection APDU to use 0x0c in P2 (no data). The previous value of 0x00 is invalid according to IAS-ECC and resulted in 6A 86 on the Oberthur cards that we tested with. Commit: 163b69e6a72194b7d7369eeb843fd40162bb334f https://github.com/OpenSC/OpenSC/commit/163b69e6a72194b7d7369eeb843fd40162bb334f Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Change ADF selection to return FCP for Oberthur cards. No need to simulate since it is supported. Commit: c903ddfce1279fc5023613b232e9b5b07d93c766 https://github.com/OpenSC/OpenSC/commit/c903ddfce1279fc5023613b232e9b5b07d93c766 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Fixed bounds checking and enabled the function again. Commit: ba76bc0239e012004f4c7dbd09146bb80c72eb28 https://github.com/OpenSC/OpenSC/commit/ba76bc0239e012004f4c7dbd09146bb80c72eb28 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Improved syntactic readability without any change in functionality. Commit: 998284dd1ca5327e77a6870818531e993c48e99f https://github.com/OpenSC/OpenSC/commit/998284dd1ca5327e77a6870818531e993c48e99f Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/iasecc.h Log Message: ----------- Removed unused define. Commit: bad74e1ed6bbf87f9ce6c1e9f0ba376679fa5814 https://github.com/OpenSC/OpenSC/commit/bad74e1ed6bbf87f9ce6c1e9f0ba376679fa5814 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- Enabled code for using PUK reference for PIN unblock, when available. Compare: https://github.com/OpenSC/OpenSC/compare/eb3e00a385ac...bad74e1ed6bb |