-
Notifications
You must be signed in to change notification settings - Fork 803
Disable old card drivers and PKCS#15 emulators #2391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Currently disabled card drivers due to no recent user or developer activity: - akis - asepcos - atrust-acos - flex - gpk - incrypto34 - westcos
Filtering of enabled pkcs15 emulators according to conf file. Currently disabled: - westcos - gemsafeGPK - atrust-acos
Basic unit tests for filtering enabled emulators according to conf file
Emulators detect card according to string "CardOS M4", which was changed in card-cardos.c (eee4964), but they were not modified since than accordingly.
| goto out; | ||
| break; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should at least a log warning if we try to add a non-existing emulator. At this moment, it will get silently ignored. Note, that you will need a opensc context for logging in this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pointing out, should be resolved with 86dfd9d
Warnings for exceeding maximum count of filtered emulators and for trying to add non-existing emulator.
Remove due to no user and developer activity. Last relevant modification was f947614 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was 7d935df and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was 7d935df and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391..
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391..
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was f947614 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was 7d935df and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was f947614 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was f947614 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a8908b8 and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was a2f622a and no more changes except general were made. The driver was disabled in OpenSC#2391.
Remove due to no user and developer activity. Last relevant modification was c3de15d and no more changes except general were made. The driver was disabled in OpenSC#2391.
|
Hello, should Wiki articles like https://github.com/OpenSC/OpenSC/wiki/WestCOS be updated accordingly to mention the deletion as well? |
Thanks for noticing, I'll take care of it. |
This PR disables old and recently unmodified card drivers (
card-*.c) and their counterpart PKCS#15 emulators (pkcs15-*.c), and adds boilerplate for disabling old emulators.Developer activity below tracks active developing and maintaining a card driver/emulator, excluding generic changes and fuzzing/static analysis fixes:
card-akis.c: modified 2007card-asepcos.c: modified 2010card-atrust-acos.c(pkcs15-atrust-acos.c): modified 2008card-flex.c: modified 2010card-gpk.c(pkcs15-gemsafeGPK.c): modified 2007card-incrypto34.c: modified 2007card-westcos.c(pkcs15-westcos.c): modified 2010pkcs15-actalis.candpkcs15-tccardos.c: Emulators detect card according to card name, which was changed incard-cardos.cin eee4964 (2017) and they were not updated since this change accordingly, which implies no latest use.There was no recent user activity (issues, bug reports) related to the mentioned cards.
Disabled drivers and emulators can be enabled in
opensc.conf.Filtering of PKCS#15 emulators in
pkcs15-emulator-filter.cenables emulators according toopensc.conffile.Checklist