fix gofmt complain
This commit is contained in:
parent
179e793f1a
commit
290d5ee979
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ func (k *YubiKey) CreateSigner(req *apiv1.CreateSignerRequest) (crypto.Signer, e
|
||||||
|
|
||||||
priv, err := k.yk.PrivateKey(slot, cert.PublicKey, piv.KeyAuth{
|
priv, err := k.yk.PrivateKey(slot, cert.PublicKey, piv.KeyAuth{
|
||||||
PIN: k.pin,
|
PIN: k.pin,
|
||||||
PINPolicy: piv.PINPolicyAlways,
|
PINPolicy: piv.PINPolicyAlways,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "error retrieving private key")
|
return nil, errors.Wrap(err, "error retrieving private key")
|
||||||
|
|
Loading…
Reference in a new issue