From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: udev-rules for my FST-01 gnuk security token Date: Sat, 14 Jul 2018 03:54:21 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe6UO-0002jW-UA for help-guix@gnu.org; Fri, 13 Jul 2018 18:24:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fe6UJ-0000nE-Uw for help-guix@gnu.org; Fri, 13 Jul 2018 18:24:36 -0400 Received: from [2001:19f0:5:274f:351:616f:fec3:2694] (port=53914 helo=vultr.systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fe6UJ-0000ed-A7 for help-guix@gnu.org; Fri, 13 Jul 2018 18:24:31 -0400 Received: from [124.40.246.228] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fe6Qx-0001St-2d for help-guix@gnu.org; Sat, 14 Jul 2018 03:51:03 +0530 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org I am trying to get my FST-01 gnuk security token working on GuixSD. According to their documentation (https://www.fsij.org/doc-gnuk/udev-rules.html), I need to add a custom udev-rule. I am trying to use the configuration shown below to achieve the same. But, I don't see any file by the name "60-gnupg.rules" created in my /run/current-system/profile/lib/udev/rules.d/. Am I doing something wrong or is my expectation incorrect? Has anyone successfully used a FST-01 gnuk security token in GuixSD? (use-modules (gnu)) (define %gnuk-udev-rule (udev-rule "60-gnupg.rules" "ATTR{idVendor}==\"234b\", ATTR{idProduct}==\"0000\", ENV{ID_SMARTCARD_READER}=\"1\", ENV{ID_SMARTCARD_READER_DRIVER}=\"gnupg\"")) (operating-system (host-name "adamantium") (timezone "Asia/Kolkata") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device "my-root") (mount-point "/") (type "ext4")) %base-file-systems)) (users %base-user-accounts) (packages %base-packages) (services (modify-services %base-services (udev-service-type config => (udev-configuration (inherit config) (rules (append (udev-configuration-rules config) (list %gnuk-udev-rule))))))))