From: Peter P. <no...@gi...> - 2023-06-28 10:11:33
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: e86a30d6dfb068a63707d0ed729203f5a01a5076 https://github.com/OpenSC/OpenSC/commit/e86a30d6dfb068a63707d0ed729203f5a01a5076 Author: Peter Popovec <pop...@gm...> Date: 2023-06-28 (Wed, 28 Jun 2023) Changed paths: M src/libopensc/cardctl.h M src/libopensc/pkcs15-cache.c Log Message: ----------- Use "change counter" value from card (if available) for filename in cache. The card's file cache needs a timestamp so that we know when the cache does not match the card's content. The solution used so far is based on information from EF.Tokeninfo, where the time of the last modification of the card is recorded. However, EF.Tokeninfo does not provide sufficient granularity of the timestamp and is not updated atomically for changes on the card. Some of the cards provide an internal "change counter", which is incremented after each change of the card's content. If such information is available, it is used as a timestamp for the name of the card's cached file. modified: src/libopensc/cardctl.h modified: src/libopensc/pkcs15-cache.c Commit: d5e7459a3580a5486b43fffb66bd1aabddf5f504 https://github.com/OpenSC/OpenSC/commit/d5e7459a3580a5486b43fffb66bd1aabddf5f504 Author: Peter Popovec <pop...@gm...> Date: 2023-06-28 (Wed, 28 Jun 2023) Changed paths: M src/libopensc/card-myeid.c Log Message: ----------- MyEID: added implementation for SC_CARDCTL_GET_CHANGE_COUNTER Commit: df693351f8ca823d6e118ff751b649eeb3f540d5 https://github.com/OpenSC/OpenSC/commit/df693351f8ca823d6e118ff751b649eeb3f540d5 Author: Peter Popovec <pop...@gm...> Date: 2023-06-28 (Wed, 28 Jun 2023) Changed paths: M doc/files/files.html M src/libopensc/pkcs15.c Log Message: ----------- enable use_file_cache for MyEID card Compare: https://github.com/OpenSC/OpenSC/compare/83c468d33726...df693351f8ca |