AlfioEmanueleFresta / xdg-credentials-portal

FIDO2 (WebAuthn) and FIDO U2F platform library for Linux written in Rust; includes a proposal for a new D-Bus Portal interface for FIDO2, accessible from Flatpak apps and Snaps 🔑
GNU Lesser General Public License v2.1
366 stars 13 forks source link

How do I run the reference portal? #40

Open casept opened 1 year ago

casept commented 1 year ago

The README has a demo showing off the reference portal implementation.

How can this demo be run? cargo reports not finding any binary targets in the workspace:

$ cargo run --all-features
error: a bin target must be available for `cargo run`
AlfioEmanueleFresta commented 1 year ago

Hey @casept! There is no portal implementation yet, but you can try out one of the libwebauthn examples:

$ cd libwebauthn/
$ cargo run --example u2f_hid
$ cargo run --example u2f_ble
$ cargo run --example webauthn_hid

I would really appreciate if you could update the verified hardware list if you manage to get this working on your devices, or report any issues you encounter.

I'm currently working on Passkey integration on the cable branch. This will add example webauthn_cable which allows using a Passkey created on your Android or iOS device - including those synced to Google Password Manager or iCloud Keychain.

I will resume working on the portal proposal after that, as I think Passkeys would now bring most value (as opposed to USB security keys).