Skip to content

Conversation

@pando85
Copy link

@pando85 pando85 commented Nov 9, 2025

Hello there,

First of all, thank you for this implementation — it’s great to see projects like this in the Zig ecosystem.

I’m currently building Rust bindings for keylib and added C bindings to expose the full functionality of the library. My goal is to make it possible to use the entire keylib API from Rust, while implementing some components natively in Rust for better integration.

I understand that maintaining these bindings can be challenging, but I’ve set up a separate package where I’m implementing end-to-end tests that validate the WebAuthn flow against a real authenticator using these bindings from Rust.

@pando85
Copy link
Author

pando85 commented Nov 9, 2025

Linked to #29

@r4gus r4gus self-assigned this Nov 19, 2025
@r4gus r4gus added the enhancement New feature or request label Nov 19, 2025
@r4gus
Copy link
Member

r4gus commented Nov 19, 2025

Thanks for the PR!

First of all sorry that I haven't replied sooner. Since I moved the project to Zig-Sec I don't get notified automatically.

I'll read through the commits in the following days.

@pando85
Copy link
Author

pando85 commented Nov 19, 2025

To be honest, I tried to make something work and the implementation was a bit chaotic. I'm new to Zig and didn't want to touch the library itself, just the bindings, and I feel like I'm reimplementing a lot of things.

I did more changes in my main branch and finally get something fully functional but I don't know if it will worth to you.
At the end I'm moving to a pure Rust implementation, based on your library and heavily inspired by it.

If something that I did is useful for this project, I will be happy, but I'm unsure. The library which used these changes is here: https://github.com/pando85/rust-keylib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants