From 290d5ee97988501fbc8406d66e2404dab81b850c Mon Sep 17 00:00:00 2001 From: Pierre Laden Date: Wed, 16 Sep 2020 22:15:42 +0200 Subject: [PATCH] fix gofmt complain --- kms/yubikey/yubikey.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kms/yubikey/yubikey.go b/kms/yubikey/yubikey.go index acb94b81..732921c8 100644 --- a/kms/yubikey/yubikey.go +++ b/kms/yubikey/yubikey.go @@ -142,7 +142,7 @@ func (k *YubiKey) CreateSigner(req *apiv1.CreateSignerRequest) (crypto.Signer, e priv, err := k.yk.PrivateKey(slot, cert.PublicKey, piv.KeyAuth{ PIN: k.pin, - PINPolicy: piv.PINPolicyAlways, + PINPolicy: piv.PINPolicyAlways, }) if err != nil { return nil, errors.Wrap(err, "error retrieving private key")