-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcanokey-minidriver.inf.in
More file actions
94 lines (76 loc) · 3.13 KB
/
Copy pathcanokey-minidriver.inf.in
File metadata and controls
94 lines (76 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[Version]
Signature="$Windows NT$"
Class=SmartCard
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider=%ManufacturerName%
;CatalogFile=delta.cat
;PnpLockdown=1
DriverVer=@CMD_DRIVERDATE@,@CMD_DRIVERVER@
[Manufacturer]
%ManufacturerName%=CanoKey,NTamd64.6.1,NTx86.6.1,NTarm64.10
; Now we only compile and ship canokey_minidriver.dll natively on each arch,
; TODO: enable and complete more DDInstall sections, and switch to those different sections
[CanoKey.NTamd64.6.1]
%CanoKeyMiniDriver%=CanoKeyMiniDriver_amd64_Install,%CanoKeyFilter%
[CanoKey.NTx86.6.1]
%CanoKeyMiniDriver%=CanoKeyMiniDriver_amd64_Install,%CanoKeyFilter%
[CanoKey.NTarm64.10]
%CanoKeyMiniDriver%=CanoKeyMiniDriver_amd64_Install,%CanoKeyFilter%
[CanoKeyMiniDriver_amd64_Install.NT]
CopyFiles=CopyFiles_amd64
;CopyFiles=CopyFiles_wow64
AddReg=AddReg_default
;AddReg=AddReg_wow64
Include=umpass.inf
Needs=UmPass
[CanoKeyMiniDriver_amd64_Install.NT.Services]
Include=umpass.inf
Needs=UmPass.Services
[CanoKeyMiniDriver_amd64_Install.NT.HW]
Include=umpass.inf
Needs=UmPass.HW
[CanoKeyMiniDriver_amd64_Install.NT.CoInstallers]
Include=umpass.inf
Needs=UmPass.CoInstallers
[CanoKeyMiniDriver_amd64_Install.NT.Interfaces]
Include=umpass.inf
Needs=UmPass.Interfaces
[SourceDisksNames]
1=%CanoKeyMiniDriverDisk%
[SourceDisksFiles]
%SmartCardModule%=1
%SmartCardModuleAMD64%=1
%SmartCardModuleARM64%=1
[DestinationDirs]
CopyFiles_amd64=10,system32
CopyFiles_arm64=10,system32
CopyFiles_x86=10,system32
CopyFiles_wow64=10,syswow64
[CopyFiles_amd64]
%SmartCardModule%;,%SmartCardModuleAMD64%
[CopyFiles_arm64]
%SmartCardModule%;,%SmartCardModuleARM64%
[CopyFiles_x86]
%SmartCardModule%
[AddReg_default]
HKLM, %SmartCardKey%,"ATR",0x00000001,3b,f7,11,00,00,81,31,fe,65,43,61,6e,6f,6b,65,79,99
HKLM, %SmartCardKey%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM ,%SmartCardKey%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM ,%SmartCardKey%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardKey%,"80000001",0x00000000,%SmartCardModule%
[AddReg_wow64]
HKLM, %SmartCardKeyWOW64%,"ATR",0x00000001,3b,f7,11,00,00,81,31,fe,65,43,61,6e,6f,6b,65,79,99
HKLM, %SmartCardKeyWOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %SmartCardKeyWOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardKeyWOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardKeyWOW64%,"80000001",0x00000000,%SmartCardModule%
[Strings]
ManufacturerName="CanoKey"
CanoKeyMiniDriver="CanoKey Minidriver@CMD_NAME_SUFFIX@"
CanoKeyFilter="SCFILTER\CID_43616e6f6b6579"
CanoKeyMiniDriverDisk="CanoKey Minidriver Installation Disk"
SmartCardKey="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CanoKey"
SmartCardKeyWOW64="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CanoKey"
SmartCardModule="@CMD_LIB_NAME@.dll"
SmartCardModuleAMD64="@CMD_LIB_NAME@-amd64.dll"
SmartCardModuleARM64="@CMD_LIB_NAME@-arm64.dll"