NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenPGP Card (USB) in NetBSD 10.0



Hi Greg

First and foremost sorry for the long delay.

I was able to isolate this (at least in my very naive point of view)
as a driver problem: I have here lying around an older Gemalto USB
reader, which is indeed detected without trouble in pcsc_scan, but
the actual key I am trying to use - a Nitrokey 3 - isn't, even though,
according to pcsc-lite's driver playlist, it should be supported.

I tried the same approach in both DragonFly and OpenBSD, which do detect
the card - so I am out of ideas :/

Thanks for your help!

* Greg Troxel <gdt%lexort.com@localhost>:
> Abu Hussain Al Mukhtar <abuhussain%secure.mailbox.org@localhost> 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



Home | Main Index | Thread Index | Old Index