From: Frank M. <no...@gi...> - 2020-07-22 20:59:22
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: e80906d97307cdb36ac48028de8169247afe6890 https://github.com/OpenSC/OpenSC/commit/e80906d97307cdb36ac48028de8169247afe6890 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/pkcs15-pin.c Log Message: ----------- Add path selection to sc_pkcs15_get_pin_info to make it work correctly with local PINs. This makes the code behave the same way as PIN verification, change and unblock, before calling the PIN command handler in the card driver. Commit: 555cb7361551b36930fa5293c6b4f661875d1713 https://github.com/OpenSC/OpenSC/commit/555cb7361551b36930fa5293c6b4f661875d1713 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/pkcs15-pin.c Log Message: ----------- Fix for using the correct info for PIN/PUK (before they were switched). Commit: 6f1df6454a965f2c1ee67ae895e148c70f40d5e4 https://github.com/OpenSC/OpenSC/commit/6f1df6454a965f2c1ee67ae895e148c70f40d5e4 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/pkcs15-pin.c Log Message: ----------- Reject the case that the PIN and PUK padding flags are different, since this case can not be handled by the card driver interface. Better to detect and fail early instead of sending invalid data to the card. Commit: 2b78374e37b44e06a9f9ca45fc9ccf72081a27f6 https://github.com/OpenSC/OpenSC/commit/2b78374e37b44e06a9f9ca45fc9ccf72081a27f6 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/tools/pkcs15-tool.c Log Message: ----------- Print error message for the case that a PUK object is not available for a PIN during an unblock operation (this is a sign of a card with invalid PKCS #15 info). Without this error message the program just terminates silently, which is confusing to the user. Compare: https://github.com/OpenSC/OpenSC/compare/bad74e1ed6bb...2b78374e37b4 |