Yubico/yubico-piv-tool

ykcs11 ssh nfc?

AaronJackson opened this issue · 1 comments

Hi,

I was trying to figure out if it is possible to use the ykcs11 library with NFC readers for SSH PIV authentication, since I'm able to talk to my yubikey from piv-tool via NFC if I set the reader to an empty string or acs (as shown below). I wasn't able to find any environment variables or arguments which I can pass for telling it to use a different reader. I tried re-compiling the library with the default set to "" in tool/cmdline.ggo but it only picked this up from yubico-piv-tool, not libykcs11.

Any ideas?

Thanks,
Aaron

[aaron@carbon ~]$ /usr/bin/yubico-piv-tool --verbose -a status --reader ""
Connect reader 'ACS ACR122U 00 00' matching ''.
Now processing for action 'status'.
Action 'status' does not need authentication.
Version:	5.4.3
...

Ah, nevermind, it seems to work. I had an old version installed and it was higher up in my library path!

Very cool! :-) Thanks