From: Frank M. <no...@gi...> - 2020-03-03 21:55:37
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: ad7eb834cf20e1e8f5889b1f095162763abcd053 https://github.com/OpenSC/OpenSC/commit/ad7eb834cf20e1e8f5889b1f095162763abcd053 Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/libopensc/pkcs15-gemsafeGPK.c Log Message: ----------- fixed indenting Commit: af40303fe8e94c7cd103f1eb980cdd872dc9b6d2 https://github.com/OpenSC/OpenSC/commit/af40303fe8e94c7cd103f1eb980cdd872dc9b6d2 Author: Doug Engert <dee...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/pkcs11/sc-pkcs11.h M src/pkcs11/slot.c Log Message: ----------- Improved Handling of PKCS11 Slots OpenSC PKCS11 now retains slots even when the reader is removed. It can do this because existing OpenSC reader handling in ctx.c, reader-pcsc.c and PC/SC allow OpenSC to do this. This simplifies the code, and allow a reader to be reinserted and use the existing slot. This matching is actually done in reader-pcsc.c because PC/SC returns the unique ids based on the OS reader names. This is then used as the manufacturerID By not deleting slots the slot list can only increase which is a restriction of Firefox. It does not fix all the Firefox issues, but it does not go into a loop, when all the readers are removed. The defaults in opensc.conf for max-virtual-readers and slots-per-card allow for 4 different readers used during one session. On branch PKCS11-SLOTS-3 Changes to be committed: modified: sc-pkcs11.h modified: slot.c Commit: d54f346937e478e81d36a942e3a5df7834db11d1 https://github.com/OpenSC/OpenSC/commit/d54f346937e478e81d36a942e3a5df7834db11d1 Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/pkcs11/pkcs11-global.c M src/pkcs11/sc-pkcs11.h M src/pkcs11/slot.c Log Message: ----------- pkcs11: simpify reader removal - reader (slot) description is already initialized init_slot_info() - objects and logins are already released in slot_token_removed Commit: ce704f5eb15d103ab6db1ba974548f8bb3e5882b https://github.com/OpenSC/OpenSC/commit/ce704f5eb15d103ab6db1ba974548f8bb3e5882b Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/pkcs11/sc-pkcs11.h Log Message: ----------- removed unused plug_and_play parameter see 1fb741338a010515b35f28cd9c769561f3e574a2 Commit: 5b9af968518344ba92b7023428280873fab1d34e https://github.com/OpenSC/OpenSC/commit/5b9af968518344ba92b7023428280873fab1d34e Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/pkcs11/pkcs11-global.c M src/pkcs11/slot.c Log Message: ----------- pkcs11: reclaim unused slots based on reader description When a reader is removed and reattached, this re-uses the old slot without relying on the fact that the sc_reader_t is unchanged. Commit: 14e396273ca06e6bbed7e3484166f64373501972 https://github.com/OpenSC/OpenSC/commit/14e396273ca06e6bbed7e3484166f64373501972 Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/libopensc/reader-pcsc.c Log Message: ----------- reader-pcsc: fixed handling of detatching events - allows re-attatching a reader to an existing reader object by resetting the SC_READER_REMOVED flag - readers that are flagged with SC_READER_REMOVED are not used for SCardGetStatusChange to avoid SCARD_E_UNKNOWN_READER fixes https://github.com/OpenSC/OpenSC/issues/1903 Commit: 649ee272eca4d5ca659e70059b32cd3375e5404e https://github.com/OpenSC/OpenSC/commit/649ee272eca4d5ca659e70059b32cd3375e5404e Author: Frank Morgner <fra...@gm...> Date: 2020-03-03 (Tue, 03 Mar 2020) Changed paths: M src/libopensc/reader-cryptotokenkit.m Log Message: ----------- reader-cryptotokenkit: fixed handling of reattached reader Compare: https://github.com/OpenSC/OpenSC/compare/c212776f45ba...649ee272eca4 |