-
Notifications
You must be signed in to change notification settings - Fork 14
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
Switch pcsclite dependency from cgo to native go #9
Conversation
Doesn't work on my mac because it seems that osx doesn't have a traditional PCSC unix socket any more gballet/go-libpcsclite@2772fd8 |
So this would be Linux only? What's the advantage of this approach in general? |
Looks like it might be complicated on macOS... see https://ludovicrousseau.blogspot.com/search/label/Mac%20OS%20X CryptoTokenKit is the closed-source Apple library, and looks like PC/SC API is implemented on top? |
Maybe we should offer two versions - Darwin + everything else w/o |
Do you thing multiple builds would work here @j0hnsmith ? |
Generally speaking, it's nice to be able to have |
So this basically depends on gballet/go-libpcsclite#3 or any other cross OS solution like it. |
Is this still something you depend on @j0hnsmith / @mtibben? If so, can we try to make some progress here? If the issue here is the missing Yubikey, I can send you one via Amazon ... |
I'm pretty sure there is no cross platform solution available at this time. Also, aws-vault doesn't want native yubikey functionality, it prefers external solutions such as ykman. IMO this can be closed. |
It's not that a native solution isn't wanted, it's that there is no simple cross-platform way to implement. We can close this |
Switch out the pcsclite cgo dependency to a native go dependency.
Please note I don't have a Yubikey, so it would be great to confirm that this works :)