1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-21 02:11:54 +01:00
bitwarden-browser/apps/desktop/desktop_native/windows-plugin-authenticator
Colton Hurst 8b62dad247
[PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112)
* PM-17619: Add intial Windows WebAuthn Plugin Authenticator bindings crate

* PM-17619: Move crate to desktop_native

* PM-17619: Update codeowners file

* PM-17619: Fix failing Mac build

* PM-17619: Switch to OUT_DIR

* PM-17619: cargo fmt

* PM-17619: Update bindings output dir

* PM-17619: Use std::env::var for OUT_DIR

* PM-17619: Prevent clippy failures on the generated Rust code

* PM-17619: Test moving the clippy:all

* PM-17619: Small updates

* PM-17619: Remove todo

* PM-17619: Ignore rustc warnings on the generated code

* PM-17619: Address PR comments
2025-02-03 09:53:53 -05:00
..
src [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112) 2025-02-03 09:53:53 -05:00
build.rs [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112) 2025-02-03 09:53:53 -05:00
Cargo.toml [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112) 2025-02-03 09:53:53 -05:00
pluginauthenticator.hpp [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112) 2025-02-03 09:53:53 -05:00
README.md [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112) 2025-02-03 09:53:53 -05:00

windows-plugin-authenticator

This is an internal crate that's meant to be a safe abstraction layer over the generated Rust bindings for the Windows WebAuthn Plugin Authenticator API's.

You can find more information about the Windows WebAuthn API's here.

Building

To build this crate, set the following environment variables:

  • LIBCLANG_PATH -> the path to the bin directory of your LLVM install (more info)

Bash Example

export LIBCLANG_PATH='C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin'

PowerShell Example

$env:LIBCLANG_PATH = 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin'