Platform Compatibility
WebUSB requires the browser to claim the YubiKey's CCID interface. This may conflict with system drivers:
- macOS: Not Supported — The system's smart card driver claims the CCID interface, blocking WebUSB access. There is no practical workaround.
- Linux: Supported — Works well. May require udev rules for non-root access.
- Windows: Supported — Generally works. Some configurations with smart card drivers may have issues.
- Android: Supported — Works with USB OTG adapter in Chrome.
For macOS, use the native Rust library with PCSC transport instead of this WebUSB demo.
1. Device Connection
Status:
Disconnected
Requires HTTPS and user gesture. A device picker dialog will appear.
2. PIN Verification
PIN Status:
Not verified
3. Key Management
-
Warning: Generate New Key will overwrite any existing key in the slot.