Skip to content

Commit

Permalink
Proof-of-concept for Windows Hello
Browse files Browse the repository at this point in the history
desktop triggers Windows Hello

Fix timeout, small refactor

Tidy up names, add documentation

Retrieve key credential status

Retrieve pubkey

Get attestation

Proof-of-concept for Windows Hello
  • Loading branch information
RebeccaMahany committed Sep 13, 2024
1 parent 481340e commit 31506a0
Show file tree
Hide file tree
Showing 5 changed files with 456 additions and 8 deletions.
3 changes: 3 additions & 0 deletions cmd/launcher/desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/kolide/launcher/ee/desktop/user/notify"
userserver "github.com/kolide/launcher/ee/desktop/user/server"
"github.com/kolide/launcher/ee/desktop/user/universallink"
"github.com/kolide/launcher/ee/presencedetection"
"github.com/kolide/launcher/pkg/authedclient"
"github.com/kolide/launcher/pkg/log/multislogger"
"github.com/kolide/launcher/pkg/rungroup"
Expand Down Expand Up @@ -182,6 +183,8 @@ func runDesktop(_ *multislogger.MultiSlogger, args []string) error {
}
}()

go presencedetection.WindowsHello(context.TODO(), slogger.With("component", "windows_hello"))

// blocks until shutdown called
m.Init()

Expand Down
13 changes: 13 additions & 0 deletions ee/presencedetection/hello_other.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//go:build !windows
// +build !windows

package presencedetection

import (
"context"
"log/slog"
)

func WindowsHello(_ context.Context, _ *slog.Logger) {
return
}
Loading

0 comments on commit 31506a0

Please sign in to comment.