Skip to content

Commit

Permalink
fix: switch to default touch policy never for decrypt slot
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Oct 13, 2021
1 parent 7c42065 commit 5ec62e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/securitykey/slotspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ var defaultDecryptSlots = map[string]SlotSpec{
// private key operations. Once the PIN has been provided successfully,
// multiple private key operations may be performed without additional
// cardholder consent.
"cached": {piv.SlotKeyManagement, piv.TouchPolicyCached},
"never": {piv.SlotKeyManagement, piv.TouchPolicyNever},
}

0 comments on commit 5ec62e8

Please sign in to comment.