Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
62f1238
feat: Hardware Key Agent - Add `api/utils/keys/hardwarekey` package (…
Joerger Apr 7, 2025
46e822f
feat: Hardware Key Agent - Add `hardwarekey.Service` interface with a…
Joerger Apr 9, 2025
9171692
feat: Hardware Key Agent - Add `api/harwdarekey/piv` package (#53677)
Joerger Apr 10, 2025
eea57b4
feat: Hardware Key Agent - Enrich the PEM encoded hardware private ke…
Joerger Apr 10, 2025
ecbc47f
feat: Hardware Key Agent - set hardware key service in client store (…
Joerger Apr 11, 2025
bf21f85
feat: Hardware Key Agent - Propagate contextual key info from key sto…
Joerger Apr 11, 2025
4d88e51
feat: Hardware Key Agent - consolidate globally shared PIV service va…
Joerger Apr 15, 2025
710f02d
Move RemoveProfile and ListProfileNames into ProfileStore. (#53781)
Joerger Apr 11, 2025
4b522fa
feat: Hardware Key PIN caching (#53976)
Joerger Apr 16, 2025
e886abb
Revert pin caching change for connect to fix race condition. (#54140)
Joerger Apr 18, 2025
63df6bc
feat: Hardware Key Agent (#54026)
Joerger Apr 17, 2025
08a9e3e
feat: Hardware Key Agent - require users to configure certificate (#5…
Joerger Apr 18, 2025
540c0cd
Remove MaxUint32 call to fix builds on 32-bit systems. (#54125)
Joerger Apr 18, 2025
881a193
feat: Hardware Key Agent - command hint (#54090)
Joerger Apr 18, 2025
03b5e4b
feat: Hardware Key Agent w/ PIN caching - fix cross-cluster support (…
Joerger Apr 23, 2025
819262c
Style hardware key prompt with command in Connect (#54258)
Joerger Apr 24, 2025
318dc99
feat: Hardware Key Agent - fix socket replacement on Windows (#54126)
Joerger Apr 22, 2025
a9387c3
feat: Hardware Key Agent - initialize hardware key service at start o…
Joerger Apr 24, 2025
9a9fd27
Require ClientStore in `client.Config` (#54227)
Joerger Apr 24, 2025
62d6225
feat: PIV PIN Caching - add file config option (#54328)
Joerger Apr 25, 2025
b3ac726
Restore namespace in client config.
Joerger Apr 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion api/client/webclient/webclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import (
"github.com/gravitational/teleport/api/types"
"github.com/gravitational/teleport/api/utils"
"github.com/gravitational/teleport/api/utils/keys"
"github.com/gravitational/teleport/api/utils/keys/hardwarekey"
)

const (
Expand Down Expand Up @@ -544,7 +545,9 @@ type AuthenticationSettings struct {
// PrivateKeyPolicy contains the cluster-wide private key policy.
PrivateKeyPolicy keys.PrivateKeyPolicy `json:"private_key_policy"`
// PIVSlot specifies a specific PIV slot to use with hardware key support.
PIVSlot keys.PIVSlot `json:"piv_slot"`
PIVSlot hardwarekey.PIVSlotKeyString `json:"piv_slot"`
// PIVPINCacheTTL specifies how long to cache the user's PIV PIN.
PIVPINCacheTTL time.Duration `json:"piv_pin_cache_ttl"`
// DeviceTrust holds cluster-wide device trust settings.
DeviceTrust DeviceTrustSettings `json:"device_trust,omitempty"`
// HasMessageOfTheDay is a flag indicating that the cluster has MOTD
Expand Down
3 changes: 3 additions & 0 deletions api/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,3 +512,6 @@ const (
// specifically using the `terraform` join method.
EnvVarTerraformCloudJoinAudienceTag = "TF_TELEPORT_JOIN_AUDIENCE_TAG"
)

// MaxPIVPINCacheTTL defines the maximum allowed TTL for PIV PIN client caches.
const MaxPIVPINCacheTTL = time.Hour
Loading
Loading