Skip to content

Commit

Permalink
Windows Hello PIN implementation
Browse files Browse the repository at this point in the history
This causes Himmelblau to enroll the
authenticating user in Windows Hello for Pin
authentication. It uses the msal rust library
to associate the user chosen Pin with a rsa key,
which is then enrolled in Windows Hello.
This eliminates the problem with MFA prompts at
the lock screen (which didn't work). The user now
treats the Pin code as a local password.

Signed-off-by: David Mulder <[email protected]>
  • Loading branch information
dmulder committed Apr 10, 2024
1 parent 6d95cc4 commit fd5e532
Show file tree
Hide file tree
Showing 3 changed files with 383 additions and 232 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ tracing-subscriber = "^0.3.17"
tracing = "^0.1.37"
himmelblau_unix_common = { path = "src/common" }
kanidm_unix_common = { path = "src/glue" }
msal = { version = "0.1.15" }
#msal = { version = "0.1.15" }
msal = { path = "../microsoft-authentication-library-for-rust" }
graph = { path = "src/graph" }
clap = { version = "^4.5", features = ["derive", "env"] }
clap_complete = "^4.4.1"
Expand Down Expand Up @@ -101,5 +102,5 @@ opentelemetry-stdout = { version = "0.1.0", features = [
] }
tonic = "0.11.0"
tracing-opentelemetry = "0.21.0"
compact_jwt = { version = "0.3.5", features = ["hsm-crypto", "msextensions"] }
kanidm-hsm-crypto = { version = "^0.1.6", features = ["msextensions"] }
compact_jwt = { version = "0.4.0-dev", git = "https://github.com/dmulder/compact-jwt.git", branch = "dmulder/msextensions_build_fix", features = ["hsm-crypto", "msextensions"] }
kanidm-hsm-crypto = { version = "^0.2.0", features = ["msextensions"] }
Loading

0 comments on commit fd5e532

Please sign in to comment.