zig-ctap2
Portable FIDO2/WebAuthn -- direct USB HID communication with security keys, no Apple entitlements
Install
zig fetch --save git+https://github.com/Jesssullivan/zig-ctap2.git Overview
Portable CTAP2/FIDO2 library in Zig — direct USB HID communication with security keys (YubiKey, SoloKeys, etc.), no Apple entitlements or platform authentication frameworks needed.
License: Zlib OR MIT
Apple's ASAuthorizationController requires a restricted entitlement + provisioning profile for WebAuthn in general-purpose browsers. This library talks directly to FIDO2 devices over USB HID via IOKit (macOS) and hidraw (Linux), bypassing platform authentication frameworks entirely.
- CTAP2...