Abu Hussain Al Mukhtar <[email protected]> writes:
> Hi everyone
>
> I am trying to setup an OpenPGP Smartcard. AFAICT, nothing of the
> sort is discussed in the FAQs or in 'The Guide'.
>
> What I have done so far (I am, as stated, using NetBSD 10.0 release)
>
> 1.- Install gnupg, which also installs scdaemon;
> 2.- Install pcscd and ccid just in case;
> 3.- Connect the USB smart card, of course.
>
> Here to the tricky part: GPG Documentation states that one should use
> EITHER gnupg's built-in scdaemon OR to use pcscd+ccid, the rationale
> behind it being that they interfere with each other since they are both
> trying to take control of the smart card.
I would suggest
- reading enough docs or maybe code to enable debug logs
- using ktrace, and then kdump|egrep NAMI, to see what /dev special
files it is trying to open