I want to use the NK3 for OpenGPG.
I wanted to install scdaemon. My distro - Mageia 8 - did not know this.
I was able to install ccid.
here is the info Name : ccid Version : 1.4.33 Release : 1.mga8 Architecture : x86_64 Size : 1.5 M Quelle : ccid-1.4.33-1.mga8.src.rpm Repository : @System Aus Paketque : mageia-x86_64 Summary : Generic USB CCID smart card reader driver URL : https://ccid.apdu.fr Lizenz : LGPLv2+ Description : Generic USB CCID (Chip/Smart Card Interface Devices) driver for use with : the PC/SC Lite daemon.
It was shipped with pcsc-lite Name : pcsc-lite Version : 1.9.0 Release : 1.mga8 Architecture : x86_64 Size : 159 k Quelle : pcsc-lite-1.9.0-1.mga8.src.rpm Repository : @System Aus Paketque : mageia-x86_64 Summary : M.U.S.C.L.E. PC/SC Framework for Linux URL : https://github.com/LudovicRousseau/PCSC Lizenz : BSD-like Description : The purpose of PC/SC Lite is to provide a Windows(R) SCard interface : in a very small form factor for communicating to smartcards and : readers. PC/SC Lite uses the same winscard API as used under : Windows(R). This package includes the PC/SC Lite daemon, a resource : manager that coordinates communications with smart card readers and : smart cards that are connected to the system, as well as other command : line tools.
But this didn’t help me using the key as a gpg card.
I get the info that no card was found.
As far as I remember the only change in ccid needed is a some config file update (additional entry for Nitrokey 3), but naturally the safest is a rebuild of it - this should not be complicated. I do not see any binary changes in the relevant commit:
I have updated the firmware and set the UDEV rules.
Status of my device Command line tool to interact with Nitrokey devices 0.4.36 UUID: 6CEB5B3E66B4135FA6C67E24E74291DB Firmware version: v1.4.0 Init status: ok Free blocks (int): 60 Free blocks (ext): 478
gpg --card-list say no device found.
I downloaded the last pcsc-lite tarball and make install this.
This is a part of the result
What I can not install is the ccid package which tells me [...] checking for sys/types.h... yes checking for unistd.h... yes checking for ifdhandler.h... no configure: error: install pcsc-lite 1.8.3 or later, or use ./configure PCSC_CFLAGS=
This is what I do not understand. I did installed pcsc-lite 1.9.9 .
So why I can’t install ccid?
After hours of try and error I found a way to install the ccid package.
Unfortunately I still can not use the NK3 as PGP card.
After I installed everything and started the pcscd daemon
I again get only the info that no card was found
when I try gpg --card-status.
That is not easy
Any Ideas anyone?
For rpm based distros I will post the exactly way to install the pcsclite and ccid package in an other post.