From: GitHub <no...@gi...> - 2018-12-05 11:42:35
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: ba7704291180882dbfa18705f4169a88bc5d61ae https://github.com/OpenSC/OpenSC/commit/ba7704291180882dbfa18705f4169a88bc5d61ae Author: Luka Logar <luk...@in...> Date: 2018-12-05 (Wed, 05 Dec 2018) Changed paths: M src/pkcs11/framework-pkcs15.c Log Message: ----------- Fix token label formatting PKCS#15 token label may be padded with spaces, trim it when making a PKCS#11 token label in order not to loose closing parenthesis. I would actually prefer for the token label to be "myCard (User PIN)" instead of current "User PIN (myCard)" before: $ pkcs11-tool --list-slots Available slots: Slot 0 (0x0): OMNIKEY AG CardMan 3121 00 00 token label : User PIN (myCard ... after: $ pkcs11-tool --list-slots Available slots: Slot 0 (0x0): OMNIKEY AG CardMan 3121 00 00 token label : User PIN (myCard) ... **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |