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

NFC support #13

Closed
daxpedda opened this issue May 27, 2021 · 2 comments
Closed

NFC support #13

daxpedda opened this issue May 27, 2021 · 2 comments

Comments

@daxpedda
Copy link

I know the project is called ctap-hid-fido2, but is support for NFC in scope?

I was looking into the details of it, I guess the most straightforward way would be to send APDU messages over the respective NFC APIs of each OS.

Respective API documentations:

Some example implementations:

For Linux it might also be useful to go through a daemon: https://github.com/linux-nfc/neard.

Potentially it might be much simpler to use PCSC to accomplish the task. There is a cross-platform Rust crate too: https://crates.io/crates/pcsc. There is also a PR to do this implementation right here: mozilla/authenticator-rs#114.

@gebogebogebo
Copy link
Owner

@daxpedda

Thank you very much!
I haven't found a good crate that uses NFC with Rust, but PCSC looks good.
I don't plan to support NFC in this crate, but I would like to consider supporting it in another crate.

I'm working on a library that supports NFC and BLE for Windows, if you're interested.

CTAPcs
https://github.com/gebogebogebo/CTAPcs

@daxpedda
Copy link
Author

We are actually looking for a Rust implementation, CTAPcs will be a great reference nonetheless.
Feel free to close this issue if it's out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants