From 8f83ce3b4b44ccddbaf37fb8fec1605450bf5e78 Mon Sep 17 00:00:00 2001 From: Lucas Falsetta Date: Wed, 15 Mar 2023 13:52:30 -0400 Subject: [PATCH] Update comments for VerifyPIN to improve clarity --- piv/piv.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piv/piv.go b/piv/piv.go index 3921f24..fe1ac2f 100644 --- a/piv/piv.go +++ b/piv/piv.go @@ -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