Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS support #3

Open
mtibben opened this issue Jul 8, 2019 · 1 comment
Open

macOS support #3

mtibben opened this issue Jul 8, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@mtibben
Copy link

mtibben commented Jul 8, 2019

I'm trying to use this library on macOS, but just realised you deactivated support in #2.

Unfortunately I can't find any go library for CryptoTokenKit, so it might be easiest to get this library working. I think it should still be possible to use the PCSC API here. For example, you can see the testpcsc binary on macOS doing it here, which looks like it might be using a socket available at /var/run/pcscd.comm ?

@gballet gballet added the help wanted Extra attention is needed label Sep 14, 2019
@gballet
Copy link
Owner

gballet commented Sep 14, 2019

Indeed, I naively thought macos would behave like FreeBSD, but it didn't so I deactivated it.

I have tried using this library on someone's mac, and indeed they have their own, incompatible version of PCSC that nonetheless gets a hold of pcscd.comm, so unless the user is willing to deactivate the default service, it won't work. I'm happy for any PR that would interface with the crypto token kit, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants