From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Subject: bug#31337: Unable to use gnuk usb smartcard token on GuixSD Date: Sat, 02 Jun 2018 14:33:28 -0700 Message-ID: <877engrhzr.fsf@aikidev.net> References: <87r2mvui1b.fsf@aikidev.net> <87efimpuam.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPEA2-0001xv-JE for bug-guix@gnu.org; Sat, 02 Jun 2018 17:34:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPE9y-0008QK-Im for bug-guix@gnu.org; Sat, 02 Jun 2018 17:34:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51710) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPE9y-0008QE-E1 for bug-guix@gnu.org; Sat, 02 Jun 2018 17:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPE9y-0006Bq-4C for bug-guix@gnu.org; Sat, 02 Jun 2018 17:34:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87efimpuam.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Chris Marusich Cc: 31337@debbugs.gnu.org --=-=-= Content-Type: text/plain On 2018-05-07, Chris Marusich wrote: > Vagrant Cascadian writes: > >> Another option might be to use pcsc-lite and ccid, but I had even less >> luck getting that to work. > > When you tried that, did you enable the USB drivers by creating a > symlink as described here? > > https://lists.gnu.org/archive/html/guix-devel/2016-10/msg01433.html With the symlink: lrwxrwxrwx 1 root root 41 Jun 2 06:31 /var/lib/pcsc/drivers -> /home/vagrant/.guix-profile/pcsc/drivers/ Then I tried to run: pcscd --debug --foreground 00000000 pcscdaemon.c:347:main() pcscd set to foreground with debug send to stdout 00000077 pcscdaemon.c:623:main() cannot create /var/run/pcscd: Permission denied Running as root appears to have worked: sudo -E --debug --foreground pcscd Then as a user, "gpg --card-status" works. Haven't tried any other functionality yet, but that's a good start. So this seems like a somewhat complicated workaround, and making a proper pcscd service would reduce the complication significantly. It would obviously be slightly preferable to me for gnupg to support smartcards out of the box. :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlsTDSgACgkQt4uC1IFL kbb1gA//YVdiKmjIMvA8AyUvkNW+E7ZCIHAdctOZtJ5dVCWRLMxYrDfBbDCEnb0h VUKluYcX7+FIdPyddhw1G99zPclPkrXmeGKM9MH3gHydskULmTAMVsfoTbE+4MYk nCEhkRoXi+IPg4YPuULx0lk6rqxKrO9L6a2vmWmIcbE5So4x+aJwssFQuTawZvNS BFlWDU4iipPkZDKlkOmmu6bK18rhz0g0N3g91ipeUEut/MbzRz0mBtcytdsGPv40 w1XqgnyUiy/Ux+20zG5jQNPVrVN8I3YAdsSU1S83fDS+VxjQscT/6q00EDEuT6N5 hpyXI7u/hR0q/bCAuiWGXVvGyPsjkROHq6pcBCvd+p+SQl4qTH7GaSvxO/MnvXPp ffRlcA6hFUA/+euF8mPkJ6AoceUVqkC+qJcqXJU8I+W/Jm7ZJmjHaM59tiKLV8x2 hGlo4pE0k9qVwnwOOpnG1pi9IX/swecbpq+0tt6vLFv0kGbBODBmCjNbXZjIuo8b 0Snp3M41WUHOK658xWwIfsvLOvFg/+rcBpQe56/9+peHmCUQZyqoGRvBxWz3ZF22 YtdyyFOL2vk6kI6Q5hFG6Dee0I6pRXdzdGhjiSHn02lxs3jw6Qaf4UOO4PqWQu9c o04eObHjvgzsWYP6QoZ6ZMWLcNCeF13cIt64H/Ce+VUxD2JGrj0= =8PRS -----END PGP SIGNATURE----- --=-=-=--