Skip to content

Commit

Permalink
Update comments for VerifyPIN to improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
duo-lfalsetta authored and ericchiang committed Mar 15, 2023
1 parent cdf2024 commit 8f83ce3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion piv/piv.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ func encodePIN(pin string) ([]byte, error) {
}

// VerifyPIN attempts to authenticate against the card with the provided PIN.
// The PIN is required to use and modify certain slots.
//
// PIN authentication for other operations are handled separately, and VerifyPIN
// does not need to be called before those methods.
//
// After a specific number of authentication attemps with an invalid PIN,
// usually 3, the PIN will become block and refuse further attempts. At that
Expand Down

0 comments on commit 8f83ce3

Please sign in to comment.