Skip to content

Commit 302cd08

Browse files
committed
removed pcscd
Signed-off-by: Zen <[email protected]>
1 parent 4feb9f7 commit 302cd08

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

ugrd/crypto/smartcard.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '0.2.1'
2+
__version__ = '0.2.2'
33

44

55
def fetch_keys(self) -> None:
@@ -28,11 +28,3 @@ def import_keys(self) -> str:
2828
if 'sc_public_key' in self.config_dict:
2929
return f"gpg --import {self.config_dict['sc_public_key']}"
3030

31-
32-
def write_scdaemon_conf(self) -> None:
33-
"""
34-
Write the scdaemon.conf file.
35-
Tell it to disable the internal CCID driver, so pcscd will be used.
36-
"""
37-
self._write("/etc/scdaemon.conf", ["disable-ccid"])
38-

ugrd/crypto/smartcard.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
modules = [ "ugrd.crypto.gpg" ]
22

3-
binaries = [ "/usr/libexec/scdaemon", "pcscd" ]
3+
binaries = [ "/usr/libexec/scdaemon" ]
44

55
_kmod_depend = "uhid"
66
cryptsetup_autoretry = false
@@ -15,9 +15,6 @@ sc_public_key = "str" # The path to the public key to import
1515
[imports.build_pre]
1616
"ugrd.crypto.smartcard" = [ "fetch_keys" ]
1717

18-
[imports.build_tasks]
19-
"ugrd.crypto.smartcard" = [ "write_scdaemon_conf" ]
20-
2118
[imports.init_early]
2219
"ugrd.crypto.smartcard" = [ "import_keys" ]
2320

ugrd/initramfs_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
__author__ = "desultory"
3-
__version__ = "0.12.1"
3+
__version__ = "0.12.2"
44

55

66
from tomllib import load

0 commit comments

Comments
 (0)