{"repo":"Zig-Sec/keylib","free":true,"listed":false,"github":"https://github.com/Zig-Sec/keylib","clone":"git clone https://github.com/Zig-Sec/keylib.git","description":"work is continued on codberg: https://codeberg.org/r4gus/keylib","language":"Zig","stars":67,"topics":["authentication","authenticator","ctap","ctap2","fido2","webauthn","zig","ziglang","passkey","passkeys"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"keylib FIDO2 compatible authenticator and client library written in Zig. This package can serve two purposes: 1. Create FIDO2/ Passkey compatible authenticators: - Examples - PassKeeZ - A FIDO/ Passkey compatible Authenticator for Linux - PassKeeZero - Turn your Raspberry Pi Zero 2 W into a FIDO2 security key - Test the example using one of the following test sites: - passkey.org - webauthn.io - passkeys.io - but you can also use the library on embedded devices, e.g. to create your own security key (similar to YubiKey, SoloKey, ...) 2. Add FIDO2/ Passkey support to your application using the client module. - We provide a variety of examples here - On linux it might be required to install the udev developer package, e.g. libudev-dev on Ubuntu. 3. If you want to add WebAuthn/ Passkey support to your server, check out passcay maintained U-Zyn Chua! The CTAP2 specification offers a lot of configurations for authenticators. If you're looking for a specific example and can't find it here or run into a bug, consider opening an issue. I'm open to add new features as long as you're also willing to contribute (in some form) to the project. Zig version keylib version :-----------: :--------------: 0.13.0 0.5.0, 0.5.1, 0.5.2, 0.5.3 0.14.x 0.6.0, 0.6.1 0.15.x 0.7.0, 0.8.0 0.16.x master Getting Started First add this project as a dependency to your build.zig.zon file: Then, within your build.zig add the following code: Then within your project just use @import(\"keylib\") (or one of the othe","default_branch":null,"files":null,"tree":[],"storefront":"/r/Zig-Sec","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Zig-Sec/keylib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}