NB! This project is outdated and unmaintained, please refer to the OpenSC WindowsInstaller instead!
| r62 | r79 | |
|---|---|---|
| 5 | 5 | |
| 6 | 6 | # Default values for any application |
| 7 | # These can be overrid |
|
| 7 | # These can be overridden by an application | |
| 8 | 8 | # specific configuration block. |
| 9 | 9 | app default { |
| … | … | |
| 44 | 44 | # last entry in reader_drivers list |
| 45 | 45 | # |
| 46 | # reader_drivers = |
|
| 46 | # reader_drivers = pcsc, ctapi; | |
| 47 | 47 | |
| 48 | 48 | reader_driver ctapi { |
| … | … | |
| 59 | 59 | # Define parameters specific to your readers. |
| 60 | 60 | # The following section shows definitions for PC/SC readers, |
| 61 | # but the same set of variables are applica |
|
| 61 | # but the same set of variables are applicable to ctapi and | |
| 62 | 62 | # openct readers, simply by using "reader_driver ctapi" and |
| 63 | 63 | # "reader_driver openct", respectively. |
| 64 | 64 | reader_driver pcsc { |
| 65 | 65 | # This sets the maximum send and receive sizes. |
| 66 | # Some IFD handlers do not properly handle APDUs with | |
| 67 | # large lc or le bytes. | |
| 68 | # | |
| 69 | max_send_size = 252; | |
| 70 | max_recv_size = 252; | |
| 71 | # | |
| 66 | # Some reader drivers have limitations, so you need | |
| 67 | # to set these values. For usb devices check the | |
| 68 | # properties with lsusb -vv for dwMaxIFSD | |
| 69 | # | |
| 70 | #max_send_size = 252; | |
| 71 | #max_recv_size = 252; | |
| 72 | ||
| 72 | 73 | # Connect to reader in exclusive mode. |
| 73 | 74 | # Default: false |
| … | … | |
| 80 | 81 | # Reset the card after each transaction. |
| 81 | 82 | # Default: false |
| 82 | # trans |
|
| 83 | # transaction_reset = true; | |
| 83 | 84 | # |
| 84 | 85 | # Enable pinpad if detected (PC/SC v2.0.2 Part 10) |
| … | … | |
| 86 | 87 | # enable_pinpad = true; |
| 87 | 88 | } |
| 88 | ||
| 89 | ||
| 90 | ||
| 91 | ||
| 92 | ||
| 93 | ||
| 94 | 89 | |
| 95 | 90 | # What card drivers to load at start-up |
| … | … | |
| 143 | 138 | # belpic Belpic cards |
| 144 | 139 | # emv EMV compatible cards |
| 140 | # piv U.S. NIST 800-73-1 PIV | |
| 145 | 141 | |
| 146 | 142 | # Generic format: card_atr <hex encoded ATR (case-sensitive!)> |
| … | … | |
| 218 | 214 | # name = "PIV-II"; |
| 219 | 215 | # driver = "piv"; |
| 220 | ||
| 221 | 216 | # } |
| 222 | 217 | |
| 223 | # Estonian ID card and Micardo driver currently play together with T=0 only. | |
| 224 | # In theory only the 'cold' ATR should be specified, as T=0 will be the preferred | |
| 225 | # protocol once you boot it up with T=0, but be paranoid. | |
| 218 | # Estonian ID card and Micardo driver currently play together with T=0 | |
| 219 | # only. In theory only the 'cold' ATR should be specified, as T=0 will | |
| 220 | # be the preferred protocol once you boot it up with T=0, but be | |
| 221 | # paranoid. | |
| 226 | 222 | card_atr 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 { |
| 227 | 223 | force_protocol = t0; |
| … | … | |
| 268 | 264 | # enable_builtin_emulation = yes; |
| 269 | 265 | # list of the builtin pkcs15 emulators to test |
| 270 | builtin_emulators = esteid, openpgp, tcos, starcert, infocamere, postecert, actalis, atrust-acos |
|
| 266 | builtin_emulators = esteid, openpgp, tcos, starcert, infocamere, postecert, actalis, atrust-acos, gemsafe, tccardos, PIV-II; | |
| 271 | 267 | |
| 272 | 268 | # additional settings per driver |
| 273 | 269 | # |
| 274 | # For pkcs15 emulators loaded from an external shared |
|
| 275 | # |
|
| 276 | # |
|
| 270 | # For pkcs15 emulators loaded from an external shared | |
| 271 | # library/DLL, you need to specify the path name of the module | |
| 272 | # and customize the card_atr example above correctly. | |
| 277 | 273 | # |
| 278 | 274 | # emulate custom { |
| … | … | |
| 286 | 282 | app opensc-pkcs11 { |
| 287 | 283 | pkcs11 { |
| 288 | # Max |
|
| 284 | # Maximum number of slots per smart card. | |
| 289 | 285 | # If the card has fewer keys than defined here, |
| 290 | 286 | # the remaining number of slots will be empty. |
| … | … | |
| 330 | 326 | # cache_pins = true |
| 331 | 327 | # |
| 332 | # Default: |
|
| 333 | # cache_pins = |
|
| 334 | ||
| 335 | # Set this value to false if you want to enfor |
|
| 328 | # Default: true | |
| 329 | # cache_pins = false; | |
| 330 | ||
| 331 | # Set this value to false if you want to enforce on-card | |
| 336 | 332 | # keypair generation |
| 337 | 333 | # |