-
-
Save tgreil/cfda9fb2cd041dfcf37eec70d7df0022 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app default { | |
debug = 3; | |
debug_file = /tmp/opensc-debug.log; | |
card_drivers = iasecc; | |
force_card_driver = iasecc; | |
card_atr 3b:df:18:ff:81:91:fe:1f:c3:00:31:38:64:47:90:ec:c2:73:14:01:50:82:90:00:ba { | |
type = 25004; | |
driver = "iasecc"; | |
name = "Card"; | |
} | |
} | |
app onepin-opensc-pkcs11 { | |
pkcs11 { | |
max_virtual_slots = 4; | |
slots_per_card = 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pam_pkcs11 { | |
nullok = false; | |
debug = true; | |
use_first_pass = false; | |
try_first_pass = false; | |
use_authtok = true; | |
without_login = true; | |
use_pkcs11_module = opensc; | |
pkcs11_module opensc { | |
module = /opt/opensc/lib/onepin-opensc-pkcs11.so; | |
description = "OpenSC PKCS#11 module"; | |
slot_num = 0, | |
ca_dir = /etc/pam_pkcs11/cacerts; | |
crl_dir = /etc/pam_pkcs11/crls; | |
cert_policy = crl_offline; # bug | |
token_type = "Smart card"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment